Spaces:
Sleeping
Sleeping
Delete packages.R
Browse files- packages.R +0 -22
packages.R
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
options(repos = c(CRAN = "https://cloud.r-project.org"))
|
| 2 |
-
|
| 3 |
-
if (!requireNamespace("remotes", quietly = TRUE)) {
|
| 4 |
-
install.packages("remotes", repos = "https://cloud.r-project.org")
|
| 5 |
-
}
|
| 6 |
-
cat("R version:", R.version.string, "\n")
|
| 7 |
-
cat(".libPaths:\n"); print(.libPaths())
|
| 8 |
-
|
| 9 |
-
# Try installing lapop with explicit args for debugging
|
| 10 |
-
tryCatch({
|
| 11 |
-
remotes::install_github('lapop-central/lapop',
|
| 12 |
-
dependencies = TRUE,
|
| 13 |
-
force = TRUE,
|
| 14 |
-
build_vignettes = FALSE,
|
| 15 |
-
upgrade = 'never',
|
| 16 |
-
args = '--no-multiarch --no-test-load')
|
| 17 |
-
cat('lapop install succeeded\n')
|
| 18 |
-
}, error = function(e) {
|
| 19 |
-
message('lapop install failed: ')
|
| 20 |
-
message(e)
|
| 21 |
-
stop(e)
|
| 22 |
-
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|