Running ‘testthat.R’ [24s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(geohabnet)
  > 
  > test_check("geohabnet")
  trying URL 'https://s3.us-east-2.amazonaws.com/earthstatdata/HarvestedAreaYield175Crops_Indvidual_Geotiff/avocado_HarvAreaYield_Geotiff.zip'
  Content type 'application/zip' length 6271196 bytes (6.0 MB)
  ==================================================
  downloaded 6.0 MB
  
  
  |---------|---------|---------|---------|
  ==============
                                            
  trying URL 'https://geohabnet.s3.us-east-2.amazonaws.com/util-rasters/ZeroRaster.tif'
  Content type 'image/tiff' length 1056851 bytes (1.0 MB)
  ==================================================
  downloaded 1.0 MB
  
  
  |---------|---------|---------|---------|
  ==========
                                            
  trying URL 'https://geohabnet.s3.us-east-2.amazonaws.com/util-rasters/avocado_HarvestedAreaFraction.tif'
  Content type 'image/tiff' length 30241066 bytes (28.8 MB)
  ==================================================
  downloaded 28.8 MB
  
  trying URL 'https://geohabnet.s3.us-east-2.amazonaws.com/util-rasters/map_grey_background.tif'
  Content type 'image/tiff' length 1091916 bytes (1.0 MB)
  ==================================================
  downloaded 1.0 MB
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-parameters.R:38:3'): Test 6: Test to set new parameters.yaml ──
  Expected `set_parameters(new_param_file)` to run without any conditions.
  ℹ Actually got a <simpleWarning> with text:
    cannot create file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/geohabnet/parameters.yaml', reason 'Read-only file system'
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
  Error: Test failures
  Execution halted