inst/example_packages/exampleGood/R/rd_data_sampler.R

#' Rd data sampler
#'
#' An example of dataset documentation
#'
#' @format A data.frame with 3 rows and 2 variables:
#' \describe{
#'   \item{x}{Numeric values}
#'   \item{y}{Character values}
#' }
#'
#' @source <r.d.sampler/>
#'
#' @docType data
#' @examples
#' rd_data_sampler
#'
#' @export
#'
rd_data_sampler <- data.frame(x = 1:3, y = letters[1:3])

Try the checked package in your browser

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

checked documentation built on June 10, 2025, 9:08 a.m.