CRAN Package Check Results for Package rAltmetric

Last updated on 2021-08-02 13:55:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.0 2.10 26.28 28.38 NOTE
r-devel-linux-x86_64-debian-gcc 0.7.0 1.60 20.80 22.40 NOTE
r-devel-linux-x86_64-fedora-clang 0.7.0 43.72 NOTE
r-devel-linux-x86_64-fedora-gcc 0.7.0 33.86 NOTE
r-devel-windows-x86_64 0.7.0 4.00 44.00 48.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.7.0 NOTE
r-patched-linux-x86_64 0.7.0 NOTE
r-patched-solaris-x86 0.7.0 52.90 NOTE
r-release-linux-x86_64 0.7.0 1.98 25.58 27.56 NOTE
r-release-macos-arm64 0.7.0 NOTE
r-release-macos-x86_64 0.7.0 NOTE
r-release-windows-ix86+x86_64 0.7.0 5.00 46.00 51.00 NOTE
r-oldrel-macos-x86_64 0.7.0 OK
r-oldrel-windows-ix86+x86_64 0.7.0 5.00 44.00 49.00 OK

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-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.7.0
Check: tests
Result: ERROR
     Running 'testthat.R' [1s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rAltmetric)
     >
     > test_check("rAltmetric")
     == Failed tests ================================================================
     -- Error (tests.R:4:3): str_length is number of characters ---------------------
     Error: lexical error: invalid char in json text.
     <!DOCTYPE html><html lang=en><h
     (right here) ------^
    
     Backtrace:
     x
     1. \-rAltmetric::altmetrics(doi = "10.1038/480426a") 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-windows-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.
     <!DOCTYPE html><html lang=en><h
     (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-devel-windows-x86_64