Skip to content
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b933e4b
chore: update .gitignore
brownag Sep 27, 2025
4f1b2e5
fix: tempfiles in `wbt_source()` should be relative to tempdir not wo…
brownag Oct 10, 2025
28724e2
version bump
brownag Oct 10, 2025
9f576b0
Update NEWS.md
brownag Oct 10, 2025
53f9df0
Update inst/CITATION
brownag Oct 10, 2025
8a85456
fix: `wbt_source()` pass `tmpdir` for `dsn` construction
brownag Oct 10, 2025
f481a1c
fix: `wbt_source()` handle terra::sources output
brownag Oct 10, 2025
0304890
fix: `wbt_source()` handle terra::sources output (2)
brownag Oct 10, 2025
95f8af5
spellcheck
brownag Oct 10, 2025
26be95a
fix: handling of various object input types
brownag Oct 10, 2025
0c71c8b
for code review
brownag Oct 10, 2025
1561b08
wbt_source: be explicit about use of first source
brownag Oct 10, 2025
940288f
fix: wbt_source: raster source with user-specified `dsn` or `layer`
brownag Oct 11, 2025
11b27a0
fix: wbt_source: verbosity of multiple source files message
brownag Oct 11, 2025
a5ac102
feat: add STATSGO2 shapefile dataset for DEM.tif extent and `sample_s…
brownag Oct 11, 2025
1786c8a
test: wbt_source: basic behaviors for vector and raster data sources
brownag Oct 11, 2025
c51bf21
fix: wbt_source: writing to shapefile or geotiff when data source typ…
brownag Oct 11, 2025
f33368b
fix: wbt_source: nzchar source
brownag Oct 11, 2025
9f810c0
fix: wbt_source: quiet namespace check
brownag Oct 11, 2025
cd54dbb
test: wbt_source: regex extension pattern
brownag Oct 11, 2025
4471edb
test: wbt_source: raster in memory and spatvectorproxy
brownag Oct 11, 2025
939f9bf
test: wbt_source: use gpkg as alternative non-wbt data source type
brownag Oct 11, 2025
8f57a75
test: wbt_source: sources with multiple layers
brownag Oct 11, 2025
aea2d75
call.=F
brownag Oct 11, 2025
14dfd99
fix: wbt_source: no need to specify `layer` for output `dsn`
brownag Oct 11, 2025
e90968b
test: wbt_source: suppress upstream warnings
brownag Oct 11, 2025
629da64
test: wbt_source: use in memory spatraster
brownag Oct 11, 2025
7578cca
fix: wbt_source: short circuit for common single-layer geotiff case
brownag Oct 11, 2025
58365d9
Update NEWS.md
brownag Oct 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ whiteboxR.Rproj
*.shx
*.prj
*.dbf
*.cpg
*.tif
settings.json
__MACOSX
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Package: whitebox
Type: Package
Title: 'WhiteboxTools' R Frontend
Version: 2.4.1
Version: 2.4.2
Description: An R frontend for the 'WhiteboxTools' library, which is an advanced geospatial data analysis platform developed by Prof. John Lindsay at the University of Guelph's Geomorphometry and Hydrogeomatics Research Group. 'WhiteboxTools' can be used to perform common geographical information systems (GIS) analysis operations, such as cost-distance analysis, distance buffering, and raster reclassification. Remote sensing and image processing tasks include image enhancement (e.g. panchromatic sharpening, contrast adjustments), image mosaicing, numerous filtering operations, simple classification (k-means), and common image transformations. 'WhiteboxTools' also contains advanced tooling for spatial hydrological analysis (e.g. flow-accumulation, watershed delineation, stream network analysis, sink removal), terrain analysis (e.g. common terrain indices such as slope, curvatures, wetness index, hillshading; hypsometric analysis; multi-scale topographic position analysis), and LiDAR data processing. Suggested citation: Lindsay (2016) <doi:10.1016/j.cageo.2016.07.003>.
Authors@R: c(person("Qiusheng", "Wu", email = "giswqs@gmail.com", role = c("aut")),
person("Andrew", "Brown", email = "brown.andrewg@gmail.com", role = c("ctb", "cre")))
person("Andrew", "Brown", email = "brown.andrewg@gmail.com", role = c("aut", "cre"), comment=c(ORCID="0000-0002-4565-533X")))
Maintainer: Andrew Brown <brown.andrewg@gmail.com>
License: MIT + file LICENSE
SystemRequirements: WhiteboxTools (https://github.com/jblindsay/whitebox-tools/releases/latest)
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
Roxygen: list(markdown = TRUE)
URL: https://whiteboxr.gishub.org/, https://github.com/opengeos/whiteboxR
BugReports: https://github.com/opengeos/whiteboxR/issues
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ S3method(wbt_result,wbt_result)
export(check_whitebox_binary)
export(install_whitebox)
export(sample_dem_data)
export(sample_soils_data)
export(wbt)
export(wbt_absolute_value)
export(wbt_accumulation_curvature)
Expand Down
14 changes: 14 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# whitebox 2.4.2

* `wbt_source()`: now accepts `tmpdir` argument which defaults to `tempdir()` (not `getwd()` or `wbt_wd()`) that is used for storing the intermediate shapefiles needed for WhiteboxTools

* Also, the pattern for temporary file names is now customizable via `pattern` argument

* Bug fixes for `wbt_source()`:

* No longer writes temporary intermediate shapefiles to the working directory when passed a non-shapefile vector data source.

* The temporary directory is used by default, unless new `tmpdir` argument is specified. This could be a breaking change if you were relying on the temporary files to be present in the WhiteboxTools working directory. Specify `tmpdir` in call to `wbt_source()` to make old behavior explicit.

* Properly uses `layer` argument for data sources (e.g. GPKG) that may contain multiple vector layers of interest (thanks to @mps9506 for reporting; #132)

# whitebox 2.4.1

* Rebuilt `wbttools` and `wbttoolparameters` with WhiteboxTools v2.4.0
Expand Down
Loading
Loading