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
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: gDRstyle
Type: Package
Title: A package with style requirements for the gDR suite
Version: 1.7.3
Date: 2025-08-03
Version: 1.7.4
Date: 2025-08-12
Authors@R: c(
person("Allison", "Vuong", role=c("aut")),
person("Dariusz", "Scigocki", role=c("aut")),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## gDRstyle 1.7.4 - 2025-08-12
* fix usage of `ifelse`

## gDRstyle 1.7.3 - 2025-08-04
* added support for skipping vignette building in `run_tests.sh`

Expand Down
9 changes: 8 additions & 1 deletion R/build_tools.R
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,18 @@ install_github <- function(name,
if (is.null(pkg$ref)) {
pkg$ref <- "HEAD"
}

host_url <- if (!is.null(pkg$host)) {
pkg$host
} else {
"api.github.com"
}

remotes::install_github(
repo = pkg$url,
ref = pkg$ref,
subdir = pkg$subdir,
host = ifelse(!is.null(pkg$host), pkg$host, "api.github.com"),
host = host_url,
upgrade = "never"
)
verify_version(name, pkg$ver)
Expand Down
Loading