dockertest
dockertest copied to clipboard
Run tests in docker containers
As recommended on the [rocker wiki (https://github.com/rocker-org/rocker/wiki#installing-binaries). Instructions are [here](http://cran.r-project.org/bin/linux/debian/README.html).
I see that in `mortality_bci` and associated repos we still end up with: ``` RUN mkdir /root/mortality_bci \ && echo "clone.sh /root/mortality_bci" >> /root/.bashrc \ && echo "system('clone.sh /root/mortality_bci')" >...
They send a weekly digest with links, [e.g.](http://go.docker.com/webmail/44082/360449959/1b799b03b69cb3caa5bfe6764291e455)
After building a docker image, the launch script produced includes an absolute path, e.g. from [mortality_bci](https://github.com/traitecoevo/mortality_bci/blob/09a9ac3f8b989292eca46591a133e89bb8241eff/docker/mortality_bci/launch.sh) ``` #!/bin/bash set -e $(boot2docker shellinit 2> /dev/null) docker run -v /Users/rich/Documents/Projects/veg/mortality_bci:/src -it richfitz/mortality_bci...
``` dockertest::snapshot(filename="dockertest.yml") ``` Dump out a file suitable for dockertest ingest. We can use devtools' updates to package DESCRIPTIONs to work out what packages are installed via github, assume the...
Could use `getOption("dockertest.username", "dockertest")` It could also be an option within the yml separate from the `names:` bit? Not clear how that would interact though....
I don't remember :(
https://github.com/metacran/sysreqs
Can you specify dependencies from other standard R repositories as well? (Or more ideally, just extract the repositories URLs from the AdditionalRepositories list of the DESCRIPTION file)