-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
81 lines (64 loc) · 2.31 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# sablefish
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/pfmc-assessments/sablefish/workflows/R-CMD-check/badge.svg)](https://github.com/pfmc-assessments/sablefish/actions?query=workflow%3AR-CMD-check)
<!-- badges: end -->
Welcome to {sablefish}. This repository was created in 2023 for the limited
sablefish update.
## Installation
You can install {sablefish} from [GitHub](https://github.com/) with
``` r
# install.packages("pak")
pak::pkg_install("pfmc-assessments/sablefish")
```
## Workflow
### File structure
This repository is structured like an R package to ease the installation
process and increase the ability to easily test code. Please follow the
following guidelines for the placement of files.
```bash
├───.github
│ └───workflows
├───data
├───data-raw
├───man
│ └───figures
│ └───README-
├───R
├───sandbox
└───tests
└───testthat
```
Where
* data is for data in its final form that will be included in the
assessment or assessment document, do not commit these files;
* data-raw is for data files and .R scripts used to transform these raw files
into something that is saved in data;
* man stores .Rd files and figures used in the documentation;
* R stores .R scripts that are loaded when building the package, this means
functions only;
* sandbox is for exploratory scripts; and
* tests is for formal tests.
### Rebase, no merge
Please do not merge main into your feature branch or main; this repository will
operate using a rebase strategy only to facilitate a linear commit history.
### README
Please render this file every time you change it, and thus, all commits that
include README.Rmd should include associated changes in README.md. A pre-commit
hook will stop you from just committing this file if you have not also updated
and staged changes to README.md.
```r
devtools::build_readme()
```