Skip to content

Commit 28d1067

Browse files
authored
CRAN release 1.0.8 (#1987)
* prepare for release * URL fixups * ignore tarballs in package root * fixup for usethis * don't ignore .tar.gz
1 parent 0112f08 commit 28d1067

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: renv
22
Type: Package
33
Title: Project Environments
4-
Version: 1.0.7.9000
4+
Version: 1.0.8
55
Authors@R: c(
66
person("Kevin", "Ushey", role = c("aut", "cre"), email = "[email protected]",
77
comment = c(ORCID = "0000-0003-2880-7407")),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# renv (development version)
2+
# renv 1.0.8
33

44
* `renv` now infers a dependency on the `ragg` package when the `ragg_png` device
55
is used in R Markdown / Quarto documents, for documents using the code

tests/testthat/test-install.R

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,17 @@ test_that("packages embedded in the project use a project-local RemoteURL", {
372372
skip_if(is.null(usethis$create_package))
373373
renv_scope_options(usethis.quiet = TRUE)
374374
unlink("example", recursive = TRUE)
375-
usethis$create_package("example", rstudio = FALSE, open = FALSE)
375+
376+
fields <- list(
377+
"Authors@R" = utils::person(
378+
"Kevin", "Ushey",
379+
email = "[email protected]",
380+
role = c("aut", "cre"),
381+
comment = c(ORCID = "0000-0003-2880-7407")
382+
)
383+
)
384+
385+
usethis$create_package("example", fields = fields, rstudio = FALSE, open = FALSE)
376386

377387
install("./example")
378388
lockfile <- snapshot(lockfile = NULL)

tests/testthat/test-packages.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test_that("remote field updates are written to both DESCRIPTION, packages.rds",
1111
)
1212

1313
renv_tests_scope()
14-
renv_scope_envvars(RENV_PATHS_LOCAL = "")
14+
renv_scope_envvars(RENV_PATHS_LOCAL = NULL)
1515
install(packages = list(record))
1616

1717
pkgpath <- renv_package_find("skeleton")

tests/testthat/test-restore.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ test_that("restore works with explicit Source", {
239239
init()
240240

241241
renv_scope_envvars(
242-
RENV_PATHS_LOCAL = "",
243-
RENV_PATHS_CACHE = ""
242+
RENV_PATHS_LOCAL = NULL,
243+
RENV_PATHS_CACHE = NULL
244244
)
245245

246246
record <- list(

tests/testthat/test-retrieve.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ test_that("explicit path to binary packages work", {
264264

265265
test_that("remotes::install_local() records are handled", {
266266

267-
renv_scope_envvars(RENV_PATHS_LOCAL = "")
267+
renv_scope_envvars(RENV_PATHS_LOCAL = NULL)
268268

269269
record <- list(
270270
Package = "skeleton",

vignettes/package-install.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ renv::install("xml2")
170170
renv does not build vignettes when installing a package from source.
171171
This is because vignettes often require suggested packages, and installing all suggested packages (particularly from source) can be arduous.
172172

173-
If you want to distribute vignettes for your own packages, we suggest creating your own repository of binaries, either with [R Universe](https://r-universe.dev/search/) (for publicly hosted packages on GitHub), with [Posit Package Manager](https://posit.co/products/enterprise/package-manager/), or with [drat](https://eddelbuettel.github.io/drat/).
173+
If you want to distribute vignettes for your own packages, we suggest creating your own repository of binaries, either with [R Universe](https://r-universe.dev/) (for publicly hosted packages on GitHub), with [Posit Package Manager](https://posit.co/products/enterprise/package-manager/), or with [drat](https://eddelbuettel.github.io/drat/).
174174

175175
## Downloads
176176

vignettes/renv.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can see your current libraries with `.libPaths()` and see which packages are
5858

5959
A **repository** is a source of packages; `install.packages()` gets a package from a repository (usually somewhere on the Internet) and puts it in a library (a directory on your computer).
6060
The most important repository is CRAN; you can install packages from CRAN in just about every R session.
61-
Other freely available repositories include [Bioconductor](https://bioconductor.org), the [Posit Public Package Manager](https://packagemanager.posit.co), and [R Universe](https://r-universe.dev/search/) (which turns GitHub organisations into repositories).
61+
Other freely available repositories include [Bioconductor](https://bioconductor.org), the [Posit Public Package Manager](https://packagemanager.posit.co), and [R Universe](https://r-universe.dev/) (which turns GitHub organisations into repositories).
6262

6363
You can see which repositories are currently set up in your session with `getOption("repos")`; when you call `install.packages("{pkgname}")`, R will look for `pkgname` in each repository in turn.
6464

0 commit comments

Comments
 (0)