Skip to content
Snippets Groups Projects
Commit 8ad53e3d authored by Florian Angerer's avatar Florian Angerer
Browse files

Remove obsolete function 'system.install'.

parent 17fecd98
Branches
No related tags found
No related merge requests found
......@@ -788,21 +788,6 @@ gnu_rscript <- function() {
}
}
system.install <- function(pkgname) {
script <- normalizePath("com.oracle.truffle.r.test.packages/r/install.package.R")
if (is.fastr()) {
rscript = file.path(R.home(), "bin", "Rscript")
} else {
rscript = gnu_rscript()
}
args <- c(script, pkgname, paste0(contrib.url(getOption("repos"), "source"), collapse=","), lib.install, as.character(pkg.cache$enabled))
if (pkg.cache$enabled) {
args <- c(args, pkg.cache$version, pkg.cache$dir)
}
rc <- system2(rscript, args)
rc
}
check.create.dir <- function(name) {
if (!file.exists(name)) {
if (!dir.create(name)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment