{rotulador}

The goal of {rotulador} is to provide functions for programming and generating documents in R. It’s a tools to help developers and producers manipulate R objects and outputs.

Installation

πŸŽ‰ {rotulador} is now available on CRAN! πŸŽ‰

To install it, you have to launch the following command line:

install.packages("rotulador")

You can install the development version of {rotulador} from GitHub with:

# install.packages("pak")
# pak::pak("TractorTom/rotulador")
install.packages("rotulador", repos = c('https://tractortom.r-universe.dev', 'https://cloud.r-project.org'))

Example

Formating code top include in a document:

library("rotulador")

code <- "x <- 1:10\nmean(x)"
clipr::write_clip(code)
render_code(code, format = "html")