R/function.R

#' How to document functions.
#'
#' This is an example showing how to document functions to be included in the package.
#'
#' @export
#' @name examplefunction
#' @author Francisco Rodriguez-Sanchez
#' @param text Message to print.
#' @seealso \url{http://r-pkgs.had.co.nz/man.html}
#' @examples
#' examplefunction('Hello world!')

examplefunction <- function(text){
  cat(text)
}
Pakillo/thermophilization documentation built on May 7, 2019, 11:57 p.m.