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.2
Date: 2025-05-26
Version: 1.7.3
Date: 2025-08-03
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.3 - 2025-08-04
* added support for skipping vignette building in `run_tests.sh`

## gDRstyle 1.7.2 - 2025-05-26
* add check for `pkgdown` in the `checkPackage` function

Expand Down
3 changes: 2 additions & 1 deletion R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ rcmd_check_with_notes <- function(pkgDir,
`no-check-unit-tests` = TRUE, # unit tests are called in previous step
`no-check-formatting` = TRUE, # follow gDR style guides
`no-check-CRAN` = TRUE, # may cause random error in CI
`no-check-description` = TRUE, # to prevent missing `fnd` NOTE
`no-check-version-num` = TRUE,
`no-check-R-ver` = TRUE
)
Expand Down Expand Up @@ -250,7 +251,7 @@ checkPackage <- function(pkgName,

if (!skip_pkgdown) {
message("Pkgdown")
pkgdown::build_site(
pkgdown::build_reference(
pkg = pkgDir,
override = list(destination = tempfile()),
preview = FALSE
Expand Down
15 changes: 9 additions & 6 deletions inst/scripts/run_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LIB_DIR <- args[4]
FAIL_ON <- args[5]
BIOC_CHECK <- args[6]
RUN_EXAMPLES <- as.logical(args[7])
CHECK_VIGNETTES <- as.logical(args[8])

# Load libraries
stopifnot(dir.exists(LIB_DIR))
Expand All @@ -20,10 +21,12 @@ invisible(

# Check package
gDRstyle::checkPackage(
PKG_NAME,
REPO_DIR,
PKG_SUBDIR,
FAIL_ON,
BIOC_CHECK,
RUN_EXAMPLES
pkgName = PKG_NAME,
repoDir = REPO_DIR,
subdir = PKG_SUBDIR,
fail_on = FAIL_ON,
bioc_check = BIOC_CHECK,
run_examples = RUN_EXAMPLES,
build_vignettes = CHECK_VIGNETTES,
check_vignettes = CHECK_VIGNETTES
)
Loading