update_procedure.Rmd
The OomyceteDB database available to the public is released in discreet versions to allow for reproducible analyses. Therefore, in order to update the database, a new release must be made. These releases are derived from the spreadsheet file stored on Google Drive and stored in the oomycetedbdata
package on Github. Once the source data for the database is ready for public use, the release
function can be used to create a release. In order to use the release
function, the user will need permission to edit the spreadsheet file stored on Google Drive and the oomycetedbdata
repository on Github.
Making a release requires very little R code by design. First, open up a R session. You can do this using RStudio or the command line / terminal. If you have not yet done it, install the oomycetedbtools
package by copy and pasting the following code into the R console:
install.packages('devtools')
devtools::install_github("grunwaldlab/oomycetedbtools")
Then start the interactive release process by entering:
oomycetedbtools::release()
release
function doesThe release
function helps to ensure releases of the database are done in a consistent and error-free manner as well as automating most steps to reduce the time and effort needed to make a release. It is an interactive function that walks the user through potential problems with the database, how to fix them, and what information is needed. The release
function does this in the following steps:
oomycetedbdata
repository on Github.oomycetedbdata
package on their local computer for manual upload.