|
1 | | -[](https://ci.appveyor.com/project/KWB-R/kwb-pkgbuild/branch/master) |
2 | | -[](https://travis-ci.com/KWB-R/kwb.pkgbuild) |
| 1 | +[](https://github.com/KWB-R/kwb.pkgbuild/actions?query=workflow%3AR-CMD-check) |
| 2 | +[](https://github.com/KWB-R/kwb.pkgbuild/actions?query=workflow%3Apkgdown) |
3 | 3 | [](https://codecov.io/github/KWB-R/kwb.pkgbuild) |
4 | 4 | [](https://www.tidyverse.org/lifecycle/#experimental) |
5 | 5 | []() |
| 6 | +[](https://kwb-r.r-universe.dev/) |
6 | 7 | [](https://doi.org/10.5281/zenodo.3387180) |
7 | 8 |
|
8 | | - |
9 | | - |
10 | 9 | Helper functions for automating R package development at KWB |
11 | 10 | to a predefined style. |
12 | 11 |
|
13 | 12 | ## Installation |
14 | 13 |
|
| 14 | +For details on how to install KWB-R packages checkout our [installation tutorial](https://kwb-r.github.io/kwb.pkgbuild/articles/install.html). |
| 15 | + |
15 | 16 | ```r |
16 | | -#install.packages("remotes", repos = "https://cloud.r-project.org") |
17 | | -remotes::install_github("kwb-r/kwb.pkgbuild", INSTALL_opts = c('--no-multiarch')) |
| 17 | +### Optionally: specify GitHub Personal Access Token (GITHUB_PAT) |
| 18 | +### See here why this might be important for you: |
| 19 | +### https://kwb-r.github.io/kwb.pkgbuild/articles/install.html#set-your-github_pat |
| 20 | + |
| 21 | +# Sys.setenv(GITHUB_PAT = "mysecret_access_token") |
| 22 | + |
| 23 | +# Install package "remotes" from CRAN |
| 24 | +if (! require("remotes")) { |
| 25 | + install.packages("remotes", repos = "https://cloud.r-project.org") |
| 26 | +} |
| 27 | + |
| 28 | +# Install KWB package 'kwb.pkgbuild' from GitHub |
| 29 | +remotes::install_github("KWB-R/kwb.pkgbuild") |
18 | 30 | ``` |
0 commit comments