- Part A
- R-packages – an introduction (10 minutes)
- Structure and contents of R-packages (30 minutes)
- From scripts to functions (20 minutes)
- Part B
- Building a template package the prospective way (10 minutes)
- Maintaining a package (20 minutes)
January 18, 2017
By the way, Hadley Wickhams Advanced R is a warm recommendation.
devtools
by Hadley Wickhamryoxygen2
by Hadley WickhamPackages comprise the full set of self-contained components
Libraries are no packages! Libraries host packages. You pull a package from the library.
The code is automatically tested (by your examples and other routines)
Working with packages simply saves time and brain cells
A working example (you better don't trust the documentation)
A set of further stuff that will be covered later
Title: Environmental seismology toolbox Description: A collection of functions to handle seismic data for the purpose of investigating the seismic signals emitted by Earth surface processes. The package supports inporting standard formats, data preparation and analysis techniques and data visualisation.
Authors@R: person("First", "Last", email = "first.last@example.com", role = c("aut", "cre"))
citation("PACKAGENAME", auto = TRUE)
The key element to inform who can use the package for which purpose!
License: file LICENSE
) or a keyword of standard licenses (read more):
They are more than just counters, they define dependency satisfactions
Make use of a NEWS file to announce version history and changes.