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