-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
41 lines (31 loc) · 870 Bytes
/
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
---
output:
md_document:
variant: gfm
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
# TestPackage
A small package for students to experiment with.
To install, use this code. You might need to install the **devtools** package.
```
# install.packages("devtools")
devtools::install_github("RWorkflow-Workshop-2021/week6-testpackage")
```
To run the example
```
library(TestPackage)
dat <- WWWusage
littleforecast(dat, nyears=100)
```
****
```{r add-disclaimer, echo=FALSE, results='asis'}
url <- "https://raw.githubusercontent.com/nmfs-fish-tools/Resources/master/Disclaimer.md"
childtext <- readLines(url)
cat(childtext, sep="\n")
```
****
```{r footer, echo=FALSE, results='asis'}
url <- "https://raw.githubusercontent.com/nmfs-fish-tools/Resources/master/footer.md"
childtext <- readLines(url)
cat(childtext, sep="\n")
```