Running examples in 'safedata-Ex.R' failed
The error most likely occurred in:

> ### Name: insert_dataset
> ### Title: Inserts local copies of files from a dataset into a SAFE data
> ###   directory
> ### Aliases: insert_dataset
> 
> ### ** Examples
> 
>    set_example_safe_dir()
Loading and caching index
Validating directory
>    files <- system.file("safedata_example_dir",
+                         "template_ClareWfunctiondata.xlsx",
+                         package = "safedata")
>    insert_dataset(1237719, files)
Inserting files: template_ClareWfunctiondata.xlsx
NULL
>    dat <- load_safe_data(1237719, "Data")
Downloading 1 record metadata files

Error in fetch_record_metadata(record_set) : 
  Could not download record metadata
Calls: load_safe_data -> load_record_metadata -> fetch_record_metadata
Execution halted
Error(s) in re-building vignettes:
--- re-building 'overview.Rmd' using rmarkdown
--- finished re-building 'overview.Rmd'

--- re-building 'using_safe_data.Rmd' using rmarkdown
Quitting from lines 160-162 (using_safe_data.Rmd) 
Error: processing vignette 'using_safe_data.Rmd' failed with diagnostics:
Timeout was reached: [www.safeproject.net] Connection timed out after 10006 milliseconds
--- failed re-building 'using_safe_data.Rmd'

SUMMARY: processing the following file failed:
  'using_safe_data.Rmd'

Error: Vignette re-building failed.
Execution halted

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   4.9Mb
installed size is  5.6Mb
  sub-directories of 1Mb or more:
    libs   5.3Mb

'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [244s/302s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(randomsearch)
  Loading required package: ParamHelpers
  Loading required package: smoof
  Loading required package: checkmate
  > 
  > test_check("randomsearch")
  Error : [ENOENT] Failed to stat '/tmp/RtmpFNaOym/working_dir/RtmpQla4Tz/file336f67ea2b03/2_12': no such file or directory
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_randomsearch.R:83:5): parallel randomsearch works with parallelMap ──
  Error in `stopWithJobErrorMessages(inds, vcapply(result.list[inds], as.character))`: Errors occurred in 1 slave jobs, displaying at most 10 of them:
  
  00001: Error : [ENOENT] Failed to stat '/tmp/RtmpFNaOym/working_dir/RtmpQla4Tz/file336f67ea2b03/2_12': no such file or directory
  
  
  Backtrace:
      █
   1. ├─randomsearch::randomsearch(...) test_randomsearch.R:83:4
   2. └─randomsearch:::randomsearch.smoof_function(...)
   3.   └─parallelMap::parallelMap(...)
   4.     └─parallelMap:::checkResultsAndStopWithErrorsMessages(res)
   5.       └─parallelMap:::stopWithJobErrorMessages(...)
   6.         └─BBmisc::stopf(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 69 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory