Skip to content

whitebox 2.4.3

Latest

Choose a tag to compare

@brownag brownag released this 21 Oct 00:15

whitebox 2.4.3

  • Fix for CRAN check (#135)

    • GeoTIFF DEM sample data (extdata/DEM.tif) previously excluded, along with all other TIFF files, by .Rbuildignore is now explicitly included

    • Fix for behavior of sample_dem_data() destfile argument:

      • Errors thrown from invalid sources from new wbt_source() (introduced in v2.4.2) revealed an underlying issue with sample data assets. Invalid source errors are now intentionally captured and tested, and inclusion of the extdata file should ensure other parts of tests work as expected

      • When destfile unset and no local file present, sample_dem_data() no longer attempts to download and write to the user package library (which is read-only on CRAN)

      • destfile now intended for copying the sample dataset from package extdata folder, for workflows that need the sample data outside of the package library

  • sample_soils_data() now supports destfile (just like sample_dem_data())

What's Changed

  • fix: remove sample DEM data from .Rbuildignore by @brownag in #137

Full Changelog: v2.4.2...v2.4.3