CRAN Package Check Results for Package europepmc

Last updated on 2018-11-21 13:48:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3 2.76 50.86 53.62 OK
r-devel-linux-x86_64-debian-gcc 0.3 2.73 40.47 43.20 OK
r-devel-linux-x86_64-fedora-clang 0.3 62.55 OK
r-devel-linux-x86_64-fedora-gcc 0.3 59.65 OK
r-devel-windows-ix86+x86_64 0.3 12.00 133.00 145.00 OK
r-patched-linux-x86_64 0.3 2.82 48.00 50.82 OK
r-patched-solaris-x86 0.3 87.60 OK
r-release-linux-x86_64 0.3 3.25 47.72 50.97 ERROR
r-release-windows-ix86+x86_64 0.3 6.00 124.00 130.00 OK
r-release-osx-x86_64 0.3 OK
r-oldrel-windows-ix86+x86_64 0.3 6.00 148.00 154.00 OK
r-oldrel-osx-x86_64 0.3 OK

Check Details

Version: 0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(europepmc)
     >
     > test_check("europepmc")
     ── 1. Error: epmc_hits_trend synonym search works correctly (@test_epmc_hits_tre
     Not Found (HTTP 404).
     1: epmc_hits_trend("malaria", period = 2012:2016, synonym = FALSE) at testthat/test_epmc_hits_trend.R:39
     2: lapply(years, epmc_hits_trend_by_year, query = query, synonym = synonym, data_src = data_src)
     3: FUN(X[[i]], ...)
     4: europepmc::epmc_profile(queryforall, synonym)
     5: rebi_GET(path = paste0(rest_path(), "/profile"), query = args)
     6: httr::stop_for_status(req)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 0 SKIPPED: 17 FAILED: 1
     1. Error: epmc_hits_trend synonym search works correctly (@test_epmc_hits_trend.R#39)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64