Last updated on 2025-07-18 13:50:12 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
simr | 2 | 6 | 5 |
Current CRAN status: ERROR: 2, NOTE: 6, OK: 5
Version: 1.0.7
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
print.powerSim.Rd: binom.confint
simrOptions.Rd: Anova
tests.Rd: summary.merMod, anova.merMod, Anova
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64
Version: 1.0.7
Check: tests
Result: ERROR
Running ‘test-all.R’ [48s/52s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> if(require(testthat)) {
+
+ test_check("simr")
+ }
Loading required package: testthat
Loading required package: simr
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'simr'
The following object is masked from 'package:lme4':
getData
The following object is masked from 'package:testthat':
compare
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_testLibrary.R:31:5'): tests run ────────────────────────────────
Error in `glmer(formula = z ~ x + (1 | g), data = dd, family = poisson,
REML = FALSE, control = ctrl)`: unused argument (REML = FALSE)
Backtrace:
▆
1. ├─base::suppressWarnings(doTest(fm3, rcompare(~(1 | g), "pb"))) at test_testLibrary.R:31:5
2. │ └─base::withCallingHandlers(...)
3. ├─simr::doTest(fm3, rcompare(~(1 | g), "pb"))
4. └─simr:::doTest.default(fm3, rcompare(~(1 | g), "pb"))
5. └─simr (local) test(object)
6. └─simr (local) test(fit1, fit2)
7. ├─pbkrtest::PBmodcomp(model1, model2, nsim = getSimrOption("pbnsim"))
8. └─pbkrtest:::PBmodcomp.merMod(model1, model2, nsim = getSimrOption("pbnsim"))
9. ├─pbkrtest::PBrefdist(...)
10. └─pbkrtest:::PBrefdist.merMod(...)
11. └─pbkrtest:::do_sampling(largeModel, smallModel, nsim, cl, details)
12. ├─base::unlist(...)
13. └─parallel::mclapply(...)
14. └─base::lapply(X = X, FUN = FUN, ...)
15. └─pbkrtest (local) FUN(X[[i]], ...)
16. └─pbkrtest (local) get_fun(largeModel, smallModel, nsim = nsim.cl)
17. ├─base::unname(...)
18. ├─base::unlist(...)
19. └─base::lapply(...)
20. └─pbkrtest (local) FUN(X[[i]], ...)
21. ├─base::suppressMessages(refit_safe(sm, yyy, ctrl))
22. │ └─base::withCallingHandlers(...)
23. └─pbkrtest (local) refit_safe(sm, yyy, ctrl)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.7
Check: tests
Result: ERROR
Running ‘test-all.R’ [55s/69s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> if(require(testthat)) {
+
+ test_check("simr")
+ }
Loading required package: testthat
Loading required package: simr
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'simr'
The following object is masked from 'package:lme4':
getData
The following object is masked from 'package:testthat':
compare
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_testLibrary.R:31:5'): tests run ────────────────────────────────
Error in `glmer(formula = z ~ x + (1 | g), data = dd, family = poisson,
REML = FALSE, control = ctrl)`: unused argument (REML = FALSE)
Backtrace:
▆
1. ├─base::suppressWarnings(doTest(fm3, rcompare(~(1 | g), "pb"))) at test_testLibrary.R:31:5
2. │ └─base::withCallingHandlers(...)
3. ├─simr::doTest(fm3, rcompare(~(1 | g), "pb"))
4. └─simr:::doTest.default(fm3, rcompare(~(1 | g), "pb"))
5. └─simr (local) test(object)
6. └─simr (local) test(fit1, fit2)
7. ├─pbkrtest::PBmodcomp(model1, model2, nsim = getSimrOption("pbnsim"))
8. └─pbkrtest:::PBmodcomp.merMod(model1, model2, nsim = getSimrOption("pbnsim"))
9. ├─pbkrtest::PBrefdist(...)
10. └─pbkrtest:::PBrefdist.merMod(...)
11. └─pbkrtest:::do_sampling(largeModel, smallModel, nsim, cl, details)
12. ├─base::unlist(...)
13. └─parallel::mclapply(...)
14. └─base::lapply(X = X, FUN = FUN, ...)
15. └─pbkrtest (local) FUN(X[[i]], ...)
16. └─pbkrtest (local) get_fun(largeModel, smallModel, nsim = nsim.cl)
17. ├─base::unname(...)
18. ├─base::unlist(...)
19. └─base::lapply(...)
20. └─pbkrtest (local) FUN(X[[i]], ...)
21. ├─base::suppressMessages(refit_safe(sm, yyy, ctrl))
22. │ └─base::withCallingHandlers(...)
23. └─pbkrtest (local) refit_safe(sm, yyy, ctrl)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 112 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc