CRAN Package Check Results for Package devtools

Last updated on 2025-01-17 17:48:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.4.5 9.09 83.41 92.50 ERROR
r-devel-linux-x86_64-debian-gcc 2.4.5 5.67 71.24 76.91 NOTE
r-devel-linux-x86_64-fedora-clang 2.4.5 186.23 OK
r-devel-linux-x86_64-fedora-gcc 2.4.5 188.39 OK
r-devel-windows-x86_64 2.4.5 11.00 132.00 143.00 NOTE
r-patched-linux-x86_64 2.4.5 12.75 90.93 103.68 OK
r-release-linux-x86_64 2.4.5 7.83 90.98 98.81 OK
r-release-macos-arm64 2.4.5 90.00 OK
r-release-macos-x86_64 2.4.5 131.00 OK
r-release-windows-x86_64 2.4.5 13.00 130.00 143.00 OK
r-oldrel-macos-arm64 2.4.5 73.00 OK
r-oldrel-macos-x86_64 2.4.5 120.00 OK
r-oldrel-windows-x86_64 2.4.5 13.00 144.00 157.00 OK

Check Details

Version: 2.4.5
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: check.Rd: compiler_flags remote-reexports.Rd: ellipsis 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

Version: 2.4.5
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [15s/20s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(devtools) Loading required package: usethis Attaching package: 'devtools' The following object is masked from 'package:testthat': test_file > > test_check("devtools") == Documenting ================================================================= * installing *source* package ‘pkgbuild’ ... ** this is package ‘pkgbuild’ version ‘1.4.6’ ** package ‘pkgbuild’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (pkgbuild) [ FAIL 13 | WARN 22 | SKIP 19 | PASS 28 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-active.R:2:3', 'test-active.R:6:3', 'test-build-readme.R:2:3', 'test-build-readme.R:13:3', 'test-build-readme.R:32:3', 'test-build-site.R:3:3', 'test-check-win.R:6:3', 'test-install.R:116:3', 'test-package.R:2:3', 'test-package.R:11:3', 'test-run-source.R:2:3', 'test-run-source.R:17:3', 'test-run-source.R:33:3', 'test-run-source.R:37:3', 'test-run-source.R:53:3', 'test-run-source.R:69:3', 'test-sitrep.R:2:3', 'test-vignettes.R:17:3' • interactive() is not TRUE (1): 'test-check-doc.R:6:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-reload.R:7:3'): reload works ─────────────────────────────────── Error in `install(pkg, quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools::install(pkg, quiet = TRUE) at test-reload.R:7:3 ── Error ('test-run-examples.R:3:3'): Can run an example ─────────────────────── Error in `pkgload::load_all(path = path, reset = reset, recompile = recompile, export_all = export_all, helpers = helpers, quiet = quiet, ...)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. ├─testthat::expect_output(...) at test-run-examples.R:3:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::suppressMessages(run_examples(pkg = pkg, document = FALSE)) 11. │ └─base::withCallingHandlers(...) 12. └─devtools::run_examples(pkg = pkg, document = FALSE) 13. └─devtools::load_all(pkg$path, reset = TRUE, export_all = FALSE) 14. └─pkgload::load_all(...) ── Error ('test-test.R:18:3'): Package can be tested with testthat not on search path ── Error in `pkgload::load_all(test_dir, export_all = args[["export_all"]], helpers = args[["helpers"]], quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools (local) test_test(pkg1) at test-test.R:18:3 2. ├─base::suppressMessages(test(..., reporter = "silent")) at test-test.R:2:3 3. │ └─base::withCallingHandlers(...) 4. └─devtools::test(..., reporter = "silent") 5. └─testthat::test_local(...) 6. └─testthat::test_dir(...) 7. └─testthat:::test_files(...) 8. └─testthat:::test_files_serial(...) 9. └─testthat:::test_files_setup_env(...) 10. └─pkgload::load_all(...) ── Error ('test-test.R:25:3'): Filtering works with devtools::test ───────────── Error in `pkgload::load_all(test_dir, export_all = args[["export_all"]], helpers = args[["helpers"]], quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools (local) test_test(test_path("testTest"), filter = "dummy") at test-test.R:25:3 2. ├─base::suppressMessages(test(..., reporter = "silent")) at test-test.R:2:3 3. │ └─base::withCallingHandlers(...) 4. └─devtools::test(..., reporter = "silent") 5. └─testthat::test_local(...) 6. └─testthat::test_dir(...) 7. └─testthat:::test_files(...) 8. └─testthat:::test_files_serial(...) 9. └─testthat:::test_files_setup_env(...) 10. └─pkgload::load_all(...) ── Error ('test-test.R:30:3'): devtools::test_active_file works ──────────────── Error in `pkgload::load_all(test_dir, export_all = args[["export_all"]], helpers = args[["helpers"]], quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools (local) test_test_active_file(test_path("testTest/tests/testthat/test-dummy.R")) at test-test.R:30:3 2. ├─base::suppressMessages(test_active_file(..., reporter = "silent")) at test-test.R:5:3 3. │ └─base::withCallingHandlers(...) 4. └─devtools::test_active_file(..., reporter = "silent") 5. └─testthat::test_file(...) 6. └─testthat:::test_files(...) 7. └─testthat:::test_files_serial(...) 8. └─testthat:::test_files_setup_env(...) 9. └─pkgload::load_all(...) ── Error ('test-test.R:37:3'): TESTTHAT_PKG environment variable is set ──────── Error in `pkgload::load_all(test_dir, export_all = args[["export_all"]], helpers = args[["helpers"]], quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools (local) test_test(test_path("testTest"), filter = "envvar", stop_on_failure = TRUE) at test-test.R:37:3 2. ├─base::suppressMessages(test(..., reporter = "silent")) at test-test.R:2:3 3. │ └─base::withCallingHandlers(...) 4. └─devtools::test(..., reporter = "silent") 5. └─testthat::test_local(...) 6. └─testthat::test_dir(...) 7. └─testthat:::test_files(...) 8. └─testthat:::test_files_serial(...) 9. └─testthat:::test_files_setup_env(...) 10. └─pkgload::load_all(...) ── Failure ('test-test.R:51:3'): stop_on_failure defaults to FALSE ───────────── `test_test(test_path("testTestWithFailure"))` threw an unexpected error. Message: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-test.R:51:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─devtools (local) test_test(test_path("testTestWithFailure")) 8. ├─base::suppressMessages(test(..., reporter = "silent")) at test-test.R:2:3 9. │ └─base::withCallingHandlers(...) 10. └─devtools::test(..., reporter = "silent") 11. └─testthat::test_local(...) 12. └─testthat::test_dir(...) 13. └─testthat:::test_files(...) 14. └─testthat:::test_files_serial(...) 15. └─testthat:::test_files_setup_env(...) 16. └─pkgload::load_all(...) ── Error ('test-test.R:55:3'): stop_on_failure defaults to FALSE ─────────────── Error in `pkgload::load_all(test_dir, export_all = args[["export_all"]], helpers = args[["helpers"]], quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-test.R:55:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─devtools (local) test_test(test_path("testTestWithFailure"), stop_on_failure = TRUE) 8. ├─base::suppressMessages(test(..., reporter = "silent")) at test-test.R:2:3 9. │ └─base::withCallingHandlers(...) 10. └─devtools::test(..., reporter = "silent") 11. └─testthat::test_local(...) 12. └─testthat::test_dir(...) 13. └─testthat:::test_files(...) 14. └─testthat:::test_files_serial(...) 15. └─testthat:::test_files_setup_env(...) 16. └─pkgload::load_all(...) ── Error ('test-uninstall.R:5:3'): uninstall() unloads and removes from library ── Error in `install(test_path("testHelp"), quiet = TRUE)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. └─devtools::install(test_path("testHelp"), quiet = TRUE) at test-uninstall.R:5:3 ── Error ('test-vignettes.R:2:3'): Sweave vignettes copied into doc ──────────── Error in `eval(code, test_env)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt ── Error ('test-vignettes.R:35:3'): Rmarkdown vignettes copied into doc ──────── Error in `install(pkg, upgrade = "never", reload = FALSE, quick = TRUE, quiet = quiet)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. ├─base::suppressMessages(build_vignettes(pkg, quiet = TRUE)) at test-vignettes.R:35:3 2. │ └─base::withCallingHandlers(...) 3. └─devtools::build_vignettes(pkg, quiet = TRUE) 4. └─devtools:::local_install(pkg, quiet = TRUE) 5. └─devtools::install(...) ── Error ('test-vignettes.R:46:3'): extra files copied and removed ───────────── Error in `install(pkg, upgrade = "never", reload = FALSE, quick = TRUE, quiet = quiet)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. ├─base::suppressMessages(build_vignettes(pkg, quiet = TRUE)) at test-vignettes.R:46:3 2. │ └─base::withCallingHandlers(...) 3. └─devtools::build_vignettes(pkg, quiet = TRUE) 4. └─devtools:::local_install(pkg, quiet = TRUE) 5. └─devtools::install(...) ── Error ('test-vignettes.R:57:3'): .gitignore updated when building vignettes ── Error in `install(pkg, upgrade = "never", reload = FALSE, quick = TRUE, quiet = quiet)`: lazy-load database '/home/hornik/tmp/scratch/RtmpHBjrVU/RLIBS_75b02288870b9/pkgbuild/R/pkgbuild.rdb' is corrupt Backtrace: ▆ 1. ├─base::suppressMessages(build_vignettes(pkg, quiet = TRUE)) at test-vignettes.R:57:3 2. │ └─base::withCallingHandlers(...) 3. └─devtools::build_vignettes(pkg, quiet = TRUE) 4. └─devtools:::local_install(pkg, quiet = TRUE) 5. └─devtools::install(...) [ FAIL 13 | WARN 22 | SKIP 19 | PASS 28 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang