Running ‘testthat.R’ [68s/281s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(stationaRy)
  > 
  > test_check("stationaRy")
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2014/722315-53917-2014.gz'
  Content type 'unknown' length 680024 bytes (664 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2015/722315-53917-2015.gz'
  Content type 'unknown' length 669047 bytes (653 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2016/722315-53917-2016.gz'
  Content type 'unknown' length 698945 bytes (682 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2014/722315-53917-2014.gz'
  Content type 'unknown' length 680024 bytes (664 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2015/722315-53917-2015.gz'
  Content type 'unknown' length 669047 bytes (653 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2016/722315-53917-2016.gz'
  Content type 'unknown' length 698945 bytes (682 KB)
  ==================================================
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2014/722315-53917-2014.gz'
  ── 1. Error: get_isd_station_data can provide an additional data report (@test-g
  missing value where TRUE/FALSE needed
  1: get_isd_station_data(station_id = "722315-53917", startyear = 2014, endyear = 2015, 
         add_data_report = TRUE) at testthat/test-get_isd_station_data.R:40
  
  # A tibble: 3 x 16
       usaf   wban name    country state   lat   lon  elev begin   end gmt_offset
      <dbl>  <dbl> <chr>   <chr>   <chr> <dbl> <dbl> <dbl> <dbl> <dbl>      <dbl>
  1 710040. 99999. CYPRES… CA      ""     49.4 -123.  969. 2007. 2010.        -8.
  2 715620. 99999. CYPRES… CA      ""     49.4 -123. 1180. 2010. 2010.        -8.
  3 716930. 99999. CYPRES… CA      ""     49.4 -123.  886. 2007. 2014.        -8.
  # ... with 5 more variables: time_zone_id <chr>, country_name <chr>,
  #   country_code <chr>, iso3166_2_subd <chr>, fips10_4_subd <chr>
  # A tibble: 3 x 16
       usaf   wban name    country state   lat   lon  elev begin   end gmt_offset
      <dbl>  <dbl> <chr>   <chr>   <chr> <dbl> <dbl> <dbl> <dbl> <dbl>      <dbl>
  1 710040. 99999. CYPRES… CA      ""     49.4 -123.  969. 2007. 2010.        -8.
  2 715620. 99999. CYPRES… CA      ""     49.4 -123. 1180. 2010. 2010.        -8.
  3 716930. 99999. CYPRES… CA      ""     49.4 -123.  886. 2007. 2014.        -8.
  # ... with 5 more variables: time_zone_id <chr>, country_name <chr>,
  #   country_code <chr>, iso3166_2_subd <chr>, fips10_4_subd <chr>
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 379 SKIPPED: 0 FAILED: 1
  1. Error: get_isd_station_data can provide an additional data report (@test-get_isd_station_data.R#40) 
  
  Error: testthat unit tests failed
  Execution halted