Last updated on 2025-01-30 16:48:44 CET.
Package | ERROR | OK |
---|---|---|
finna | 1 | 10 |
Current CRAN status: ERROR: 1, OK: 10
Version: 0.1.1
Check: R code for possible problems
Result: NOTE
search_finna : <anonymous>: no visible global function definition for
'%||%'
search_finna : <anonymous> : <anonymous>: no visible global function
definition for '%||%'
search_publisher : <anonymous>: no visible global function definition
for '%||%'
Undefined global functions or variables:
%||%
Flavor: r-oldrel-windows-x86_64
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in 'finna-Ex.R' failed
The error most likely occurred in:
> ### Name: analyze_metadata
> ### Title: Analyze Refined Finna Metadata
> ### Aliases: analyze_metadata
>
> ### ** Examples
>
> library(finna)
> sibelius_data <- search_finna("sibelius")
Warning in search_finna("sibelius") :
Default limit of 100 records is being used. Specify 'limit' argument for more records.
Error in record$id %||% NA : could not find function "%||%"
Calls: search_finna -> lapply -> FUN
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [8s]
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(finna)
>
> test_check("finna")
Total results found: 2062419
Data fetching completed in 1.82 seconds.
Total results found: 3
Data fetching completed in 0.24 seconds.
Total results found: 2062419
Data fetching completed in 0.49 seconds.
No encoding supplied: defaulting to UTF-8.
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 61 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-search_publisher.R:3:3'): search_publisher performs a basic search correctly ──
Error in `record$id %||% NA`: could not find function "%||%"
Backtrace:
▆
1. ├─base::suppressWarnings(search_publisher("sibelius", limit = 10)) at test-search_publisher.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─finna::search_publisher("sibelius", limit = 10)
4. └─base::lapply(...)
5. └─finna (local) FUN(X[[i]], ...)
── Error ('test_search_finna.R:3:3'): search_finna performs a basic search correctly ──
Error in `record$id %||% NA`: could not find function "%||%"
Backtrace:
▆
1. ├─base::suppressWarnings(search_finna("sibelius", type = "Author")) at test_search_finna.R:3:3
2. │ └─base::withCallingHandlers(...)
3. └─finna::search_finna("sibelius", type = "Author")
4. └─base::lapply(...)
5. └─finna (local) FUN(X[[i]], ...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 61 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'vignette.Rmd' using rmarkdown
Quitting from lines 23-26 [unnamed-chunk-1] (vignette.Rmd)
Error: processing vignette 'vignette.Rmd' failed with diagnostics:
could not find function "%||%"
--- failed re-building 'vignette.Rmd'
SUMMARY: processing the following file failed:
'vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.