-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
45 lines (32 loc) · 1.55 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
---
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%"
)
```
# phsverse
This package is designed to make it easy to install and load multiple packages developed in PHS in a single step. It is created with [metamakr](https://github.com/jdtrat/metamakr) and
combines our [Public Health Scotland (PHS)](https://www.publichealthscotland.scot/) packages on GitHub:
- [phstemplates](https://github.com/Public-Health-Scotland/phstemplates)
- [phsmethods](https://github.com/Public-Health-Scotland/phsmethods)
- [phsstyles](https://github.com/Public-Health-Scotland/phsstyles)
## Installation
To install `phsverse`, the package `remotes` is required, and can be installed with `install.packages("remotes")`.
You can then install `phsverse` on RStudio server from GitHub with:
```{r gh-installation, eval = FALSE}
remotes::install_github("Public-Health-Scotland/phsverse",
upgrade = "never"
)
```
Network security settings may prevent `remotes::install_github()` from working on RStudio desktop. If this is the case, you have to disconnect VPN first and then use the same code as downloading from RStudio server. Please note that unlike the other PHS GitHub packages, it can not be installed by downloading the [zip of the repository](https://github.com/Public-Health-Scotland/phsverse/archive/master.zip).
## Using phsverse
Load `phsverse` using `library()`:
```{r load}
library(phsverse)
```