forked from apreshill/campout
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.Rmd
57 lines (45 loc) · 2.23 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
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%"
)
```
# campout: Converting DataCamp material to another, free format
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![Travis build status](https://travis-ci.org/lwjohnst86/campout.svg?branch=master)](https://travis-ci.org/lwjohnst86/campout)
[![Codecov test coverage](https://codecov.io/gh/lwjohnst86/campout/branch/master/graph/badge.svg)](https://codecov.io/gh/lwjohnst86/campout?branch=master)
<!-- badges: end -->
The goal of campout is for instructors of a DataCamp course to easily begin
converting their course into an alternative format that allows others to take
their course without having to get a DataCamp subscription. Use this if you,
for instance, want to [distance yourself from DataCamp](https://noamross.github.io/datacamp-sexual-assault/),
had your course cancelled and still want the material to be available to others,
or you disagree with other aspects of how DataCamp conducts themselves.
## Installation
You can install the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("lwjohnst86/campout")
```
# Usage
So far there is only one conversion to the [learnr tutorials](https://rstudio.github.io/learnr), with this function:
``` r
datacamp_to_learnr_pkg("path/to/data-camp-course",
# Folder the new material will be converted and saved to.
"path/to/new-learnr-package",
"Your name here")
```
- **Note**: This roughly converts your DataCamp material to the learnr tutorial
format... it is *not* perfect!! So please make sure to look through all your
material before publicizing!
- Also *note*, so far the slides are only converted to a text document, they
are not slides. If you have the original videos of the slides, you can insert
the video link into the chapter documents, which will then include the video
files for you in the tutorial.