Skip to content

Instantly share code, notes, and snippets.

Avatar

Gergely Daróczi daroczig

View GitHub Profile
@daroczig
daroczig / buildpkg.R
Created Apr 17, 2012 — forked from aL3xa/buildpkg.R
Build, Check, Install and (Re)Load R Package
View buildpkg.R
b <- function(path = "package/", ...){
require(devtools)
require(roxygen2)
pkg <- as.package(path) # package pointer
## update documentation
message("Updating documentation...")
roxygenise(path, ...)