Skip to content

Commit

Permalink
fix: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
csgillespie committed Jun 25, 2024
1 parent 47e45c3 commit c5090b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions R/get_posit_remote_versions.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
get_posit_remote_versions = function(type = c("connect", "workbench")) {
if (!requireNamespace("rvest")) {
cli::cli_alert_info("Missing package - rvest")
return(invisible(NULL))
cli::cli_alert_danger("Missing package - rvest")
}
type = match.arg(type)
url = if (type == "connect") {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-software-versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test_that("Testing software versions quarto output", {

test_that("Ensure that software versions are up to date", {
testthat::skip_on_ci()
versions = get_latest_versions()
versions = get_latest_versions(remote = FALSE)
latest = get_latest_versions_remote()
# If this test files, try running update_software_csv() first
expect_true(all(latest$version %in% versions$version),
Expand Down

0 comments on commit c5090b4

Please sign in to comment.