Skip to contents

The goal of demopkg is to practice making a package.

Installation

You can install the development version of demopkg like this:

devtools::install_github("psyteachr/demopkg")

Coding Club

This demo package can be used to allow people to catch up with the Coding Club 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).

# 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: package structure, DESCRIPTION file, license, and README
  2. Adding data: dataset self_res_att included
  3. Custom functions: added functions round0() and apa_t_pair()