CRAN Package Check Results for Package tradestatistics

Last updated on 2020-06-01 13:49:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 4.29 98.11 102.40 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 3.06 74.92 77.98 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 129.14 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0 115.18 OK
r-devel-windows-ix86+x86_64 1.0 11.00 145.00 156.00 OK
r-patched-linux-x86_64 1.0 3.75 100.93 104.68 OK
r-patched-solaris-x86 1.0 145.20 ERROR
r-release-linux-x86_64 1.0 4.07 102.17 106.24 OK
r-release-osx-x86_64 1.0 OK
r-release-windows-ix86+x86_64 1.0 10.00 140.00 150.00 OK
r-oldrel-osx-x86_64 1.0 WARN
r-oldrel-windows-ix86+x86_64 1.0 8.00 110.00 118.00 OK

Check Details

Version: 1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [62s/60s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     -- 1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots
     result would be too long a vector
     Backtrace:
     1. tradestatistics::ots_create_tidy_data(...)
     2. tradestatistics::ots_cache(...)
     3. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     4. years %in% min(year_range):max(year_range)
    
     -- 2. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1776, reporters = "usa", partners = "all")` threw an error with unexpected message.
     Expected match: "Provided that the table you requested contains a 'year' field"
     Actual message: "result would be too long a vector"
     Backtrace:
     1. testthat::expect_error(...)
     6. tradestatistics::ots_create_tidy_data(...)
     7. tradestatistics::ots_cache(...)
     8. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     9. years %in% min(year_range):max(year_range)
    
     == testthat results ===========================================================
     [ OK: 87 | SKIPPED: 0 | WARNINGS: 20 | FAILED: 2 ]
     1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots_create_tidy_data.R#171)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid y-r-p input (@test-ots_create_tidy_data.R#200)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'basic-usage.Rmd' using rmarkdown
    
    Attaching package: 'DT'
    
    The following object is masked _by_ '.GlobalEnv':
    
     datatable
    
    Quitting from lines 158-166 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    result would be too long a vector
    --- failed re-building 'basic-usage.Rmd'
    
    SUMMARY: processing the following file failed:
     'basic-usage.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [48s/66s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     ── 1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots
     result would be too long a vector
     Backtrace:
     1. tradestatistics::ots_create_tidy_data(...)
     2. tradestatistics::ots_cache(...)
     3. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     4. years %in% min(year_range):max(year_range)
    
     ── 2. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1776, reporters = "usa", partners = "all")` threw an error with unexpected message.
     Expected match: "Provided that the table you requested contains a 'year' field"
     Actual message: "result would be too long a vector"
     Backtrace:
     1. testthat::expect_error(...)
     6. tradestatistics::ots_create_tidy_data(...)
     7. tradestatistics::ots_cache(...)
     8. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     9. years %in% min(year_range):max(year_range)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 87 | SKIPPED: 0 | WARNINGS: 20 | FAILED: 2 ]
     1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots_create_tidy_data.R#171)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid y-r-p input (@test-ots_create_tidy_data.R#200)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [71s/150s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     ── 1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots
     result would be too long a vector
     Backtrace:
     1. tradestatistics::ots_create_tidy_data(...)
     2. tradestatistics::ots_cache(...)
     3. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     4. years %in% min(year_range):max(year_range)
    
     ── 2. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1776, reporters = "usa", partners = "all")` threw an error with unexpected message.
     Expected match: "Provided that the table you requested contains a 'year' field"
     Actual message: "result would be too long a vector"
     Backtrace:
     1. testthat::expect_error(...)
     6. tradestatistics::ots_create_tidy_data(...)
     7. tradestatistics::ots_cache(...)
     8. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     9. years %in% min(year_range):max(year_range)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 87 | SKIPPED: 0 | WARNINGS: 20 | FAILED: 2 ]
     1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots_create_tidy_data.R#171)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid y-r-p input (@test-ots_create_tidy_data.R#200)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘basic-usage.Rmd’ using rmarkdown
    
    Attaching package: 'DT'
    
    The following object is masked _by_ '.GlobalEnv':
    
     datatable
    
    Quitting from lines 158-166 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    result would be too long a vector
    --- failed re-building ‘basic-usage.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘basic-usage.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [71s/80s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     ── 1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots
     result would be too long a vector
     Backtrace:
     1. tradestatistics::ots_create_tidy_data(...)
     2. tradestatistics::ots_cache(...)
     3. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     4. years %in% min(year_range):max(year_range)
    
     ── 2. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1776, reporters = "usa", partners = "all")` threw an error with unexpected message.
     Expected match: "Provided that the table you requested contains a 'year' field"
     Actual message: "result would be too long a vector"
     Backtrace:
     1. testthat::expect_error(...)
     6. tradestatistics::ots_create_tidy_data(...)
     7. tradestatistics::ots_cache(...)
     8. tradestatistics:::ots_create_tidy_data_unmemoised(...)
     9. years %in% min(year_range):max(year_range)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 87 | SKIPPED: 0 | WARNINGS: 20 | FAILED: 2 ]
     1. Error: ots_create_tidy_data works with mixed country ISO/string (@test-ots_create_tidy_data.R#171)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid y-r-p input (@test-ots_create_tidy_data.R#200)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘basic-usage.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'DT'
    
    The following object is masked _by_ '.GlobalEnv':
    
     datatable
    
    Quitting from lines 49-50 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    --- failed re-building ‘basic-usage.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘basic-usage.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘basic-usage.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'DT'
    
    The following object is masked _by_ '.GlobalEnv':
    
     datatable
    
    PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
    Quitting from lines 49-50 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘basic-usage.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘basic-usage.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-osx-x86_64