Skip to content
Snippets Groups Projects
Commit 73602222 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

[GR-5451] Add fixed list of top100 packages for testing, small fixes to install.packages script.

PullRequest: fastr/1090
parents 4f22877b 8b40feac
Branches
No related tags found
No related merge requests found
...@@ -970,8 +970,10 @@ get.initial.package.blacklist <- function() { ...@@ -970,8 +970,10 @@ get.initial.package.blacklist <- function() {
do.find.top100 <- function() { do.find.top100 <- function() {
avail.pkgs <- available.packages(type="source"); avail.pkgs <- available.packages(type="source");
install.packages('cranlogs') if (!require('cranlogs', quietly = T)) {
library('cranlogs') install.packages('cranlogs', quiet = T)
library('cranlogs', quietly = T)
}
top100 <- cran_top_downloads(when = c("last-day", "last-week", "last-month"), count = 100) top100 <- cran_top_downloads(when = c("last-day", "last-week", "last-month"), count = 100)
names <- top100[['package']] names <- top100[['package']]
l = length(names) l = length(names)
...@@ -979,13 +981,8 @@ do.find.top100 <- function() { ...@@ -979,13 +981,8 @@ do.find.top100 <- function() {
pkgname <- names[[i]] pkgname <- names[[i]]
pkg <- avail.pkgs[pkgname, ] pkg <- avail.pkgs[pkgname, ]
list.contriburl = ifelse(list.canonical, "https://cran.r-project.org/src/contrib", pkg["Repository"]) list.contriburl = ifelse(list.canonical, "https://cran.r-project.org/src/contrib", pkg["Repository"])
cat(pkg["Package"], pkg["Version"], paste0(list.contriburl, "/", pkgname, "_", pkg["Version"], ".tar.gz"), "\n", sep=",") cat(pkg["Package"], pkg["Version"], paste0(list.contriburl, "/", pkgname, "_", pkg["Version"], ".tar.gz"), "\n", sep = ",")
cat(pkgname)
if (i != l) {
cat(',')
}
} }
cat('\n')
} }
run.setup <- function() { run.setup <- function() {
......
R6,2.2.2,https://cran.r-project.org/src/contrib/R6_2.2.2.tar.gz,
Rcpp,0.12.12,https://cran.r-project.org/src/contrib/Rcpp_0.12.12.tar.gz,
curl,2.8.1,https://cran.r-project.org/src/contrib/curl_2.8.1.tar.gz,
tibble,1.3.3,https://cran.r-project.org/src/contrib/tibble_1.3.3.tar.gz,
jsonlite,1.5,https://cran.r-project.org/src/contrib/jsonlite_1.5.tar.gz,
ggplot2,2.2.1,https://cran.r-project.org/src/contrib/ggplot2_2.2.1.tar.gz,
rlang,0.1.1,https://cran.r-project.org/src/contrib/rlang_0.1.1.tar.gz,
dplyr,0.7.2,https://cran.r-project.org/src/contrib/dplyr_0.7.2.tar.gz,
stringr,1.2.0,https://cran.r-project.org/src/contrib/stringr_1.2.0.tar.gz,
withr,2.0.0,https://cran.r-project.org/src/contrib/withr_2.0.0.tar.gz,
devtools,1.13.3,https://cran.r-project.org/src/contrib/devtools_1.13.3.tar.gz,
stringi,1.1.5,https://cran.r-project.org/src/contrib/stringi_1.1.5.tar.gz,
digest,0.6.12,https://cran.r-project.org/src/contrib/digest_0.6.12.tar.gz,
plyr,1.8.4,https://cran.r-project.org/src/contrib/plyr_1.8.4.tar.gz,
magrittr,1.5,https://cran.r-project.org/src/contrib/magrittr_1.5.tar.gz,
reshape2,1.4.2,https://cran.r-project.org/src/contrib/reshape2_1.4.2.tar.gz,
BH,1.62.0-1,https://cran.r-project.org/src/contrib/BH_1.62.0-1.tar.gz,
pkgconfig,2.0.1,https://cran.r-project.org/src/contrib/pkgconfig_2.0.1.tar.gz,
scales,0.4.1,https://cran.r-project.org/src/contrib/scales_0.4.1.tar.gz,
DBI,0.7,https://cran.r-project.org/src/contrib/DBI_0.7.tar.gz,
lazyeval,0.2.0,https://cran.r-project.org/src/contrib/lazyeval_0.2.0.tar.gz,
RColorBrewer,1.1-2,https://cran.r-project.org/src/contrib/RColorBrewer_1.1-2.tar.gz,
glue,1.1.1,https://cran.r-project.org/src/contrib/glue_1.1.1.tar.gz,
colorspace,1.3-2,https://cran.r-project.org/src/contrib/colorspace_1.3-2.tar.gz,
plogr,0.1-1,https://cran.r-project.org/src/contrib/plogr_0.1-1.tar.gz,
bindrcpp,0.2,https://cran.r-project.org/src/contrib/bindrcpp_0.2.tar.gz,
backports,1.1.0,https://cran.r-project.org/src/contrib/backports_1.1.0.tar.gz,
munsell,0.4.3,https://cran.r-project.org/src/contrib/munsell_0.4.3.tar.gz,
gtable,0.2.0,https://cran.r-project.org/src/contrib/gtable_0.2.0.tar.gz,
htmltools,0.3.6,https://cran.r-project.org/src/contrib/htmltools_0.3.6.tar.gz,
mime,0.5,https://cran.r-project.org/src/contrib/mime_0.5.tar.gz,
bindr,0.1,https://cran.r-project.org/src/contrib/bindr_0.1.tar.gz,
dichromat,2.0-0,https://cran.r-project.org/src/contrib/dichromat_2.0-0.tar.gz,
labeling,0.3,https://cran.r-project.org/src/contrib/labeling_0.3.tar.gz,
knitr,1.16,https://cran.r-project.org/src/contrib/knitr_1.16.tar.gz,
evaluate,0.10.1,https://cran.r-project.org/src/contrib/evaluate_0.10.1.tar.gz,
yaml,2.1.14,https://cran.r-project.org/src/contrib/yaml_2.1.14.tar.gz,
memoise,1.1.0,https://cran.r-project.org/src/contrib/memoise_1.1.0.tar.gz,
data.table,1.10.4,https://cran.r-project.org/src/contrib/data.table_1.10.4.tar.gz,
git2r,0.19.0,https://cran.r-project.org/src/contrib/git2r_0.19.0.tar.gz,
httr,1.2.1,https://cran.r-project.org/src/contrib/httr_1.2.1.tar.gz,
assertthat,0.2.0,https://cran.r-project.org/src/contrib/assertthat_0.2.0.tar.gz,
openssl,0.9.6,https://cran.r-project.org/src/contrib/openssl_0.9.6.tar.gz,
htmlwidgets,0.9,https://cran.r-project.org/src/contrib/htmlwidgets_0.9.tar.gz,
markdown,0.8,https://cran.r-project.org/src/contrib/markdown_0.8.tar.gz,
readr,1.1.1,https://cran.r-project.org/src/contrib/readr_1.1.1.tar.gz,
XML,3.98-1.9,https://cran.r-project.org/src/contrib/XML_3.98-1.9.tar.gz,
rJava,0.9-8,https://cran.r-project.org/src/contrib/rJava_0.9-8.tar.gz,
bitops,1.0-6,https://cran.r-project.org/src/contrib/bitops_1.0-6.tar.gz,
base64enc,0.1-3,https://cran.r-project.org/src/contrib/base64enc_0.1-3.tar.gz,
tidyr,0.6.3,https://cran.r-project.org/src/contrib/tidyr_0.6.3.tar.gz,
highr,0.6,https://cran.r-project.org/src/contrib/highr_0.6.tar.gz,
rmarkdown,1.6,https://cran.r-project.org/src/contrib/rmarkdown_1.6.tar.gz,
httpuv,1.3.5,https://cran.r-project.org/src/contrib/httpuv_1.3.5.tar.gz,
shiny,1.0.3,https://cran.r-project.org/src/contrib/shiny_1.0.3.tar.gz,
caTools,1.17.1,https://cran.r-project.org/src/contrib/caTools_1.17.1.tar.gz,
car,2.1-5,https://cran.r-project.org/src/contrib/car_2.1-5.tar.gz,
RcppArmadillo,0.7.900.2.0,https://cran.r-project.org/src/contrib/RcppArmadillo_0.7.900.2.0.tar.gz,
hms,0.3,https://cran.r-project.org/src/contrib/hms_0.3.tar.gz,
zoo,1.8-0,https://cran.r-project.org/src/contrib/zoo_1.8-0.tar.gz,
purrr,0.2.3,https://cran.r-project.org/src/contrib/purrr_0.2.3.tar.gz,
gridExtra,2.2.1,https://cran.r-project.org/src/contrib/gridExtra_2.2.1.tar.gz,
xtable,1.8-2,https://cran.r-project.org/src/contrib/xtable_1.8-2.tar.gz,
sourcetools,0.1.6,https://cran.r-project.org/src/contrib/sourcetools_0.1.6.tar.gz,
rprojroot,1.2,https://cran.r-project.org/src/contrib/rprojroot_1.2.tar.gz,
lme4,1.1-13,https://cran.r-project.org/src/contrib/lme4_1.1-13.tar.gz,
readxl,1.0.0,https://cran.r-project.org/src/contrib/readxl_1.0.0.tar.gz,
mgcv,1.8-18,https://cran.r-project.org/src/contrib/mgcv_1.8-18.tar.gz,
RcppEigen,0.3.3.3.0,https://cran.r-project.org/src/contrib/RcppEigen_0.3.3.3.0.tar.gz,
viridisLite,0.2.0,https://cran.r-project.org/src/contrib/viridisLite_0.2.0.tar.gz,
lubridate,1.6.0,https://cran.r-project.org/src/contrib/lubridate_1.6.0.tar.gz,
Formula,1.2-2,https://cran.r-project.org/src/contrib/Formula_1.2-2.tar.gz,
SparseM,1.77,https://cran.r-project.org/src/contrib/SparseM_1.77.tar.gz,
igraph,1.1.2,https://cran.r-project.org/src/contrib/igraph_1.1.2.tar.gz,
TTR,0.23-2,https://cran.r-project.org/src/contrib/TTR_0.23-2.tar.gz,
boot,1.3-20,https://cran.r-project.org/src/contrib/boot_1.3-20.tar.gz,
forecast,8.1,https://cran.r-project.org/src/contrib/forecast_8.1.tar.gz,
quantreg,5.33,https://cran.r-project.org/src/contrib/quantreg_5.33.tar.gz,
quantmod,0.4-10,https://cran.r-project.org/src/contrib/quantmod_0.4-10.tar.gz,
checkmate,1.8.3,https://cran.r-project.org/src/contrib/checkmate_1.8.3.tar.gz,
viridis,0.4.0,https://cran.r-project.org/src/contrib/viridis_0.4.0.tar.gz,
Hmisc,4.0-3,https://cran.r-project.org/src/contrib/Hmisc_4.0-3.tar.gz,
psych,1.7.5,https://cran.r-project.org/src/contrib/psych_1.7.5.tar.gz,
rstudioapi,0.6,https://cran.r-project.org/src/contrib/rstudioapi_0.6.tar.gz,
xml2,1.1.1,https://cran.r-project.org/src/contrib/xml2_1.1.1.tar.gz,
RCurl,1.95-4.8,https://cran.r-project.org/src/contrib/RCurl_1.95-4.8.tar.gz,
nloptr,1.0.4,https://cran.r-project.org/src/contrib/nloptr_1.0.4.tar.gz,
gdata,2.18.0,https://cran.r-project.org/src/contrib/gdata_2.18.0.tar.gz,
bit64,0.9-7,https://cran.r-project.org/src/contrib/bit64_0.9-7.tar.gz,
whisker,0.3-2,https://cran.r-project.org/src/contrib/whisker_0.3-2.tar.gz,
sp,1.2-5,https://cran.r-project.org/src/contrib/sp_1.2-5.tar.gz,
cellranger,1.1.0,https://cran.r-project.org/src/contrib/cellranger_1.1.0.tar.gz,
tseries,0.10-42,https://cran.r-project.org/src/contrib/tseries_0.10-42.tar.gz,
rematch,1.0.1,https://cran.r-project.org/src/contrib/rematch_1.0.1.tar.gz,
minqa,1.2.4,https://cran.r-project.org/src/contrib/minqa_1.2.4.tar.gz,
xts,0.10-0,https://cran.r-project.org/src/contrib/xts_0.10-0.tar.gz,
pbkrtest,0.4-7,https://cran.r-project.org/src/contrib/pbkrtest_0.4-7.tar.gz,
sandwich,2.4-0,https://cran.r-project.org/src/contrib/sandwich_2.4-0.tar.gz,
MatrixModels,0.4-1,https://cran.r-project.org/src/contrib/MatrixModels_0.4-1.tar.gz,
RSQLite,2.0,https://cran.r-project.org/src/contrib/RSQLite_2.0.tar.gz,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment