CRAN Package Check Results for Package finna

Last updated on 2025-02-08 21:49:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 6.10 60.12 66.22 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 4.17 43.15 47.32 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 104.99 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 109.39 OK
r-devel-windows-x86_64 0.1.1 9.00 122.00 131.00 OK
r-patched-linux-x86_64 0.1.1 6.48 54.14 60.62 OK
r-release-linux-x86_64 0.1.1 5.25 54.28 59.53 OK
r-release-macos-arm64 0.1.1 105.00 OK
r-release-macos-x86_64 0.1.1 135.00 OK
r-release-windows-x86_64 0.1.1 9.00 117.00 126.00 OK
r-oldrel-windows-x86_64 0.1.1 9.00 88.00 97.00 ERROR

Check Details

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.46 seconds. Total results found: 3 Data fetching completed in 0.23 seconds. Total results found: 2062419 Data fetching completed in 0.78 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.
Health stats visible at Monitor.