How to include bash scripts in a package?

Viewed 511

I need to include several bash scripts in the R package I'm writing. I'd love to distribute them together with the package, so when a user installs the package via devtools::install_github(...) he/she gets the scripts as well.

I know it is possible, but I don't know how. Including the files in the scripts subdirectory doesn't seem to suffice. I need a means to tell R (or RStudio) to include them.

I use RStudio for development, so I would appreciate a solution that integrates with the "Build package" functionality that RStudio provides.

1 Answers
Related