We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e184a commit 3d77204Copy full SHA for 3d77204
tests/testthat/test-conda.R
@@ -54,6 +54,7 @@ if (!on_cran()) {
54
git2r::init()
55
usethis::proj_set(".")
56
usethis::use_readme_rmd(open = FALSE)
57
+ withr::local_options(precommit.block_install_hooks = TRUE)
58
59
# usethis hook is removed without error
60
expect_message(
@@ -150,6 +151,7 @@ if (!on_cran()) {
150
151
expect_message(install_precommit(), "already installed")
152
}
153
tempdir <- local_test_setup(use_precommit = FALSE, quiet = FALSE, install_hooks = FALSE)
154
155
withr::with_dir(
156
tempdir,
157
{
0 commit comments