Skip to content

Commit 7f9d222

Browse files
committed
Fix typos in the documentation using spell_check()
1 parent 7f65d71 commit 7f9d222

File tree

14 files changed

+48
-34
lines changed

14 files changed

+48
-34
lines changed

DESCRIPTION

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
Package: resourcecodedata
2-
Title: Data package with the Resourcecode database configuration data
2+
Title: Resourcecode Database Configuration Data
33
Version: 1.0.0
44
Authors@R:
55
person("Nicolas", "Raillard", , "nicolas.raillard@ifremer.fr", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-3385-5104"))
77
Description: Includes Resourcecode hindcast database (see
88
<https://resourcecode.ifremer.fr>) configuration data: nodes locations
9-
for both the sea-state parameters and the spectra data; and examples
10-
of time series of 1D and 2D surface elevation variance spectral
11-
density, etc. This work was supported in part under the framework of
12-
the OCEANERA-NET COFUND project, with funding provided by national and
13-
regional sources and co-funding by the European Union's Horizon 2020
14-
research and innovation program.
9+
for both the sea-state parameters and the spectra data; examples of
10+
time series of 1D and 2D surface elevation variance spectral density;
11+
summary statistics of sea-states.
1512
License: GPL (>= 3)
16-
URL: https://github.com/Resourcecode-project/r-resourcecodedata,
17-
https://resourcecode-project.r-universe.dev/resourcecodedata,
18-
https://resourcecode-project.github.io/r-resourcecodedata,
13+
URL: https://github.com/Resourcecode-project/r-resourcecodedata/,
14+
https://resourcecode-project.r-universe.dev/resourcecodedata/,
1915
https://resourcecode-project.github.io/r-resourcecodedata/
2016
BugReports:
2117
https://github.com/Resourcecode-project/r-resourcecodedata/issues
2218
Depends:
2319
R (>= 3.5)
2420
Encoding: UTF-8
21+
Language: en-GB
2522
LazyData: true
26-
LazyDataCompression: bzip2
23+
LazyDataCompression: xz
2724
NeedsCompilation: no
2825
Roxygen: list(markdown = TRUE)
2926
RoxygenNote: 7.3.2

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# resourcecodedata 1.0.0
2+
3+
- Add the upper and lower frequency for both 1D and 2D spectra.
4+
- Switch to version 1 to reflect the stability of the data provided by this package.
5+
16
# resourcecodedata 0.2.0
27

38
Add statistics computed on the FIELD grid, on the whole period of time. See `?rscd_stats`

R/data.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#' Resourcecode coastline
4949
#'
5050
#' This data contains the coastline used to run the RESOURCECODE hindcast.
51-
#' This will be mainly used for ploting purpose.
51+
#' This will be mainly used for plotting purpose.
5252
#'
5353
#' @format A data frame with 24403 rows and 3 columns:
5454
#' \describe{
@@ -63,7 +63,7 @@
6363
#'
6464
#' This data contains the coastline of the islands used to run the
6565
#' RESOURCECODE hindcast, as data separated from the mainland.
66-
#' This will be mainly used for ploting purpose.
66+
#' This will be mainly used for plotting purpose.
6767
#'
6868
#' @format A data frame with 24403 rows and 3 columns:
6969
#' \describe{
@@ -78,7 +78,7 @@
7878
#' Resourcecode triangles
7979
#'
8080
#' This data contains the triangles of the unstructured computational mesh.
81-
#' This will be mainly used for ploting purpose.
81+
#' This will be mainly used for plotting purpose.
8282
#'
8383
#' @format A matrix with 3 rows and 566506 columns:
8484
#' \describe{
@@ -127,7 +127,7 @@
127127
# In terms of directional discretization, 36 directions were used
128128
#' (equivalent to a directional resolution of 10°;
129129
#'
130-
#' @format A vector of length 36 with the directionnal bins
130+
#' @format A vector of length 36 with the directional bins
131131
#'
132132
#' @source User Manual of the RESOURCECODE database
133133
#' <https://archimer.ifremer.fr/doc/00751/86306/>
@@ -179,7 +179,7 @@
179179
#' Resourcecode 2D directional wave spectra
180180
#'
181181
# Example of 2D directional spectral data.
182-
#' This data contains the time series of 1D wave spectral
182+
#' This data contains the time series of 2D wave spectral
183183
#' data at the 'Pierre noires (6200069) wave buoy from
184184
#' 01-01-1994 to 31-01-1994.
185185
#'
@@ -195,7 +195,7 @@
195195
#' \item{sth1m}{Mean directional spreading from first spectral moment}
196196
#' \item{sth2m}{Mean directional spreading from second spectral moment}
197197
#' \item{freq}{Central frequency}
198-
#' \item{dir}{Directionnal bins}
198+
#' \item{dir}{Directional bins}
199199
#' \item{forcings}{A data.frame with 6 variables:
200200
#' \describe{
201201
#' \item{time}{Time}
@@ -220,7 +220,7 @@
220220
#' @format A data.frame with columns:
221221
#' \describe{
222222
#' \item{hs_mean}{Mean significant wave height}
223-
#' \item{hs_max}{Maximal modeled significant wave height}
223+
#' \item{hs_max}{Maximal modelled significant wave height}
224224
#' \item{tp_mean}{Mean peak wave period}
225225
#' \item{wind_speed_mean}{Mean wind speed at 10m height}
226226
#' \item{wind_speed_max}{Maximal wind speed at 10m height}
@@ -232,5 +232,5 @@
232232
#' }
233233
#' @source User Manual of the RESOURCECODE database
234234
#' <https://archimer.ifremer.fr/doc/00751/86306/> and computations
235-
#' made by Nicolas Raillard on original netCDF files.
235+
#' computed by Nicolas Raillard from original netCDF files.
236236
"rscd_stats"

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ knitr::opts_chunk$set(
1717
# resourcecodedata
1818

1919
This a data-only R package. It contains the **Resourcecode** hindcast database configuration data, that is used to run the WWIIIⓇ model:
20-
nodes locations for both the sea-state parameters, examples of time series of 1D and 2D surface elevation variance spectral density, etc. These are static data that will **never** be updated.
20+
nodes locations for both the sea-state parameters, examples of time series of 1D and 2D surface elevation variance spectral density and summary statistics computed on the whole covered area and time period. These are static data that will **never** be updated.
2121

22-
For more on using these data, see the GitHub repository for the [resourcecode](https://github.com/Resourcecode-project/r-resourcecode) package, which is built to interact with data in this package.
22+
For more on using these data, see the GitHub repository for the [Resourcecode](https://github.com/Resourcecode-project/r-resourcecode) package, which is built to interact with data in this package.
2323

2424
## Installation
2525

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66
This a data-only R package. It contains the **Resourcecode** hindcast
77
database configuration data, that is used to run the WWIIIⓇ model: nodes
88
locations for both the sea-state parameters, examples of time series of
9-
1D and 2D surface elevation variance spectral density, etc. These are
9+
1D and 2D surface elevation variance spectral density and summary
10+
statistics computed on the whole covered area and time period. These are
1011
static data that will **never** be updated.
1112

1213
For more on using these data, see the GitHub repository for the
13-
[resourcecode](https://github.com/Resourcecode-project/r-resourcecode)
14+
[Resourcecode](https://github.com/Resourcecode-project/r-resourcecode)
1415
package, which is built to interact with data in this package.
1516

1617
## Installation
1718

1819
You can install the development version of `{resourcecodedata}` like so,
19-
thanks to the `{drat}`package:
20+
thanks to the `{drat}` package:
2021

2122
``` r
2223
install.packages("resourcecodedata",type = "source",repos = "resourcecode-project.github.io/drat")

cran-comments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
0 errors | 0 warnings | 1 note
44

55
* This is a new release.
6+
* This is a data package that will be rarely updated.
7+
* `checkRdaFiles`has been used to reduce the size of the data as much as possible.

devtools_history.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,16 @@ usethis::use_pkgdown_github_pages()
7777

7878
attachment::att_amend_desc(update.config = T)
7979

80+
devtools::spell_check()
8081
devtools::document()
8182
devtools::run_examples()
8283
urlchecker::url_check()
8384
devtools::build_readme()
85+
8486
devtools::install()
8587

88+
devtools::check_win_release()
8689

87-
devtools::build()
88-
devtools::build(binary = T)
90+
devtools::release()
8991

9092
remotes::install_github("eddelbuettel/drat")

inst/WORDLIST

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Dp
2+
RESOURCECODE
3+
Resourcecode
4+
WWIII
5+
hindcast
6+
netCDF
7+
verticies

man/rscd_2d_spectra.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rscd_coastline.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)