Skip to content

Commit 04d48c8

Browse files
authored
Create About.md
1 parent daa6abd commit 04d48c8

File tree

1 file changed

+23
-0
lines changed
  • package-dev-modules/slides/04-package-documentation

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Package documentation
2+
3+
This workshop shows you how to document your package.
4+
5+
## Learning Objectives
6+
7+
At the end of this module the successful learner will be able to:
8+
- recognise the different levels of package documentation: Metadata, Object documentation, Vignettes and pkgdown sites
9+
- explain, create and populate a DESCRIPTION file
10+
- know how to add package dependencies with usethis::use_package() and the difference between Imports and Suggests
11+
- explain the components of a LICENSE file
12+
- add object documentation using roxygen2 and devtools::document()
13+
- explain what a vignette is and create one with usethis::use_vignette()
14+
- know how pkgdown sites can be created
15+
16+
17+
## Prerequisites
18+
You need to have:
19+
- "[Packages in a nutshell](http://bit.ly/pkg-dev-1)" or equivalent experience
20+
- "[Setting up your system](http://bit.ly/pkg-dev-2)" or equivalent experience
21+
- "[Your first package]"(http://bit.ly/pkg-dev-3) or equivalent experience
22+
- the packages devtools, roxygen2, testthat and knitr installed
23+
- R build toolchain: Rtools(windows) or XCode (mac) or r-base-dev

0 commit comments

Comments
 (0)