Running ‘run_tests.r’ [6s/251s]
Running the tests in ‘tests/run_tests.r’ failed.
Complete output:
  > # Run all unit tests
  > 
  > # This is a wrapper around all the tests specified
  > # in the tests/testthat directory. These tests are visible
  > # to users and serve as small examples as well.
  > testthat::test_check("daymetr")
  Loading required package: daymetr
  Error in download_daymet_ncss(param = "tmin", frequency = "daily", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in R_nc4_open: NetCDF: Unknown file format
  ── 1. Error: check offset routine (@test_ancillary_functions.r#15)  ────────────
  Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1981_ncss.nc
  1: raster::stack(paste(tempdir(), c("tmin_daily_1981_ncss.nc", "tmin_daily_1982_ncss.nc"), 
         sep = "/")) at testthat/test_ancillary_functions.r:15
  2: raster::stack(paste(tempdir(), c("tmin_daily_1981_ncss.nc", "tmin_daily_1982_ncss.nc"), 
         sep = "/"))
  3: .local(x, ...)
  4: stack(rlist, bands = bands, native = native, RAT = RAT)
  5: stack(rlist, bands = bands, native = native, RAT = RAT)
  6: .local(x, ...)
  7: raster(x[[1]], native = native, RAT = RAT, ...)
  8: raster(x[[1]], native = native, RAT = RAT, ...)
  9: .local(x, ...)
  10: .rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", ...)
  11: .rasterObjectFromCDF(x, type = objecttype, band = band, ...)
  12: ncdf4::nc_open(filename)
  13: stop(paste("Error in nc_open trying to open file", filename))
  
  Error in download_daymet_ncss(param = c("tmin", "tmax"), frequency = "monthly",  : 
    Requested coverage exceeds 6GB file size limit!
  download failed ... (check warning messages)download failed ... (check warning messages)Error in daymet_grid_tmean(path = tempdir(), product = "monavg", year = 1980) : 
    missing files, or non existing directory ...
  Error in daymet_grid_tmean(path = tempdir(), product = "monavg", year = 1980,  : 
    missing files, or non existing directory ...
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_1980_9753.nc
  Error in daymet_grid_tmean(path = tempdir(), product = 9753, year = NULL) : 
    No tile or year provided ...
  Error in daymet_grid_tmean(path = tempdir(), product = "monavg", year = 1980) : 
    missing files, or non existing directory ...
  ── 2. Failure: tmean grid checks (@test_ancillary_functions.r#85)  ─────────────
  `check` isn't true.
  
  Error in download_daymet_ncss(param = "tmin", frequency = "daily", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in download_daymet_ncss(param = "tmin", frequency = "monthly", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in download_daymet_ncss(param = "tmin", frequency = "annual", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  nc2tif is working. Be patient, this may take a while...
  
  Writing /home/hornik/tmp/scratch/RtmprlGspB/tmax_1980_9753 
  file 1 of 4 
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmax_1980_9753.nc
  nc2tif is working. Be patient, this may take a while...
  
  Skipping 0 existing files.
  Writing /home/hornik/tmp/scratch/RtmprlGspB/tmax_1980_9753 
  file 1 of 4 
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmax_1980_9753.nc
  ── 3. Failure: tile download and format conversion checks (@test_ancillary_funct
  `check` isn't true.
  
  Error in download_daymet_ncss(param = "tmin", frequency = "daily", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in download_daymet_ncss(param = "tmin", frequency = "monthly", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss.nc
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss.nc
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss.nc
  Error in R_nc4_open: NetCDF: Unknown file format
  Error in ncdf4::nc_open(filename) : 
    Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss.nc
  nc2tif is working. Be patient, this may take a while...
  
  Writing /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss 
  file 1 of 1 
  Error in R_nc4_open: NetCDF: Unknown file format
  ── 4. Error: tile aagregation checks (@test_ancillary_functions.r#168)  ────────
  Error in nc_open trying to open file /home/hornik/tmp/scratch/RtmprlGspB/tmin_daily_1980_ncss.nc
  1: nc2tif(path = tempdir(), files = paste0(tempdir(), "/tmin_daily_1980_ncss.nc"), overwrite = TRUE) at testthat/test_ancillary_functions.r:168
  2: suppressWarnings(raster::brick(i))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: raster::brick(i)
  5: raster::brick(i)
  6: .rasterObjectFromFile(x, objecttype = "RasterBrick", ...)
  7: .rasterObjectFromCDF(x, type = objecttype, band = band, ...)
  8: ncdf4::nc_open(filename)
  9: stop(paste("Error in nc_open trying to open file", filename))
  
  Error in read_daymet(paste0(tempdir(), "/Daymet_1980_1981.csv")) : 
    File does not exist...
  Error in read_daymet() : File not provided...
  Creating a subset of the Daymet data
          be patient, this might take a while!
  
  Downloading DAYMET subset: year: 1980; product: tmin
  ── 5. Error: calc_nd checks (@test_ancillary_functions.r#262)  ─────────────────
  Requested coverage exceeds 6GB file size limit!
  1: download_daymet_ncss() at testthat/test_ancillary_functions.r:262
  2: stop("Requested coverage exceeds 6GB file size limit!")
  
  Error in download_daymet_ncss(param = "tmin", frequency = "daily", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in download_daymet_ncss(location = c(34, -82, 33.75), param = "tmin",  : 
    check coordinates format: top-left / bottom-right c(lat,lon,lat,lon)
  Error in download_daymet_ncss(param = "tmin", frequency = "monthly", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Error in download_daymet_ncss(param = "tmin", frequency = "monthly", start = 1970,  : 
    Start year preceeds valid data range!
  Error in download_daymet_ncss(param = "tmin", frequency = "monthly", end = 2100,  : 
    End year exceeds valid data range!
  Error in download_daymet_ncss(param = "tmin", frequency = "annual", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Creating a subset of the Daymet data
          be patient, this might take a while!
  
  Downloading DAYMET subset: year: 1980; product: vp
  Error in download_daymet_ncss(param = "ALL", frequency = "annual", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  Creating a subset of the Daymet data
          be patient, this might take a while!
  
  Downloading DAYMET subset: year: 1980; product: vp
  Error in download_daymet_ncss(param = "ALL", frequency = "daily", path = tempdir(),  : 
    Requested coverage exceeds 6GB file size limit!
  ── 6. Failure: freefrom gridded download (ncss) checks (@test_ncss_downloads.r#6
  `check` isn't true.
  
  Downloading DAYMET data for: Daymet at 36.0133/-84.2625 latitude/longitude !
  Done !
  Downloading DAYMET data for: Daymet at 36.0133/-84.2625 latitude/longitude !
  Done !
  Error in download_daymet(start = 1970, end = 1980, internal = TRUE, silent = TRUE) : 
    Start year preceeds valid data range!
  Error in download_daymet(start = 1980, end = 2100, internal = TRUE, silent = TRUE) : 
    End year exceeds valid data range!
  Error in download_daymet(start = 1980, end = 1980, internal = TRUE, silent = TRUE,  : 
    Your requested data is outside DAYMET (temporal) coverage,
              or the server can't be reached. Check your the connection to the
              server or the coordinates and start/end years!
  Error in download_daymet(site = site, lat = lat, lon = lon, start = start,  : 
    Your requested data is outside DAYMET (temporal) coverage,
              or the server can't be reached. Check your the connection to the
              server or the coordinates and start/end years!
  Error in download_daymet_batch(file_location = "error.csv", start = 1980,  : 
    file not provided or does not exist, please check the file path!
  
  Downloading DAYMET data for tile: 9753; year: 1980; product: vp
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: tmin
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: tmax
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: swe
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: srad
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: prcp
  download failed ... (check warning messages)
  Downloading DAYMET data for tile: 9753; year: 1980; product: dayl
  download failed ... (check warning messages)Error in download_daymet_tiles(tiles = 9753, start = 1970, end = 1980,  : 
    Start year preceeds valid data range!
  Error in download_daymet_tiles(tiles = 9753, start = 1980, end = 2100,  : 
    End year exceeds valid data range!
  download failed ... (check warning messages)Error in download_daymet_tiles(location = c(18.9103, -114.6109, 18.6703),  : 
    check the coordinates: specifiy a single location,
  
               top-left bottom-right or provide a tile selection 
  
  Error in download_daymet_tiles(location = c(0, 0, 0.1, 0.1), start = 1980,  : 
    Your defined range is outside DAYMET coverage,
                 check your coordinate values!
  Error in download_daymet_tiles(location = c(0, 0), start = 1980, end = 1980,  : 
    Your defined range is outside DAYMET coverage,
                 check your coordinate values!
  download failed ... (check warning messages)══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 8 SKIPPED: 0 FAILED: 6
  1. Error: check offset routine (@test_ancillary_functions.r#15) 
  2. Failure: tmean grid checks (@test_ancillary_functions.r#85) 
  3. Failure: tile download and format conversion checks (@test_ancillary_functions.r#124) 
  4. Error: tile aagregation checks (@test_ancillary_functions.r#168) 
  5. Error: calc_nd checks (@test_ancillary_functions.r#262) 
  6. Failure: freefrom gridded download (ncss) checks (@test_ncss_downloads.r#68) 
  
  Error: testthat unit tests failed
  Execution halted