R Under development (unstable) (2025-04-29 r88182 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(morseDR) Attaching package: 'morseDR' The following object is masked from 'package:stats': predict > > test_check("morseDR") Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting Correct formatting [ FAIL 14 | WARN 3 | SKIP 19 | PASS 82 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-03_fitTT.R:3:5', 'test-03_fitTT.R:22:5', 'test-03_fitTT.R:41:5', 'test-03_fitTT.R:66:5', 'test-04_ppc.R:4:5', 'test-04_ppc.R:19:5', 'test-04_ppc.R:34:5', 'test-05_predict.R:3:5', 'test-05_predict.R:12:5', 'test-05_predict.R:25:5', 'test-07_xcx.R:4:5', 'test-07_xcx.R:26:5', 'test-07_xcx.R:40:5', 'test-08_prior_posterior.R:4:5', 'test-08_prior_posterior.R:33:5', 'test-09_summary.R:4:5', 'test-09_summary.R:13:5', 'test-09_summary.R:22:5', 'test-10_extract.R:4:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-01_DataCheck.R:12:5'): colnames ──────────────────────────────── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:23:5'): time is (1) numeric, (2) unique, (3) minimal value is 0.s ── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:34:5'): concentrations are numeric ────────────── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:41:5'): Nsurv contains integer and positive >=0 ── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:50:5'): Nsurv never decreases with time and > 0 at 0 ── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:61:5'): each (replicate, time) pair is unique ─── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:71:5'): Nrepro is missing ─────────────────────── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:80:5'): 'Nrepro' must contain only positive (>=0) integer values. ── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-01_DataCheck.R:89:5'): each time T for which Nsurv = 0, Nrepro = 0 at time T+1. ── Error in `eval(code, test_env)`: object 'Cd2' not found ── Error ('test-02_doseResponse.R:2:5'): BinaryData ──────────────────────────── Error in `gzfile(file, "rb")`: cannot open the connection Backtrace: ▆ 1. └─base::readRDS(test_path("fixtures", "cadmium2.rds")) at test-02_doseResponse.R:2:5 2. └─base::gzfile(file, "rb") ── Error ('test-02_doseResponse.R:23:5'): CountData ──────────────────────────── Error in `gzfile(file, "rb")`: cannot open the connection Backtrace: ▆ 1. └─base::readRDS(test_path("fixtures", "cadmium2.rds")) at test-02_doseResponse.R:23:5 2. └─base::gzfile(file, "rb") ── Error ('test-02_doseResponse.R:44:5'): ContinuousData ─────────────────────── Error in `gzfile(file, "rb")`: cannot open the connection Backtrace: ▆ 1. └─base::readRDS(test_path("fixtures", "cadmium_daphnia.rds")) at test-02_doseResponse.R:44:5 2. └─base::gzfile(file, "rb") ── Error ('test-06_utils.R:10:5'): select TT ─────────────────────────────────── Error in `eval(code, test_env)`: object 'Cd2' not found Backtrace: ▆ 1. └─morseDR::modelData(Cd2, type = "binary") at test-06_utils.R:10:5 ── Error ('test-06_utils.R:17:5'): add statistical test ──────────────────────── Error in `eval(code, test_env)`: object 'Cd2' not found Backtrace: ▆ 1. └─morseDR::modelData(Cd2, type = "binary") at test-06_utils.R:17:5 [ FAIL 14 | WARN 3 | SKIP 19 | PASS 82 ] Error: Test failures Execution halted