I need to include several bash scripts in the R package that I am writing. I would like to distribute them with the package, so when the user installs the package through devtools::install_github(...)
, he also receives scripts.
I know that this is possible, but I do not know how to do it. Including files in a subdirectory scripts
seems insufficient. I need a tool to say R (or RStudio) to turn them on.
I use RStudio for development, so I would appreciate a solution that integrates with the "Build package" functionality provided by RStudio.
source
share