Last updated on 2024-10-14 06:48:39 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.0 | 2.37 | 44.76 | 47.13 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.2.1 | 1.66 | 26.01 | 27.67 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.2.1 | 48.41 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.1 | 76.18 | OK | |||
r-devel-windows-x86_64 | 0.2.1 | 4.00 | 52.00 | 56.00 | OK | |
r-patched-linux-x86_64 | 0.2.1 | 2.30 | 45.35 | 47.65 | OK | |
r-release-linux-x86_64 | 0.2.1 | 2.02 | 45.19 | 47.21 | OK | |
r-release-macos-arm64 | 0.2.1 | 31.00 | OK | |||
r-release-macos-x86_64 | 0.2.1 | 47.00 | OK | |||
r-release-windows-x86_64 | 0.2.1 | 4.00 | 51.00 | 55.00 | OK | |
r-oldrel-macos-arm64 | 0.2.1 | 34.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2.1 | 52.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.1 | 5.00 | 53.00 | 58.00 | OK |
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(pakret)
>
> test_check("pakret")
[ FAIL 12 | WARN 0 | SKIP 4 | PASS 12 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-onload.R:3:3', 'test-pkrt-list.R:35:3',
'test-pkrt-set.R:33:3', 'test-pkrt.R:94:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-pkrt-list.R:2:3'): pkrt_list() makes a list of citations ───────
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt-list.R:2:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt-list.R:11:3'): citation lists can be turned into data frames ──
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt-list.R:11:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt-list.R:27:3'): pkrt_list() removes duplicate and base packages ──
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt-list.R:27:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt-set.R:2:3'): custom templates work ────────────────────────
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt-set.R:2:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt-set.R:8:3'): `NULL` resets settings to their default value ──
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt-set.R:8:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt-set.R:16:3'): writing bib entries in the desired file works ──
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
── Error ('test-pkrt.R:3:3'): pkrt() cites and references packages ─────────────
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
── Error ('test-pkrt.R:11:3'): bib entries are properly appended to bib files ──
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
── Error ('test-pkrt.R:38:3'): multi-bib entries are properly handled ──────────
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
── Error ('test-pkrt.R:49:3'): citing the same package again doesn't add a new bib entry ──
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
── Error ('test-pkrt.R:56:3'): citing no packages doesn't modify bib files ─────
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'usethis'
Backtrace:
▆
1. ├─pakret:::load_foo() at test-pkrt.R:56:3
2. │ └─pakret:::local_pkg(...)
3. │ └─pakret:::create_package(pkg_path, Package, ...)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-pkrt.R:85:3'): pakret handles references that have a premade key (#18) ──
Error in `"loadNamespace(x)"`: there is no package called 'usethis'
Backtrace:
▆
1. └─rmarkdown::render(..., output_format = "md_document", quiet = TRUE)
2. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
3. └─knitr:::process_file(text, output)
4. ├─xfun:::handle_error(...)
5. ├─base::withCallingHandlers(...)
6. └─knitr:::process_group(group)
7. └─knitr:::call_block(x)
8. └─knitr:::block_exec(params)
9. └─knitr:::eng_r(options)
10. ├─knitr:::in_input_dir(...)
11. │ └─knitr:::in_dir(input_dir(), expr)
12. └─knitr (local) evaluate(...)
13. └─evaluate::evaluate(...)
14. └─base::withRestarts(...)
15. └─base (local) withRestartList(expr, restarts)
16. └─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
17. └─base (local) docall(restart$handler, restartArgs)
18. ├─base::do.call("fun", lapply(args, enquote))
19. └─evaluate (local) fun(base::quote(`<pckgNtFE>`))
[ FAIL 12 | WARN 0 | SKIP 4 | PASS 12 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc