-
Notifications
You must be signed in to change notification settings - Fork 42
writing documentation
Dan Kelley edited this page Feb 26, 2023
·
1 revision
Documentation is written in the R code, using the Roxygen2 convention. Some hints:
- The documentation of function parameters should be of the form
#' @param epsilon numeric value indicating...
That is, start the explanation in lower-case, giving the type of the parameter.
-
Consider using templates for arguments that are repeated often (they go in the
man-roxygen
directory). -
When a local or remote test indicates a broken link in documentation, follow the procedure listed at the section entitled handling broken links in documentation.