CRAN Package Check Results for Package medrxivr

Last updated on 2021-03-01 23:49:00 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.5 OK
r-devel-linux-x86_64-debian-gcc 0.0.5 3.54 70.33 73.87 OK
r-devel-linux-x86_64-fedora-clang 0.0.5 135.38 NOTE
r-devel-linux-x86_64-fedora-gcc 0.0.5 109.93 NOTE
r-devel-windows-ix86+x86_64 0.0.4 9.00 130.00 139.00 ERROR
r-patched-linux-x86_64 0.0.5 4.43 83.57 88.00 OK
r-patched-solaris-x86 0.0.5 162.70 NOTE
r-release-linux-x86_64 0.0.5 4.05 83.94 87.99 OK
r-release-macos-x86_64 0.0.5 NOTE
r-release-windows-ix86+x86_64 0.0.4 11.00 271.00 282.00 OK
r-oldrel-macos-x86_64 0.0.5 NOTE
r-oldrel-windows-ix86+x86_64 0.0.4 8.00 174.00 182.00 OK

Check Details

Version: 0.0.5
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘vroom’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.0.4
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [82s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(medrxivr)
     >
     > test_check("medrxivr")
     == Skipped tests ===============================================================
     * API connection refused (3)
     * On CRAN (6)
    
     == Warnings ====================================================================
     -- Warning (test-export.R:5:1): (code run outside of `test_that()`) ------------
     One or more parsing issues, see `problems()` for details
     Backtrace:
     1. medrxivr::mx_search(...) test-export.R:5:0
     2. medrxivr::mx_snapshot()
     3. base::paste0("https://www.medrxiv.org", mx_data$link)
     -- Warning (test-export.R:5:1): (code run outside of `test_that()`) ------------
     NAs introduced by coercion
     Backtrace:
     1. medrxivr::mx_search(...) test-export.R:5:0
     -- Warning (test-search.R:7:1): (code run outside of `test_that()`) ------------
     One or more parsing issues, see `problems()` for details
     Backtrace:
     1. medrxivr::mx_snapshot("6c4056d2cccd6031d92ee4269b1785c6ec4d555b") test-search.R:7:0
     2. base::paste0("https://www.medrxiv.org", mx_data$link)
    
     == Failed tests ================================================================
     -- Error (test-api.R:44:3): Check number of columns in output ------------------
     Error: API connection refused. As this is usually due to current user load, please try again in a little while, or use the maintained static daily snapshot (available for medRxiv only)
     Backtrace:
     x
     1. +-testthat::expect_equal(...) test-api.R:44:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. +-base::ncol(mx_api_doi("10.1101/2020.02.25.20021568"))
     5. \-medrxivr::mx_api_doi("10.1101/2020.02.25.20021568")
     6. \-medrxivr:::api_to_df(api_link(server, doi))
    
     [ FAIL 1 | WARN 3 | SKIP 9 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-ix86+x86_64