##' last IntAct (all IMEx databases) release
##' @name lastIntActRelease
##' @return character string specifying the year, month, day, and the hour when the IntAct data file was last modified
##' @import data.table
##' @export lastIntActRelease
##'
lastIntActRelease = function(){
message("... looking for the date of the latest IntAct release ...")
last_release = fread("ftp://ftp.ebi.ac.uk/pub/databases/intact/current/", showProgress=FALSE)
last_release = last_release[V9 == "all.zip", paste0(V6,V7)]
return(paste0(year(Sys.Date()), last_release))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.