This repo utilizes vagrant to test the install scripts. Please make sure you download the latest version of vagrant before contribulating to the project.
- Fork the repository on Github
- Create a named feature branch (like
add_package_x_support) - Write you change (see next section below)
- Write tests for your change (see next section below)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- Create a directory with the same name as the r package you are adding support for. The directory MUST BE case sensitive.
mkdir packages/<r_package_name>- Create a bash script in the directory named
installand give it executable permissions
touch packages/<r_package_name>/install
chmod 755 packages/<r_package_name>/install-
Write your install bash script to install all the dependencies of your R package.
-
Create a
test.Rfile in the same directory.
touch packages/<r_package_name>/test.R-
Write this R script to install the R package and run some basic code to ensure that the package is installed correctly and functional.
-
Test your install via running this command.
vagrant docker-run shinyapps-package-dependencies -- /vagrant/test <r_package_name>