if (isRCloud()) { # disabled on local configs
# so as not to affect package building process
par(ask = FALSE)
# the following piece of code will take ~1.5 hours to complete
#
# if executed on a local PC, make sure tools are available
# to the pipeline.
#
# create directory
#
# Please note, tempdir() is used for automamtic test
# execution. Select directory more appropriate and
# suitable for keeping reference data.
#
referencefolder = paste(tempdir(), "/reference", sep = "")
dir.create(referencefolder)
# download and prepare annotation
prepareAnnotation("Homo_sapiens", "current", location = referencefolder)
prepareAnnotation("Mus_musculus", "NCBIM37.61", location = referencefolder)
}
Run the code above in your browser using DataLab