CRAN Package Check Results for Package tradestatistics

Last updated on 2019-09-19 16:48:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 4.21 47.02 51.23 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.4 3.81 37.75 41.56 OK
r-devel-linux-x86_64-fedora-clang 0.2.5 59.35 OK
r-devel-linux-x86_64-fedora-gcc 0.2.5 65.61 OK
r-devel-windows-ix86+x86_64 0.2.4 17.00 92.00 109.00 ERROR
r-patched-linux-x86_64 0.2.4 3.42 45.88 49.30 OK
r-patched-solaris-x86 0.2.5 111.10 OK
r-release-linux-x86_64 0.2.4 4.11 46.21 50.32 OK
r-release-windows-ix86+x86_64 0.2.3 14.00 124.00 138.00 ERROR
r-release-osx-x86_64 0.2.4 OK
r-oldrel-windows-ix86+x86_64 0.2.3 6.00 73.00 79.00 WARN
r-oldrel-osx-x86_64 0.2.4 OK

Check Details

Version: 0.2.3
Check: tests
Result: ERROR
     Running 'testthat.R' [9s/10s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     -- 1. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1965, reporters = "abc", partners = "cde")` threw an error with unexpected message.
     Expected match: "no valid ISO code"
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     -- 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: "years exposed in api.tradestatistics.io/year_range."
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     == testthat results ===========================================================
     [ OK: 40 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#47)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#53)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'basic-usage.Rmd' using rmarkdown
    Quitting from lines 96-100 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    lexical error: invalid char in json text.
     <html> <head><title>502 Bad Ga
     (right here) ------^
    
    --- failed re-building 'basic-usage.Rmd'
    
    --- re-building 'creating-datasets.Rmd' using rmarkdown
    --- finished re-building 'creating-datasets.Rmd'
    
    SUMMARY: processing the following file failed:
     'basic-usage.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.4
Check: tests
Result: ERROR
     Running 'testthat.R' [14s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     -- 1. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1962, reporters = "abc", partners = "cde")` threw an error with unexpected message.
     Expected match: "no valid ISO code"
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     -- 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: "years exposed in api.tradestatistics.io/year_range."
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     == testthat results ===========================================================
     [ OK: 40 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#47)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#53)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2.4
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'basic-usage.Rmd' using rmarkdown
    Quitting from lines 96-100 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    lexical error: invalid char in json text.
     <html> <head><title>502 Bad Ga
     (right here) ------^
    
    --- failed re-building 'basic-usage.Rmd'
    
    --- re-building 'creating-datasets.Rmd' using rmarkdown
    --- finished re-building 'creating-datasets.Rmd'
    
    SUMMARY: processing the following file failed:
     'basic-usage.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2.3
Check: tests
Result: ERROR
     Running 'testthat.R' [11s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tradestatistics)
     >
     > test_check("tradestatistics")
     -- 1. Failure: ots_create_tidy_data connects to the API and returns an error aft
     `ots_create_tidy_data(years = 1965, reporters = "abc", partners = "cde")` threw an error with unexpected message.
     Expected match: "no valid ISO code"
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     -- 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: "years exposed in api.tradestatistics.io/year_range."
     Actual message: "lexical error: invalid char in json text.\n <html> <head><title>502 Bad Ga\n (right here) ------^\n"
    
     == testthat results ===========================================================
     [ OK: 40 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#47)
     2. Failure: ots_create_tidy_data connects to the API and returns an error after invalid
     input (@test-ots_create_tidy_data.R#53)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'basic-usage.Rmd' using rmarkdown
    Quitting from lines 96-100 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    lexical error: invalid char in json text.
     <html> <head><title>502 Bad Ga
     (right here) ------^
    
    --- failed re-building 'basic-usage.Rmd'
    
    --- re-building 'creating-datasets.Rmd' using rmarkdown
    --- finished re-building 'creating-datasets.Rmd'
    
    SUMMARY: processing the following file failed:
     'basic-usage.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.3
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 149-150 (basic-usage.Rmd)
    Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
    max_attempts > 0 is not TRUE
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64