-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
58 lines (40 loc) · 1.61 KB
/
Copy pathREADME.Rmd
File metadata and controls
58 lines (40 loc) · 1.61 KB
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
54
55
56
57
---
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%"
)
```
# emptyfield
<!-- badges: start -->
[](https://github.com/emptyfield-ds/emptyfield/actions)
<!-- badges: end -->
The goal of emptyfield is to download learning materials for Empty Field Data Science courses and workshops, as well as to install any required packages. emptyfield also allows you to open a given module in RStudio Cloud.
## Installation
You can install the latest version of emptyfield with:
``` r
options(repos = c(
emptyfieldds = "https://emptyfield-ds.r-universe.dev",
CRAN = "https://cran.rstudio.com/"
))
install.packages("emptyfield")
```
## Installing modules
`use_module()` will install the materials for a given module on your computer. Then, it will open a new RStudio Project containing the files you"ll need.
``` r
emptyfield::use_module("module_name")
```
By default, this package downloads the materials to a conspicuous place like your Desktop. You can also tell `use_module()` exactly where to put the materials with `destdir`:
``` r
emptyfield::use_module("module_name", destdir = "a/path/on/your/computer")
```
## Opening modules in RStudio Cloud
`browse_cloud()` opens a module in RStudio Cloud, where the materials and all necessary tooling will be pre-installed. This requires an RStudio Cloud account.
``` r
emptyfield::browse_cloud("module_name")
```