-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
42 lines (30 loc) · 1.23 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
---
title: "`r read.dcf('DESCRIPTION', fields = 'Package')[1]`"
author: "`r rworkflows::use_badges(branch='main', add_hex = FALSE, add_codecov_graphs = FALSE)`"
date: "README updated: <i>`r format( Sys.Date(), '%b-%d-%Y')`</i>"
output:
github_document
---
<!-- To modify Package/Title/Description/Authors fields, edit the DESCRIPTION file -->
```{r, echo=FALSE, include=FALSE}
pkg <- read.dcf("DESCRIPTION", fields = "Package")[1]
title <- read.dcf("DESCRIPTION", fields = "Title")[1]
description <- read.dcf("DESCRIPTION", fields = "Description")[1]|>
gsub(pattern="\n",replacement=" ")
URL <- read.dcf('DESCRIPTION', fields = 'URL')[1]
owner <- tolower(strsplit(URL,"/")[[1]][4])
```
## `r pkg`: `r title`
### `r description`
MonarchR provides a tidy interface to data hosted at <https://monarchinitiative.org>.
- [Website](https://%60r%20owner%60.github.io/%60r%20pkg%60)
- [Get started](https://%60r%20owner%60.github.io/%60r%20pkg%60/articles/%60r%20pkg%60)
<!-- If you use ``r pkg``, please cite: -->
<!-- Modify this by editing the file: inst/CITATION -->
<!-- > `r utils::citation(pkg)$textVersion` -->
Installation:
``` r
if(!require("remotes")) install.packages("remotes")
remotes::install_github("`r URL`")
library(`r pkg`)
```