Skip to content

Commit

Permalink
Merged origin/main into eeholmes-main
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jan 9, 2025
2 parents 8e17195 + 7579b7e commit fa7655c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,6 @@ importFrom(tools,file_ext)
importFrom(utils,available.packages)
importFrom(utils,compareVersion)
importFrom(utils,contrib.url)
importFrom(utils,download.file)
importFrom(utils,install.packages)
importFrom(utils,read.delim)
4 changes: 3 additions & 1 deletion R/bioc-standalone.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
#' @noRd
NULL

#' @importFrom utils download.file

bioconductor <- local({

Expand Down Expand Up @@ -113,7 +114,8 @@ bioconductor <- local({
"4.0" = package_version("3.12"),
"4.1" = package_version("3.14"),
"4.2" = package_version("3.16"),
"4.3" = package_version("3.18")
"4.3" = package_version("3.18"),
"4.4" = package_version("3.20")
# Do not include R 4.4 <-> Bioc 3.19, because R 4.4 will use
# Bioc 3.20 eventually.
)
Expand Down
4 changes: 3 additions & 1 deletion inst/install-github.R

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion install-github.R

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-bioc.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test_that("internal map is current", {
skip_if_offline()
expect_equal(
bioconductor$get_release_version(),
package_version("3.18"))
package_version("3.20"))
})

test_that("set of repos are correct", {
Expand Down
11 changes: 5 additions & 6 deletions tests/testthat/test-system_requirements.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ test_that("system_requirements return the system requirements if 2nd order depen

expect_equal(
system_requirements("ubuntu", "16.04", pkg),
c("apt-get install -y libcurl4-openssl-dev",
"apt-get install -y libssl-dev"
c("apt-get install -y libssl-dev",
"apt-get install -y libcurl4-openssl-dev"
)
)

expect_equal(
system_requirements("redhat", "7", pkg),
c("yum install -y libcurl-devel",
"yum install -y openssl-devel"
c("yum install -y openssl-devel",
"yum install -y libcurl-devel"
)
)
})
Expand Down Expand Up @@ -186,8 +186,7 @@ test_that("system_requirements work with vector package arguments", {

sort(c("apt-get install -y software-properties-common",
"add-apt-repository -y ppa:cran/libgit2", "apt-get update",
"apt-get install -y libgit2-dev", "apt-get install -y libssh2-1-dev",
"apt-get install -y libssl-dev", "apt-get install -y zlib1g-dev",
"apt-get install -y libgit2-dev", "apt-get install -y libssl-dev",
"apt-get install -y libcurl4-openssl-dev"
))
)
Expand Down

0 comments on commit fa7655c

Please sign in to comment.