Last updated on 2024-10-06 07:50:52 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
dbx | 13 | ||
jetpack | 1 | 12 | |
rollbar | 11 | 2 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.5.5
Check: tests
Result: ERROR
Running 'testthat.R' [23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(jetpack)
Attaching package: 'jetpack'
The following object is masked from 'package:stats':
update
The following objects are masked from 'package:base':
load, remove
>
> # for renv reverse dependency check
> # https://github.com/ankane/jetpack/pull/25
> requireNamespace("renv", quietly=TRUE)
>
> test_check("jetpack")
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
All dependencies are satisfied
Run 'jetpack::install()' to install them
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
Run 'jetpack::add(package)' to add packages!
[ FAIL 3 | WARN 3 | SKIP 7 | PASS 15 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• local_path == "" is TRUE (1): 'test-local.R:5:3'
• On CRAN (6): 'test-global.R:5:3', 'test-bioconductor.R:7:3',
'test-github.R:6:3', 'test-migrate.R:8:3', 'test-update-renv.R:7:3',
'test-update.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cli.R:15:5'): it works ─────────────────────────────────────────
Error in `run(cli, "add DBI")`: Command exited with status: 1
Installing 1 packages: DBI
Installing package into 'D:/temp/Rtmp4eXmWj/library1f7347430736/app1f7345e204799-2771-9eb20fe5/windows/R-4.4/x86_64-w64-mingw32'
(as 'lib' is unspecified)
cannot open the connection
Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file 'D:/RCompile/CRANpkg/lib/4.4/renv/repos/bin/windows/contrib/4.4/PACKAGES', probable reason 'No such file or directory'
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-cli.R:5:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.4\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::run(cli, "add DBI") at test-cli.R:15:5
── Error ('test-all.R:10:5'): it works ─────────────────────────────────────────
Error in `read.dcf(file = tmpf)`: cannot open the connection
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-all.R:4:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.4\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::add("DBI") at test-all.R:10:5
5. ├─jetpack:::sandbox(...)
6. │ └─jetpack:::configureRenv(code)
7. │ └─base::eval(code)
8. └─jetpack:::installHelper(desc = desc, show_status = TRUE)
9. └─remotes::install_deps(...)
10. ├─stats::update(...)
11. └─remotes:::update.package_deps(...)
12. └─remotes:::install_packages(...)
13. ├─base::do.call(...)
14. └─remotes (local) `<fn>`(...)
15. ├─remotes:::with_options(...)
16. │ └─base::force(code)
17. ├─remotes:::with_envvar(...)
18. │ └─base::force(code)
19. └─utils (local) i.p(...)
20. └─utils::available.packages(...)
21. └─base::read.dcf(file = tmpf)
── Error ('test-install.R:7:5'): it works ──────────────────────────────────────
Error in `read.dcf(file = tmpf)`: cannot open the connection
Backtrace:
▆
1. ├─jetpack:::setup(...) at test-install.R:4:3
2. │ └─withr::with_dir(app_dir, code) at D:\RCompile\CRANpkg\local\4.4\jetpack.Rcheck\tests\testthat\helper-setup.R:23:3
3. │ └─base::force(code)
4. └─jetpack::add("DBI") at test-install.R:7:5
5. ├─jetpack:::sandbox(...)
6. │ └─jetpack:::configureRenv(code)
7. │ └─base::eval(code)
8. └─jetpack:::installHelper(desc = desc, show_status = TRUE)
9. └─remotes::install_deps(...)
10. ├─stats::update(...)
11. └─remotes:::update.package_deps(...)
12. └─remotes:::install_packages(...)
13. ├─base::do.call(...)
14. └─remotes (local) `<fn>`(...)
15. ├─remotes:::with_options(...)
16. │ └─base::force(code)
17. ├─remotes:::with_envvar(...)
18. │ └─base::force(code)
19. └─utils (local) i.p(...)
20. └─utils::available.packages(...)
21. └─base::read.dcf(file = tmpf)
[ FAIL 3 | WARN 3 | SKIP 7 | PASS 15 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Current CRAN status: NOTE: 11, OK: 2
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64