Diff of /README.Rmd [000000] .. [fb0f7e]

Switch to unified view

a b/README.Rmd
1
---
2
output: github_document
3
---
4
5
<!-- README.md is generated from README.Rmd. Please edit that file -->
6
7
```{r, include = FALSE}
8
knitr::opts_chunk$set(
9
  collapse = TRUE,
10
  comment = "#>",
11
  fig.path = "man/figures/README-",
12
  out.width = "100%"
13
)
14
```
15
16
# PLCOm2012
17
18
<!-- badges: start -->
19
<!-- badges: end -->
20
21
The goal of PLCOm2012 is to ...
22
23
## Installation
24
25
You can install the released version of PLCOm2012 from [CRAN](https://CRAN.R-project.org) with:
26
27
``` r
28
install.packages("PLCOm2012")
29
```
30
31
And the development version from [GitHub](https://github.com/) with:
32
33
``` r
34
# install.packages("devtools")
35
devtools::install_github("resplab/PLCOm2012")
36
```
37
## Example
38
39
This is a basic example which shows you how to solve a common problem:
40
41
```{r example}
42
library(PLCOm2012)
43
## basic example code
44
```
45
46
What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so:
47
48
```{r cars}
49
summary(cars)
50
```
51
52
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this. You could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: <https://github.com/r-lib/actions/tree/master/examples>.
53
54
You can also embed plots, for example:
55
56
```{r pressure, echo = FALSE}
57
plot(pressure)
58
```
59
60
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.