Skip to content

Commit

Permalink
Formatting of hyperlink for Posit Health Check (#13) (#14)
Browse files Browse the repository at this point in the history
* Formatting of hyperlink for Posit Health Check (#13)

* feat: Improved CI output

---------

Co-authored-by: Shane Halloran <[email protected]>
  • Loading branch information
csgillespie and shaneh2 authored Sep 23, 2023
1 parent c343c6b commit 9cccde6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Type: Package
Package: audit.workbench
Title: RStudio/Workbench User Acceptance Tests
Version: 0.5.1
Version: 0.6.1
Authors@R:
person("Jumping", "Rivers", , "[email protected]", role = c("aut", "cre"))
Description: Testing whether data scientists can do what they expect in
RStudio Workbench.
License: file LICENSE
Imports:
audit.base (>= 0.6.0),
audit.base (>= 0.6.7),
BiocManager,
cli,
dplyr,
fs,
httr,
processx,
purrr,
quarto,
quarto (>= 1.3),
remotes,
rlang,
rmarkdown,
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# audit.workbench 0.6.1 *2023-09-23*
- feat: Improved CI output

# audit.workbench 0.6.0 *2023-06-30*
- feat: Longer test descriptions

Expand Down
4 changes: 2 additions & 2 deletions R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ check = function(server,
check_list$versions = check_versions(debug_level)
cli::cli_h2("Starting checks")
r6_inits = audit.base::init_r6_checks(dir = dir,
file = "config-uat-psw.yml",
pkg_name = "audit.workbench")
file = "config-uat-psw.yml",
pkg_name = "audit.workbench")
lapply(r6_inits, function(r6) r6$check(debug_level = debug_level))
results = purrr::map_dfr(r6_inits, ~.x$get_log())
check_list$results = dplyr::arrange(results, .data$group, .data$short)
Expand Down
2 changes: 1 addition & 1 deletion R/check_core_r_pkgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ check_core_r_pkgs = R6::R6Class(
private = list(
context = "Checking core_r_pkgs",
long = "Checks that core R packages are pre-installed as described in
https://docs.posit.co/ide/server-pro/reference/r_package_dependencies.html",
[the Posit Workbench documentation](https://docs.posit.co/ide/server-pro/reference/r_package_dependencies.html)", #nolint
short = "r_pkgs",
group = "package"
)
Expand Down
2 changes: 1 addition & 1 deletion R/check_rmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ render_rmd = function(rmd_dir, debug_level) {

rmarkdown::render(file.path(tmp_dir, "index.Rmd"),
quiet = (debug_level == 0)
)
)
return(invisible(TRUE))
}
1 change: 0 additions & 1 deletion R/check_sys_libs.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ check_sys_libs = function(debug_level) {
os = readLines("/etc/os-release")
audit.base::check_sys_deps(os, libs, debug_level)
}

2 changes: 1 addition & 1 deletion R/create_config.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
#' * error: if a config file exists, raise an error
#' @export
create_config = audit.base::create_config(file = "config-uat-psw.yml",
pkg_name = "jrHealthCheckWorkbench")
pkg_name = "jrHealthCheckWorkbench")

0 comments on commit 9cccde6

Please sign in to comment.