dev_history.Rmd for working package

library(testthat)

Two examples for one function

#' my_twoexamples
#' @param x x
#' @export
my_twoexamples <- function(x) {
  x + 10
}
#' \dontrun{
my_twoexamples(10)
#' }
my_twoexamples(20)

There can be development actions

# Run but keep eval=FALSE to avoid infinite loop
# Execute in the console directly
fusen::inflate(flat_file = "dev/dev_history.Rmd")


Try the fusen package in your browser

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

fusen documentation built on Aug. 17, 2023, 5:09 p.m.