tests/testthat/testHelp/R/foofoo.r

#' Test function for help
#'
#' The purpose of this function is to test out \code{help} and \code{?} from
#' devtools.
#'
#' @export
#' @examples
#' a <- 101
foofoo <- function() "You called foofoo."

#' testHelp: some title
#' Some description
"_PACKAGE"

#' Function level help for testHelp
#'
#' @export
testHelp <- function() "You called testHelp"

#' Function that has a system macro
#'
#' This is \CRANpkg{pkgload}.
#'
#' @export
testSysMacro <- function() "It is all good"

#' Function that has a system and a custom macro
#'
#' This is \CRANpkg{pkgload}. \foobar{Yeah!}
#'
#' @export
testCustomMacro <- function() "It is still all good"

Try the pkgload package in your browser

Any scripts or data that you put into this service are public.

pkgload documentation built on June 28, 2024, 5:07 p.m.