mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-10-30 02:31:52 +01:00
21 lines
391 B
R
21 lines
391 B
R
|
library(roxygen2)
|
||
|
library(devtools)
|
||
|
|
||
|
# Packing for publication
|
||
|
|
||
|
setwd("/Users/andreas/Documents/GitHub/daDoctoR"); document()
|
||
|
|
||
|
|
||
|
setwd(".."); install("daDoctoR")
|
||
|
|
||
|
# Install from GitHub
|
||
|
|
||
|
setwd("/"); devtools::install_github('agdamsbo/daDoctoR'); library(daDoctoR)
|
||
|
|
||
|
"https://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/"
|
||
|
|
||
|
# Fixes
|
||
|
|
||
|
remove.packages("daDoctoR"); .rs.restartR()
|
||
|
|