Skip to content

Commit 120de64

Browse files
authored
Merge pull request #58 from tamnva/development
typo correction
2 parents b180860 + 6a4734a commit 120de64

File tree

6 files changed

+27
-12
lines changed

6 files changed

+27
-12
lines changed

R/behaSimulation.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,18 @@
4646
#'
4747
#' @importFrom stats quantile
4848
#'
49+
#' @examples
50+
#'
51+
#' \donttest{
52+
#' # Please see RSWAT Vignettes
53+
#' vignette("SUFI2_without_GUI",package="RSWAT")
54+
#' }
55+
#'
56+
#'
4957
#' @export
5058
#'
59+
#'
60+
#'
5161

5262
behaSimulation <- function(objValue, simData, parameterValue, behThreshold,
5363
varNumber, statIndex, observedData, minOrmax,

R/calObjFunction.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
#' @importFrom utils read.table
1313
#' @examples
1414
#'
15-
#' # Please see RSWAT vignettes "SUFI2_without_GUI"
15+
#' \donttest{
16+
#' # Please see RSWAT Vignettes
17+
#' vignette("SUFI2_without_GUI",package="RSWAT")
18+
#' }
1619
#'
1720
#' @export
1821

R/copyAllExcept.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#' @return no return, copied files will be saved in toDir
99
#'
1010
#' @examples
11+
#'
1112
#' \donttest{
1213
#' # Create a directory and populate with TxtInOut of SWAT+
1314
#' extracExampleData(exampleData,"swatPlusTxtInOut", tempdir())

R/readChannelFile.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
#'
1212
#' @examples
1313
#'
14-
#' # Please see in the
14+
#' \donttest{
15+
#' # Please see RSWAT Vignettes
16+
#' vignette("SUFI2_without_GUI",package="RSWAT")
17+
#' }
1518
#'
1619
#' @export
1720
#'

R/runSWATpar.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ getParameterValue <- function(parameter, parameterValue){
266266
#' @examples
267267
#'
268268
#'\donttest{
269-
#' updateMultiFile <- function(toDir, caliParam, parameterValue, paraSelection)
269+
#' updateMultiFile(toDir, caliParam, parameterValue, paraSelection)
270270
#'}
271271
#'
272272
#' @export

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Quick Start!
1313

14-
RSWAT is an R package hosted on GitHub (to be submitted to CRAN soon). First, you need to install https://cloud.r-project.org/, [RStudio](https://posit.co/download/rstudio-desktop/), then **run** the following commands **in RStudio** (if you run in R, package vignettes cannot be built).
14+
RSWAT is an R package hosted on GitHub (to be submitted to CRAN soon). First, you need to install [R](https://cloud.r-project.org/), and [RStudio](https://posit.co/download/rstudio-desktop/), then **run** the following commands **in RStudio** (if you run in R, package vignettes cannot be built).
1515

1616
```R
1717
# First install remotes package if you have not installed
@@ -33,23 +33,21 @@ If you don't know which input is required, simply click "Help?" on the right sid
3333
# Command to extract all example dataset (3.6 MB of storage)
3434
# Example: extracExampleData(exampleData, "all", "C:/example")
3535

36-
extracExampleData(exampleData, "all", "replace_with_your_desired_path")
37-
38-
36+
extracExampleData(exampleData, "all", "replace_with_your_path")
3937
```
4038

4139
Data extracted from the above command are stored in this path "replace_with_your_desired_path" which include:
4240

4341
| Data | Description |
4442
| --- | ----------- |
45-
| swatTxtInOut folder| TxtInOut folder with associated files SWAT
43+
| swatTxtInOut folder| TxtInOut folder with associated files of SWAT+ |
4644
| swatParam.txt | Parameter file of SWAT |
4745
| observedSWAT | Observed streamflow at the catchment outlet of SWAT |
48-
| swatPlusTxtInOut | TxtInOut folder with associated files of an example SWAT project |
49-
| cal_parms.cal | Parameter file of SWAT |
46+
| swatPlusTxtInOut | TxtInOut folder with associated files of SWAT+ |
47+
| cal_parms.cal | Parameter file of SWAT+ |
5048
| observedSWATPlus | Observed streamflow at the catchment outlet of SWAT+ |
5149

52-
For examples of working without the user interface, please see RSWAT vignettes:
50+
Example of working without the user interface, please see the RSWAT vignettes:
5351

5452
```R
5553
vignette("SUFI2_without_GUI",package="RSWAT")
@@ -62,7 +60,7 @@ vignette("SUFI2_without_GUI",package="RSWAT")
6260

6361
**Nguyen, T. V.** (2024). RSWAT: An R package for the Soil and Water Assessment Tool models. Submitted to The Journal of Open Source Software.
6462

65-
63+
# GUI of RSWAT
6664

6765

6866
(NOTE: in the latest version, the user interface could be slightly difference)

0 commit comments

Comments
 (0)