Last updated on 2025-12-07 09:50:10 CET.
| Package | ERROR | OK |
|---|---|---|
| notionapi | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(notionapi)
>
> test_check("notionapi")
Error in `source_dir()`:
! Failed to evaluate './helper-vcr.R'.
Caused by error in `library()`:
! there is no package called 'vcr'
Backtrace:
▆
1. ├─testthat::test_check("notionapi")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_helpers(".", env)
7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(...)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─base::library("vcr") at ./helper-vcr.R:1:1
15. │ └─base::stop(packageNotFoundError(package, lib.loc, sys.call()))
16. └─testthat (local) `<fn>`(`<S3: packageNotFoundError>`)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc