CRAN Package Check Results for Package rAltmetric

Last updated on 2022-06-02 05:53:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.0 1.84 37.24 39.08 NOTE
r-devel-linux-x86_64-debian-gcc 0.7.0 1.21 27.73 28.94 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.0 47.34 NOTE
r-devel-linux-x86_64-fedora-gcc 0.7.0 35.92 NOTE
r-devel-windows-x86_64 0.7.0 19.00 55.00 74.00 NOTE
r-patched-linux-x86_64 0.7.0 1.96 34.58 36.54 ERROR
r-release-linux-x86_64 0.7.0 2.24 35.29 37.53 NOTE
r-release-macos-arm64 0.7.0 26.00 NOTE
r-release-macos-x86_64 0.7.0 30.00 NOTE
r-release-windows-x86_64 0.7.0 15.00 56.00 71.00 NOTE
r-oldrel-macos-arm64 0.7.0 24.00 NOTE
r-oldrel-macos-x86_64 0.7.0 31.00 NOTE
r-oldrel-windows-ix86+x86_64 0.7.0 5.00 45.00 50.00 ERROR

Additional issues

noLD

Check Details

Version: 0.7.0
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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-ix86+x86_64

Version: 0.7.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rAltmetric)
     >
     > test_check("rAltmetric")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (tests.R:4:3): str_length is number of characters ─────────────────────
     Error: lexical error: invalid char in json text.
     The API key you supplied was no
     (right here) ------^
    
     Backtrace:
     ▆
     1. └─rAltmetric::altmetrics(doi = "10.1038/480426a") at tests.R:4:2
     2. └─jsonlite::fromJSON(httr::content(request, as = "text"), flatten = TRUE)
     3. └─jsonlite:::parse_and_simplify(...)
     4. └─jsonlite:::parseJSON(txt, bigint_as_char)
     5. └─jsonlite:::parse_string(txt, bigint_as_char)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.0
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘intro-to-altmetric.Rmd’ using rmarkdown
    Quitting from lines 24-40 (intro-to-altmetric.Rmd)
    Error: processing vignette ‘intro-to-altmetric.Rmd’ failed with diagnostics:
    lexical error: invalid char in json text.
     The API key you supplied was no
     (right here) ------^
    
    --- failed re-building ‘intro-to-altmetric.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘intro-to-altmetric.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.7.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rAltmetric)
     >
     > test_check("rAltmetric")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (tests.R:4:3): str_length is number of characters ─────────────────────
     Error: lexical error: invalid char in json text.
     The API key you supplied was no
     (right here) ------^
    
     Backtrace:
     ▆
     1. └─rAltmetric::altmetrics(doi = "10.1038/480426a") at tests.R:4:2
     2. └─jsonlite::fromJSON(httr::content(request, as = "text"), flatten = TRUE)
     3. └─jsonlite:::parse_and_simplify(...)
     4. └─jsonlite:::parseJSON(txt, bigint_as_char)
     5. └─jsonlite:::parse_string(txt, bigint_as_char)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.7.0
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rAltmetric)
     >
     > test_check("rAltmetric")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
    
     == Failed tests ================================================================
     -- Error (tests.R:4:3): str_length is number of characters ---------------------
     Error: lexical error: invalid char in json text.
     The API key you supplied was no
     (right here) ------^
    
     Backtrace:
     x
     1. \-rAltmetric::altmetrics(doi = "10.1038/480426a") at tests.R:4:2
     2. \-jsonlite::fromJSON(httr::content(request, as = "text"), flatten = TRUE)
     3. \-jsonlite:::parse_and_simplify(...)
     4. \-jsonlite:::parseJSON(txt, bigint_as_char)
     5. \-jsonlite:::parse_string(txt, bigint_as_char)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.7.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'intro-to-altmetric.Rmd' using rmarkdown
    Quitting from lines 24-40 (intro-to-altmetric.Rmd)
    Error: processing vignette 'intro-to-altmetric.Rmd' failed with diagnostics:
    lexical error: invalid char in json text.
     The API key you supplied was no
     (right here) ------^
    
    --- failed re-building 'intro-to-altmetric.Rmd'
    
    SUMMARY: processing the following file failed:
     'intro-to-altmetric.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64