File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ install_precommit <- function(force = FALSE) {
5555# ' @keywords internal
5656install_impl <- function () {
5757 if (! " r-precommit" %in% reticulate :: conda_list()$ name ) {
58- reticulate :: conda_create(" r-precommit" , python_version = " 3.9 " )
58+ reticulate :: conda_create(" r-precommit" )
5959 }
6060 reticulate :: conda_install(" r-precommit" , packages = " pre-commit" )
6161}
Original file line number Diff line number Diff line change @@ -5,10 +5,6 @@ if (!on_cran()) {
55 expect_error(install_precommit(force = TRUE ), NA )
66 })
77
8- test_that(" conda 3.10 should now work" , {
9- expect_true(Sys.Date() < as.Date(" 2021-11-30" ))
10- })
11-
128 test_that(" can use pre-commit" , {
139 tempdir <- local_test_setup(quiet = FALSE , install_hooks = FALSE )
1410 expect_message(
You can’t perform that action at this time.
0 commit comments