knitr::opts_chunk$set(cache = TRUE, echo = TRUE, eval = FALSE) library(SpaDES)
SpaDES module repositoriesA 'module repository' is simply a web site that serves files using a particular directory structure (the same directory structure used in a local SpaDES module repo).
Our module repo is at https://github.com/PredictiveEcology/SpaDES-modules
This is the default repo in SpaDES.
- it's public - it's easily accessible using `downloadModule()`
getOption('spades.moduleRepo') ## default url prefix is GitHub.com
SpaDES module repositoriesAnybody can create their own repository as well (R has CRAN, Rforge, BioConductor and many lesser used ones)
downloadModule() has a repo argument.
SpaDES module repositorySpaDES modules will not be thereGithub.com is a free* code archive and hosting service.
Allows hosting of public and private code repositories, build around git version control software.
GitHub provides:
We, and many others, use GitHub extensively for all our group's work
For your local copy of the files, you need an extra piece of software on your computer (like the "Dropbox client")
git and GitHub both require a bit of learning:
There are many other great git clients:
shiny appsshine functionSpaDES.shiny (on GitHub) has a simple function that takes any simList and makes a web app from it:
?shine
hosted apps at shinyapps.io
Where was that?
Where was that?
sourceURL in defineModule and create an .inputObjects function which will do all the manipulationsSpaDES doesn't tap into those (yet!)The default data will not be used
checksums
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.