-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathREADME.Rmd
53 lines (35 loc) · 989 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
output:
github_document:
html_preview: false
---
<!-- 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]
URL <- read.dcf('DESCRIPTION', fields = 'URL')[1]
owner <- strsplit(URL,"/")[[1]][4]
gh <- sprintf("%s/%s", owner, pkg)
```
## ``r pkg``: `r title`
`r description`
If you use ``r pkg``, please cite:
<!-- Modify this by editing the file: inst/CITATION -->
> `r utils::citation(pkg)$textVersion`
## :writing_hand: Authors
YuLab\@SMU <https://yulab-smu.top>
## Installation
```R
# to install cran version
install.packages("`r pkg`")
# to install github version
if(!require("remotes")) install.packages("remotes")
remotes::install_github("`r gh`")
```
## Usages
```R
library(`r pkg`)
run_shinyTempSignal()
```
<br>