Skip to content

Commit 6a4db90

Browse files
committed
whitebox 2.1.5
1 parent 233bfa2 commit 6a4db90

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

README.Rmd

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This repository is related to the **whitebox** R package for geospatial analysis
3434
* Authors: Dr. John Lindsay (<https://jblindsay.github.io/ghrg/index.html>)
3535
* Contributors:
3636
* Dr. Qiusheng Wu (<https://wetlands.io> | <https://blog.gishub.org>)
37-
* Andrew G. Brown (<http://humus.rocks>)
37+
* Andrew G. Brown (<https://humus.rocks>)
3838
* GitHub repo: <https://github.com/giswqs/whiteboxR>
3939
* CRAN link: <https://cran.r-project.org/package=whitebox>
4040
* WhiteboxTools: <https://github.com/jblindsay/whitebox-tools>
@@ -68,15 +68,7 @@ There are three ways to install the **whitebox** R package.
6868
install.packages("whitebox")
6969
```
7070

71-
### 2. R-Forge
72-
73-
**whitebox** is also available on [R-Forge](https://r-forge.r-project.org/R/?group_id=2337), so you can install it with:
74-
75-
```R
76-
install.packages("whitebox", repos="http://R-Forge.R-project.org")
77-
```
78-
79-
### 3. GitHub
71+
### 2. GitHub
8072

8173
You can alternatively install the development version of **whitebox** from [GitHub](https://github.com/giswqs/whiteboxR) as follows:
8274

vignettes/datasets.Rmd

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,12 @@ head(wbttools)
7272

7373
The R function naming style differs from the tool names in WhiteboxTools, but the core words are the same.
7474

75-
There are two steps to converting WhiteboxTools to R (if not using `wbttools`!)
75+
There are two steps to converting WhiteboxTools tool names to R function names
76+
1. `CamelCase` tool names change to `snake_case`
7677

77-
1. `CamelCase` tool names change to `snake_case` R function names
78+
2. All R function names have the prefix `wbt_`
7879

79-
2. All R function names have the prefix `wbt_` and add `()`
80-
81-
So, `StreamSlopeContinuous` becomes `wbt_stream_slope_continuous()` in R, for instance.
80+
So, `StreamSlopeContinuous` becomes `wbt_stream_slope_continuous()` in R.
8281

8382
## WhiteboxTools Tool and Parameter Names
8483

vignettes/demo.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Saving your "output" file paths as a variable so that you can use them later to
7676

7777
#### Working with Raster Data
7878

79-
A demonstration workflow involving the {terra} package follows:
79+
A demonstration workflow employing the {terra} package follows:
8080

8181
```{r}
8282
library(terra)

0 commit comments

Comments
 (0)