# NOT RUN {
tlib = tempfile()
dir.create(tlib, showWarnings = FALSE)
system.time({
install.packages("oro.asl",
lib = tlib,
repos = "https://neuroconductor.org/releases/2019/12/")
})
repos = getOption("repos")
print(repos)
#if (repos["CRAN"] == "@CRAN@") {
# repos["CRAN"] = "https://cloud.r-project.org"
# options(repos = repos)
#}
options(repos = NULL)
print(getOption("repos"))
neuro_install("oro.asl", lib = tlib,
release_repo = "https://neuroconductor.org/releases/2019/12")
options(repos = repos)
# }
# NOT RUN {
neuro_install("cifti", type = "source", lib = tlib)
neuro_install("cifti",
release_repo = latest_neuroc_release("stable"),
lib = tlib)
neuro_install("cifti", release_repo = "github")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab