add_package_snippets: Export package-specific R snippets

View source: R/project_management.R

add_package_snippetsR Documentation

Export package-specific R snippets

Description

add_package_snippets copies all (missing) snippet definitions in 'inst/rstudio/r.snippets' and 'rmd.snippets' (if not empty) to the RStudio user snippet location.

Usage

add_package_snippets()

Value

boolean invisible(FALSE) if nothing was added, invisible(TRUE) if snipped definitions were added

Source

https://stackoverflow.com/a/62223103/10581449

Examples

## Not run: 
add_package_snippets()

## End(Not run)

LukasWallrich/timesaveR documentation built on Nov. 29, 2024, 4:47 a.m.