-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
49 lines (36 loc) · 1.75 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
43
44
45
46
47
48
49
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
options(width = 180)
```
<!-- badges: start -->
[](https://github.com/cynkra/cynkrathis/actions)
[](https://codecov.io/github/cynkra/cynkrathis?branch=main)
[](https://www.r-pkg.org/badges/version/cynkrathis)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://www.codefactor.io/repository/github/cynkra/cynkrathis)
<!-- badges: end -->
# cynkrathis
Package to simplify project scaffolding and common {renv} related tasks.
## cynkra RSPM snapshots
cynkra makes use of certain RStudio Package Manager (RSPM) snapshots across projects.
Usually each R Version is tied to a snapshot near it's release date.
If a snapshot is considered unstable due to certain R package version clashes, additional snapshots for specific R versions can be listed.
```{r }
head(cynkrathis::get_snapshots(), 10)
```
## Initialize {renv} with a given RSPM snapshot
By default `init_renv()` will select the `"recommended"` snapshot of the R version which is currently used.
```{r, eval=FALSE}
cynkrathis::init_renv()
```
## Miscellaneous helpers
See the grouped [pkgdown reference](https://cynkrathis.cynkra.com/reference/index.html).