-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.Rmd
37 lines (24 loc) · 1.63 KB
/
readme.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: "cat3advice"
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
`cat3advice` is an R package that allows the application of the ICES category 3 data-limited harvest control rules (rfb/rb/chr rules) and follows the ICES Technical Guidelines [ICES, 2022](https://doi.org/10.17895/ices.advice.19801564).
## Documentation
The package documentation contains help files for its functions which also include code examples. See `help(package = "cat3advice")` for available functions.
The main functions are `rfb()`, `rb()`, and `chr()`. Each of these functions has a help file with code examples (see `?rfb`, `?rb` `?chr`).
A detailed vignette with code examples is included in the package `vignette("cat3advice", package = "cat3advice")`. [The vignette is also available on GitHub](https://github.com/shfischer/cat3advice/blob/main/vignettes/cat3advice.md).
## Installation
The easiest way to install the `cat3advice` package is to install it as a binary package from ICES r-universe:
```{R, eval = FALSE}
install.packages("cat3advice", repos = c("https://ices-tools-prod.r-universe.dev", "https://cran.r-project.org"))
```
It is also possible to install it directly from the GitHub repository. However, this means building the package locally and requires the necessary build tools (e.g. on Windows RTools https://cran.r-project.org/bin/windows/Rtools/ and the `devtools` R package).
```{R, eval = FALSE}
library(remotes)
install_github("shfischer/cat3advice")
```
## Support
Please use the repository's [issue page](https://github.com/shfischer/cat3advice/issues) to report issues, bugs, and feature requests.