inst/doc/rd-S4.R

## -----------------------------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## -----------------------------------------------------------------------------
# #' An S4 class to represent a bank account
# #'
# #' @slot balance A length-one numeric vector
# #' @export
# Account <- setClass("Account", slots = list(balance = "numeric"))

Try the roxygen2 package in your browser

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

roxygen2 documentation built on May 1, 2026, 5:06 p.m.