Skip to content

Commit

Permalink
Release/1.0.5 (#1836)
Browse files Browse the repository at this point in the history
* CRAN release 1.0.5

* initialize cache directory when running tests
  • Loading branch information
kevinushey authored Feb 29, 2024
1 parent 94ab10e commit 0e780cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: renv
Type: Package
Title: Project Environments
Version: 1.0.4.9000
Version: 1.0.5
Authors@R: c(
person("Kevin", "Ushey", role = c("aut", "cre"), email = "[email protected]",
comment = c(ORCID = "0000-0003-2880-7407")),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# renv (development version)

# renv 1.0.5

* `renv` now only writes a `.renvignore` file into the cache directory
if the cache appears to be part of the current project.
Expand Down
6 changes: 6 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

library(tools)
library(testthat)
library(renv, warn.conflicts = FALSE)

Expand All @@ -7,4 +8,9 @@ if (!renv:::renv_tests_supported()) {
if (!interactive()) quit(status = 0L)
}

if (Sys.info()[["sysname"]] == "Linux") {
cachedir <- R_user_dir("renv", "cache")
dir.create(cachedir, recursive = TRUE, showWarnings = FALSE)
}

test_check("renv")

0 comments on commit 0e780cb

Please sign in to comment.