Running 'skip-download.R' [0s]
  Running 'testthat.R' [394s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(stats19)
  Data provided under OGL v3.0. Cite the source and link to:
  www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
  > 
  > test_check("stats19")
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2016.zip'
  Content type 'application/x-zip-compressed' length 2713982 bytes (2.6 MB)
  ==================================================
  downloaded 2.6 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
  -- 1. Error: format_casualties works (@test-format.R#30)  ----------------------
  cannot open URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
  Backtrace:
   1. stats19::dl_stats19(file_name = fn)
   2. utils::download.file(zip_url, destfile = destfile, quiet = silent)
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/DfTRoadSafety_Vehicles_2009.zip'
  Content type 'application/x-zip-compressed' length 3000828 bytes (2.9 MB)
  ==================================================
  downloaded 2.9 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/DfTRoadSafety_Casualties_2009.zip'
  Content type 'application/x-zip-compressed' length 1182062 bytes (1.1 MB)
  ==================================================
  downloaded 1.1 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/DfTRoadSafety_Accidents_2009.zip'
  Content type 'application/x-zip-compressed' length 5024433 bytes (4.8 MB)
  ==================================================
  downloaded 4.8 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
  Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
  ==================================================
  downloaded 2.5 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/DfTRoadSafety_Casualties_2010.zip'
  Content type 'application/x-zip-compressed' length 1114063 bytes (1.1 MB)
  ==================================================
  downloaded 1.1 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/RoadSafetyData_Accidents_2015.zip'
  Content type 'application/x-zip-compressed' length 4123639 bytes (3.9 MB)
  ==================================================
  downloaded 3.9 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafety_Accidents_2016.zip'
  Content type 'application/x-zip-compressed' length 4748166 bytes (4.5 MB)
  ==================================================
  downloaded 4.5 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2016.zip'
  Content type 'application/x-zip-compressed' length 2713982 bytes (2.6 MB)
  ==================================================
  downloaded 2.6 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
  Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
  ==================================================
  downloaded 3.8 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
  Content type 'application/x-zip-compressed' length 1236846 bytes (1.2 MB)
  ==================================================
  downloaded 1.2 MB
  
  trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
  Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
  ==================================================
  downloaded 1.1 MB
  
  == testthat results  ===========================================================
  [ OK: 71 | SKIPPED: 4 | WARNINGS: 13 | FAILED: 1 ]
  1. Error: format_casualties works (@test-format.R#30) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In extract_lang(f = comp_lang, y = quote(if (.isMethodsDispatchOn() &&  :
    devtools is incompatible with the current version of R. `load_all()` may function incorrectly.
  Execution halted