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"
r-pkgs/pkgload documentation built on Feb. 5, 2024, 5:43 a.m.