-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
62 lines (41 loc) · 2.08 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
58
59
---
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%"
)
```
# demopkg <img src="man/figures/logo.png" align="right" height="139" />
<!-- badges: start -->
[![DOI:10.1098/rspb.2004.2824](https://img.shields.io/badge/doi-10.1098/rspb.2004.2824-firebrick.svg)](https://doi.org/10.1098/rspb.2004.2824)
[![ORCiD:0000-0002-7523-5539](https://img.shields.io/badge/ORCiD-0000--0002--7523--5539-dodgerblue.svg)](https://orcid.org/0000-0002-7523-5539)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
<!-- badges: end -->
The goal of demopkg is to practice making a package.
## Installation
You can install the development version of demopkg like this:
``` r
devtools::install_github("psyteachr/demopkg")
```
```{r, eval= FALSE}
library(demopkg)
```
### Coding Club
This demo package can be used to allow people to catch up with the [Coding Club](https://psyteachr.github.io/intro-r-pkgs/) sessions.
To clone this package project to your computer, download the zip file using the green Code button above.
Alternatively, you can run the following code. Set `destdir` to the directory where you want to save this project directory (defaults to your current working directory).
```{r, eval = FALSE}
# set fork = TRUE if you want to fork to your github
usethis::create_from_github("psyteachr/demopkg",
destdir = "./",
fork = FALSE)
```
The list below shows what is currently included in the package.
1. [Setting up](https://psyteachr.github.io/intro-r-pkgs/01-setup.html): package structure, DESCRIPTION file, license, and README
2. [Adding data](https://psyteachr.github.io/intro-r-pkgs/02-data.html): dataset `self_res_att` included
3. [Custom functions](https://psyteachr.github.io/intro-r-pkgs/03-functions.html): added functions `round0()` and `apa_t_pair()`