From cc499f37fff50d0b748fcb7e0d0ec705807cdcee Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Tue, 15 Feb 2022 15:54:38 +0100 Subject: [PATCH 1/2] use latest renv --- renv/activate.R | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/renv/activate.R b/renv/activate.R index 34d06b155..33833eeff 100644 --- a/renv/activate.R +++ b/renv/activate.R @@ -2,16 +2,11 @@ local({ # the requested version of renv - version <- "0.15.0-13" + version <- "0.15.2" # the project directory project <- getwd() - # figure out path to 'renv' folder from this script - call <- sys.call(1L) - if (is.call(call) && identical(call[[1L]], as.symbol("source"))) - Sys.setenv(RENV_PATHS_RENV = dirname(call[[2L]])) - # figure out whether the autoloader is enabled enabled <- local({ From 574cbf4ab9bc5aa9831dddd229c2bbfd03bda24a Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Tue, 15 Feb 2022 15:56:57 +0100 Subject: [PATCH 2/2] add news --- NEWS.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 61639a8e8..1cf7d1a37 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# precommit 0.2.3.900* (Development version) +# precommit v0.2.3.900* (Development version) * The template `.pre-commit-config.yaml` does now include `file-contents-sorter` to sort `.Rbuildignore` (#366). @@ -7,7 +7,7 @@ `snippet_generate("additional-deps-roxygenize")` (#358). * `roxygenize` hook now fails if it generates an `.Rd` file that is not tracked with version control (#363). -* Ensure compatibility with {renv} (#359). +* Ensure compatibility with {renv} (#359, #375). * updating hook tag. * `deps-in-desc` and `parsable-R` can now handle code chunk headers with where `purl` or `eval` are not literals like `TRUE`, but variables defined @@ -17,6 +17,7 @@ * The template `.pre-commit-config.yaml` default to monthly hook updates (instead of weekly) to avoid notification triggers and git version convolution (#370). + # precommit v0.2.2