Skip to content

Commit

Permalink
Merge pull request lorenzwalthert#390 from lorenzwalthert/update-depe…
Browse files Browse the repository at this point in the history
…ndencies

update for rlang compat
  • Loading branch information
lorenzwalthert authored Apr 11, 2022
2 parents 30a0db7 + f487e36 commit 3822108
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
install.packages('jsonlite')
renv_deps <- names(jsonlite::read_json('renv.lock')$Packages)
renv::load()
renv::restore()
renv::restore(prompt = FALSE)
can_be_updated <- renv::update(renv_deps, prompt = FALSE)
renv::snapshot(packages = renv_deps)
shell: Rscript {0}
Expand Down
2 changes: 1 addition & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ install_precommit <- function(force = FALSE) {
#' @keywords internal
install_impl <- function() {
if (!"r-precommit" %in% reticulate::conda_list()$name) {
reticulate::conda_create("r-precommit", python_version = "3.9")
reticulate::conda_create("r-precommit")
}
reticulate::conda_install("r-precommit", packages = "pre-commit")
}
Expand Down
Loading

0 comments on commit 3822108

Please sign in to comment.