Skip to content

Commit 3822108

Browse files
Merge pull request #390 from lorenzwalthert/update-dependencies
update for rlang compat
2 parents 30a0db7 + f487e36 commit 3822108

File tree

6 files changed

+155
-132
lines changed

6 files changed

+155
-132
lines changed

.github/workflows/hook-dependencies-upate.yml .github/workflows/hook-dependencies-update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
install.packages('jsonlite')
3939
renv_deps <- names(jsonlite::read_json('renv.lock')$Packages)
4040
renv::load()
41-
renv::restore()
41+
renv::restore(prompt = FALSE)
4242
can_be_updated <- renv::update(renv_deps, prompt = FALSE)
4343
renv::snapshot(packages = renv_deps)
4444
shell: Rscript {0}

R/install.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ install_precommit <- function(force = FALSE) {
5555
#' @keywords internal
5656
install_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
}

0 commit comments

Comments
 (0)