Quick instructions for package workflow

This document provides a quick resource and basic instructions for working on package development.

# Restard R and set working directory to this file location
install.packages("devtools")
library(devtools)
devtools::install_github("klutometis/roxygen")
library(roxygen2)
#setwd("./LeftysRpkg") - set working directory to source file location
setwd(file.path(dirname(dirname(getwd()))))
getwd()
devtools::document()
setwd("..")
devtools::install("LeftysRpkg")

To load documents

system.file()


leftygray/LeftysRpkg documentation built on Feb. 11, 2024, 5:13 p.m.