CRAN Package Check Results for Package swissdd

Last updated on 2021-04-23 06:47:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 9.20 72.92 82.12 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.1 6.27 64.42 70.69 OK
r-devel-linux-x86_64-fedora-clang 1.1.1 109.54 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.1 96.31 ERROR
r-devel-windows-ix86+x86_64 1.1.1 20.00 87.00 107.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.1.1 ERROR
r-patched-linux-x86_64 1.1.1 8.23 81.73 89.96 OK
r-patched-solaris-x86 1.1.1 130.40 ERROR
r-release-linux-x86_64 1.1.1 9.10 81.20 90.30 OK
r-release-macos-x86_64 1.1.1 OK
r-release-windows-ix86+x86_64 1.1.1 16.00 132.00 148.00 OK
r-oldrel-macos-x86_64 1.1.1 OK
r-oldrel-windows-ix86+x86_64 1.1.1 17.00 83.00 100.00 ERROR

Additional issues

M1mac

Check Details

Version: 1.1.1
Check: examples
Result: ERROR
    Running examples in 'swissdd-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: canton_json_to_dfr
    > ### Title: Transform a opendata.swiss cantonal results json into a tibble
    > ### Aliases: canton_json_to_dfr
    >
    > ### ** Examples
    >
    >
    > # Get and transform the json for the most recent vote
    > results <- canton_json_to_dfr()
    Warning in max.default(numeric(0), na.rm = FALSE) :
     no non-missing arguments to max; returning -Inf
    Error in check_votedate(votedate, available_dates) :
     Please select valid 'votedate'.
    Calls: canton_json_to_dfr -> check_votedate
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.1
Check: examples
Result: ERROR
    Running examples in ‘swissdd-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: canton_json_to_dfr
    > ### Title: Transform a opendata.swiss cantonal results json into a tibble
    > ### Aliases: canton_json_to_dfr
    >
    > ### ** Examples
    >
    >
    > # Get and transform the json for the most recent vote
    > results <- canton_json_to_dfr()
    Warning in max.default(numeric(0), na.rm = FALSE) :
     no non-missing arguments to max; returning -Inf
    Error in check_votedate(votedate, available_dates) :
     Please select valid 'votedate'.
    Calls: canton_json_to_dfr -> check_votedate
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-oldrel-windows-ix86+x86_64

Version: 1.1.1
Check: examples
Result: ERROR
    Running examples in ‘swissdd-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: available_votedates
    > ### Title: Get a vector of available vote dates via 'get_nationalvotes' and
    > ### 'get_cantonalvotes"
    > ### Aliases: available_votedates
    >
    > ### ** Examples
    >
    >
    > # Get vector of all available dates
    > federal_votedates <- available_votedates()
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: [opendata.swiss] Connection timed out after 10001 milliseconds
    Calls: available_votedates ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc