R Under development (unstable) (2024-10-01 r87205 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > library(testthat) > library(sars) > > test_check("sars") Now attempting to fit the 20 SAR models: ── multi_sars ────────────────────────────────────────────── multi-model SAR ── → power : ✔ → powerR : ✔ → epm1 : ✔ → epm2 : ✔ → p1 : ✔ → p2 : ✔ → loga : ✔ → koba : ✔ → monod : ✔ → negexpo : ✔ → chapman : ✔ → weibull3 : ✔ → asymp : ✔ → ratio : ✔ → gompertz : ✔ → weibull4 : ✔ → betap : ✔ → logistic : ✔ → heleg : ✔ → linear : ✔ Model fitting completed - all models succesfully fitted. Now undertaking model validation checks. Additional models will be excluded if necessary: 16 remaining models used to construct the multi SAR: Power, PowerR, Extended Power model 2, Persistence function 1, Persistence function 2, Logarithmic, Kobayashi, Monod, Negative exponential, Chapman Richards, Cumulative Weibull 3 par., Rational function, Gompertz, Beta-P cumulative, Logistic(Standard), Heleg(Logistic) ──────────────────────────────────────────────────────────────────────────────── Now attempting to fit the 20 SAR models: ── multi_sars ────────────────────────────────────────────── multi-model SAR ── → power : ✔ → powerR : ✔ → epm1 : ✔ → epm2 : ✔ → p1 : ✔ → p2 : ✔ → loga : ✔ → koba : ✔ → monod : ✔ → negexpo : ✔ → chapman : Warning: could not compute parameters statistics → weibull3 : ✔ → asymp : ✔ → ratio : Warning: could not compute parameters statistics → gompertz : ✔ → weibull4 : Warning: could not compute parameters statistics → betap : Warning: could not compute parameters statistics → logistic : ✔ → heleg : ✔ → linear : ✔ No model validation checks selected 20 remaining models used to construct the multi SAR: Power, PowerR, Extended Power model 1, Extended Power model 2, Persistence function 1, Persistence function 2, Logarithmic, Kobayashi, Monod, Negative exponential, Chapman Richards, Cumulative Weibull 3 par., Asymptotic regression, Rational function, Gompertz, Cumulative Weibull 4 par., Beta-P cumulative, Logistic(Standard), Heleg(Logistic), Linear model ──────────────────────────────────────────────────────────────────────────────── Now attempting to fit the 2 SAR models: ── multi_sars ────────────────────────────────────────────── multi-model SAR ── → linear : ✔ → power : ✔ Now attempting to fit the 3 SAR models: ── multi_sars ────────────────────────────────────────────── multi-model SAR ── → power : ✔ → koba : ✔ → ratio : ✔ [ FAIL 0 | WARN 0 | SKIP 24 | PASS 152 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test_crit_method.R:5:3', 'test_crit_method.R:96:3', 'test_grid_start.R:4:3', 'test_habitat.R:5:3', 'test_habitat.R:19:3', 'test_habitat.R:67:3', 'test_habitat.R:125:3', 'test_indiv_CIs.R:5:3', 'test_logistic.R:5:3', 'test_multi.R:4:3', 'test_multi.R:30:3', 'test_multi.R:45:3', 'test_multi.R:76:3', 'test_multi.R:89:3', 'test_p2.R:4:3', 'test_pred.R:27:3', 'test_shape.R:4:3', 'test_thresholds.R:5:3', 'test_thresholds.R:72:3', 'test_thresholds.R:94:3', 'test_thresholds.R:133:3', 'test_warnings.R:5:3', 'test_weibull3.R:4:3', 'test_weibull3.R:15:3' [ FAIL 0 | WARN 0 | SKIP 24 | PASS 152 ] > data("galap") > > > #devtools::test("sars") > #https://github.com/r-lib/testthat/issues/257 > > #don't forget to manually un-hash and run some of the GDM, threshold and > #test_crit_method (just the last one for beta p) tests. GDM as issues with > #having BAT as a dependency, and threshold and betap due > #to speed and running time on Circle CI. Also one sar_habitat test hashed > #out due to needing external dataset. > > #also, if making lots of commits in short amount of time, hash out > #code coverage from the circle CI yml file to avoid it do every time. > > proc.time() user system elapsed 58.98 1.15 60.21