Anton Antonov (@tonytonov)
Pros
Cons
source("\\\\XXX.YYY.144.62\\[...]\\ [...]_helper_functions_v2 - NEW.r")
library(yourpkg)
Meta information
DESCRIPTION
NAMESPACE
Front page of your package
R package is a tool,
so create functions, not objects
Be consistent
Easily created via roxygen
Roxygen marker: #'
@param name description
@return description
@importFrom package function
@export
roxygen will take care of it!
testthat will take care of it!
devtools::session_info devtools::check devtools::document devtools::test devtools::build
ggplot2
C:/Users/.../R/win-library/3.4
library(ggplot2)
"Go to library and load package ggplot2"