Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, r: 'devel', bioc: '3.21', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
- { os: macOS-latest, r: 'devel', bioc: '3.21'}
- { os: windows-latest, r: 'devel', bioc: '3.21'}
- { os: ubuntu-latest, r: 'devel', bioc: '3.23', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
- { os: macOS-latest, r: 'devel', bioc: '3.23'}
- { os: windows-latest, r: 'devel', bioc: '3.23'}
## Check https://github.com/r-lib/actions/tree/master/examples
## for examples using the http-user-agent
env:
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ Suggests:
BiocStyle,
countrycode,
knitr,
pak,
rmarkdown,
testthat (>= 3.0.0)
biocViews: Software, DataImport, BiomedicalInformatics, Pharmacogenomics, Pharmacogenomics
Encoding: UTF-8
ByteCompile: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
Config/testthat/edition: 3
Config/testthat/parallel: true
VignetteBuilder: knitr
Expand Down
14 changes: 7 additions & 7 deletions R/import-standalone-pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ is_installed <- local({
}
})

install_pkgs <- function(pkgs) {
if (is_installed("pak")) {
getExportedValue("pak", "pkg_install")(pkgs, ask = FALSE)
} else {
utils::install.packages(pkgs)
}
}
# install_pkgs <- function(pkgs) {
# if (is_installed("pak")) {
# getExportedValue("pak", "pkg_install")(pkgs, ask = FALSE)
# } else {
# utils::install.packages(pkgs)
# }
# }

pkg_nm <- function() utils::packageName(environment())

Expand Down
Loading