inst/doc/use_renv.R

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

## ----setup--------------------------------------------------------------------
library(attachment)

## ---- echo=FALSE--------------------------------------------------------------
attachment:::extra_dev_pkg

## ---- eval=FALSE--------------------------------------------------------------
#  create_renv_for_dev() # with all default above
#  create_renv_for_dev(dev_pkg = "attachment") # with {attachment} only
#  create_renv_for_dev(dev_pkg = c("_default", "DT")) # for all default and {DT}

## ---- eval=FALSE--------------------------------------------------------------
#  create_renv_for_prod(output = "renv.lock.prod")

Try the attachment package in your browser

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

attachment documentation built on June 7, 2023, 5:19 p.m.