mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 04:02:19 +02:00
(v1.6.0.9044) betalactams() selector
This commit is contained in:
Binary file not shown.
@ -23,7 +23,14 @@
|
||||
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
|
||||
pkg_suggests <- AMR:::trimws(unlist(strsplit(packageDescription("AMR")$Suggests, ",(\n)?")))
|
||||
install.packages("data-raw/AMR_latest.tar.gz", dependencies = FALSE)
|
||||
|
||||
# some old R instances have trouble installing tinytest, so we ship it too
|
||||
# R < 3.2 does not contain trimws(), which is part of this script and of a tinytest script
|
||||
trimws <- AMR:::trimws
|
||||
intall.packages("data-raw/tinytest_1.2.4.tar.gz")
|
||||
|
||||
pkg_suggests <- trimws(unlist(strsplit(packageDescription("AMR")$Suggests, ",(\n)?")))
|
||||
|
||||
to_install <- pkg_suggests[!pkg_suggests %in% rownames(utils::installed.packages())]
|
||||
to_update <- as.data.frame(utils::old.packages(repos = "https://cran.rstudio.com/"), stringsAsFactors = FALSE)
|
||||
|
Reference in New Issue
Block a user