addPackageSnippets: Export snippets

View source: R/snippet.R

addPackageSnippetsR Documentation

Export snippets

Description

addPackageSnippets copies all (missing) snippet definitions in 'inst/rstudio/Rsnippets.txt' and 'Rmdsnippets.txt' to the RStudios user snippet location.

Usage

addPackageSnippets()

Value

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

References

https://stackoverflow.com/questions/62220596/can-r-packages-add-code-snippets-to-users-snippet-files

Examples

## Not run: 
addPackageSnippets()

## End(Not run)

hiplot/hiplotlib documentation built on Jan. 31, 2024, 10:11 a.m.