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
You can install the development version of rotulador from GitHub with:
# install.packages("remotes")
remotes::install_github("TractorTom/rotulador")
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")