CRAN Package Check Results for Package danstat

Last updated on 2022-04-24 03:52:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 4.62 62.62 67.24 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.30 46.05 49.35 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 80.92 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 69.62 OK
r-patched-linux-x86_64 0.2.0 3.41 58.69 62.10 OK
r-release-linux-x86_64 0.2.0 3.69 56.55 60.24 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-x86_64 0.2.0 10.00 99.00 109.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 10.00 83.00 93.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘danstat-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get_data
    > ### Title: Get data for a particular table and variable selection
    > ### Aliases: get_data
    >
    > ### ** Examples
    >
    > # Get data from table "folk1c" for selected values of variables "ieland" and "køn"
    > # and all time periods available.
    >
    > # The "ieland" variable is filtered for Denmark (id = 5000) and Bulgaria (id = 5128)
    > # and the "køn" variable id filtered for Men (id = 1) and Women (id = 2).
    > # The "tid" variable is unfiltered, i.e. selects all available time periods
    > # See get_table_metadata(table_id = "folk1c", variables_only = TRUE) for variable codes and values.
    >
    > variables <- list(list(code = "ieland", values = c(5100, 5128)),
    + list(code = "køn", values = c(1,2)),
    + list(code = "tid", values = NA))
    >
    > data <- get_data("folk1c", variables)
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: [api.statbank.dk] Resolving timed out after 10000 milliseconds
    Calls: get_data ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc