diff --git a/.github/docker/install-packages.R b/.github/docker/install-packages.R index 44cba57..b9bc7b8 100644 --- a/.github/docker/install-packages.R +++ b/.github/docker/install-packages.R @@ -15,7 +15,7 @@ pkgs <- c( "rlang", "rmarkdown", "roxygen2", - "wranglezone/stbl", + "stbl", "stringr", "testthat", "usethis", @@ -30,7 +30,11 @@ pkgs <- c( tryCatch( pak::pak(pkgs), error = function(e) { - warning("Bulk install failed, retrying one-by-one: ", conditionMessage(e), call. = FALSE) + warning( + "Bulk install failed, retrying one-by-one: ", + conditionMessage(e), + call. = FALSE + ) for (pkg in pkgs) { tryCatch( pak::pak(pkg), diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index d5dffcf..5360a1e 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -41,10 +41,10 @@ jobs: any::rcmdcheck any::rlang any::roxygen2 + any::stbl any::testthat any::usethis any::withr - wranglezone/stbl Gilead-BioStats/qcthat local::. diff --git a/DESCRIPTION b/DESCRIPTION index dc03bef..908311f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,7 +19,7 @@ Imports: gh, purrr, rlang, - stbl, + stbl (>= 0.3.0), stringr, usethis Suggests: @@ -29,8 +29,6 @@ Suggests: rmarkdown, testthat (>= 3.0.0), withr -Remotes: - stbl=wranglezone/stbl Config/testthat/edition: 3 Encoding: UTF-8 Language: en-US diff --git a/R/use_skill_tdd_workflow.R b/R/use_skill_tdd_workflow.R index fe57702..8d0ff3f 100644 --- a/R/use_skill_tdd_workflow.R +++ b/R/use_skill_tdd_workflow.R @@ -21,6 +21,7 @@ use_skill_tdd_workflow <- function( "no_package_field" ) } + usethis::use_package("stbl", min_version = "0.3.0") invisible(.use_skill( "tdd-workflow", data = list(package = pkg_name), diff --git a/inst/templates/workflows/copilot-setup-steps.yml b/inst/templates/workflows/copilot-setup-steps.yml index e299ee3..ae9a04b 100644 --- a/inst/templates/workflows/copilot-setup-steps.yml +++ b/inst/templates/workflows/copilot-setup-steps.yml @@ -41,10 +41,10 @@ jobs: any::rcmdcheck any::rlang any::roxygen2 + any::stbl any::testthat any::usethis any::withr - wranglezone/stbl local::. - name: Install air