Running ‘testthat.R’ [5s/269s]
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'
  ── 1. Error: get_isd_station_data returns correct number of columns (@test-get_i
  missing value where TRUE/FALSE needed
  1: get_isd_station_data(station_id = "722315-53917", startyear = 2014, endyear = 2015, 
         full_data = FALSE) at testthat/test-get_isd_station_data.R:6
  
  trying URL 'ftp://ftp.ncdc.noaa.gov/pub/data/noaa/2014/722315-53917-2014.gz'
  ── 2. 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 CYPRESS … CA      ""     49.4 -123.   969  2007  2010         -8
  2 715620 99999 CYPRESS … CA      ""     49.4 -123.  1180  2010  2010         -8
  3 716930 99999 CYPRESS … 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 CYPRESS … CA      ""     49.4 -123.   969  2007  2010         -8
  2 715620 99999 CYPRESS … CA      ""     49.4 -123.  1180  2010  2010         -8
  3 716930 99999 CYPRESS … 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: 42 SKIPPED: 0 FAILED: 2
  1. Error: get_isd_station_data returns correct number of columns (@test-get_isd_station_data.R#6) 
  2. 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