-
Notifications
You must be signed in to change notification settings - Fork 4
/
README-template.Rmd
37 lines (26 loc) · 862 Bytes
/
README-template.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
---
output:
md_document:
variant: gfm
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
# README Template
--------
To use:
* Copy to README.Rmd in your repo
* Add your text between these lines
* Then this Rmd file can be knitted to README.md or put in a package for **pkgdown**
The README.Rmd will source the FIT resources to add the standard disclaimer and NOAA Fisheries footer with images.
--------
**************
```{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 add-footer, echo=FALSE, results='asis'}
url <- "https://raw.githubusercontent.com/nmfs-fish-tools/Resources/master/footer.md"
childtext <- readLines(url)
cat(childtext, sep="\n")
```