CRAN Package Check Results for Package getTBinR

Last updated on 2020-10-28 05:48:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 8.04 149.43 157.47 ERROR
r-devel-linux-x86_64-debian-gcc 0.7.1 6.70 120.15 126.85 OK
r-devel-linux-x86_64-fedora-clang 0.7.1 202.64 OK
r-devel-linux-x86_64-fedora-gcc 0.7.1 194.69 OK
r-devel-windows-ix86+x86_64 0.7.1 19.00 208.00 227.00 OK
r-patched-linux-x86_64 0.7.1 OK
r-patched-solaris-x86 0.7.1 264.70 NOTE
r-release-linux-x86_64 0.7.1 8.18 151.82 160.00 OK
r-release-macos-x86_64 0.7.1 OK
r-release-windows-ix86+x86_64 0.7.1 13.00 155.00 168.00 OK
r-oldrel-macos-x86_64 0.7.1 OK
r-oldrel-windows-ix86+x86_64 0.7.1 14.00 214.00 228.00 OK

Check Details

Version: 0.7.1
Check: examples
Result: ERROR
    Running examples in 'getTBinR-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: for_presentation
    > ### Title: Presentation style plots
    > ### Aliases: for_presentation
    >
    > ### ** Examples
    >
    >
    > plot <- plot_tb_burden_summary(
    + countries = "United Kingdom",
    + compare_all_regions = FALSE, compare_to_region = TRUE
    + )
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e1d69b52f': No such file or directory
    Downloading data has failed after 1 tries.
    Attempting data download in 1.2 seconds.
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e2614fa58': No such file or directory
    Downloading data has failed after 2 tries.
    Attempting data download in 1.4 seconds.
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e4c5c7441': No such file or directory
    Downloading data has failed after 3 tries.
    Attempting data download in 1.9 seconds.
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e43981c5d': No such file or directory
    Downloading data has failed after 1 tries.
    Attempting data download in 2.8 seconds.
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e2c1a8de9': No such file or directory
    Downloading data has failed after 2 tries.
    Attempting data download in 1 seconds.
    Warning in file(file, "rt") :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
    Warning in download.file(url, destfile = tmp_loc) :
     cannot open URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates': HTTP status was '500 Internal Server Error'
    Warning in file(file, "rt") :
     cannot open file '/tmp/RtmpCzIk2P/file168e6ac7c469': No such file or directory
    Downloading data has failed after 3 tries.
    Attempting data download in 2.7 seconds.
    Error in get_data(url = url, download_data = download_data, data_trans_fn = trans_burden_data, :
     Data downloading has failed, check your internet connection.
     If this issue is not resolved, contact the package author.
    Calls: plot_tb_burden_summary ... summarise_tb_burden -> prepare_df_plot -> get_tb_burden -> get_data
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.7.1
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/0s]
     Running 'testthat.R' [39s/77s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(getTBinR)
     >
     > test_check("getTBinR")
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     -- 1. Error: presentation adjustments work (@test-for_presentation.R#4) -------
     Data downloading has failed, check your internet connection.
     If this issue is not resolved, contact the package author.
     Backtrace:
     1. getTBinR::plot_tb_burden_summary(...)
     5. getTBinR::summarise_tb_burden(...)
     6. getTBinR::prepare_df_plot(...)
     7. getTBinR::get_tb_burden(...)
     8. getTBinR::get_data(...)
    
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=estimates'
     -- 2. Error: get_data retrieves the specified data when download_data is TRUE (@
     Data downloading has failed, check your internet connection.
     If this issue is not resolved, contact the package author.
     Backtrace:
     1. getTBinR::get_data(...)
    
     -- 3. Error: get_data saves a local copy of the data which can then be successfu
     Data not found locally at: /tmp/RtmpUfwdtc/test_data.rdsPermission to download has
     not been given.
     If the data exists locally, check the path and save_name.
     If it does not exist locally then change download_data to TRUE to download the data.
     Set save to TRUE to save the data for local use.
     Backtrace:
     1. getTBinR::get_data(save_name = "test_data", download_data = FALSE)
    
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     trying URL 'https://extranet.who.int/tme/generateCSV.asp?ds=dictionary'
     -- 4. Error: (unknown) (@test-get_data_dict.R#4) ------------------------------
     Data downloading has failed, check your internet connection.
     If this issue is not resolved, contact the package author.
     Backtrace:
     1. getTBinR::get_data_dict(download_data = TRUE, save = TRUE)
     2. getTBinR::get_data(...)
    
     == testthat results ===========================================================
     [ OK: 101 | SKIPPED: 52 | WARNINGS: 37 | FAILED: 4 ]
     1. Error: presentation adjustments work (@test-for_presentation.R#4)
     2. Error: get_data retrieves the specified data when download_data is TRUE (@test-get_data.R#12)
     3. Error: get_data saves a local copy of the data which can then be successfully retrieved (@test-get_data.R#24)
     4. Error: (unknown) (@test-get_data_dict.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.7.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘pkgdown’
Flavor: r-patched-solaris-x86

Version: 0.7.1
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     doc 3.2Mb
     help 1.7Mb
Flavor: r-patched-solaris-x86