Skip to content

Commit c38515b

Browse files
committed
NEWS
1 parent fb7b3e0 commit c38515b

File tree

1 file changed

+29
-26
lines changed

1 file changed

+29
-26
lines changed

NEWS.md

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# packrat (development version)
22

3+
- Update vendored `renv` to support recognition of Posit Package Manager
4+
support for manylinux binaries.
5+
36
- When restoring GitHub-hosted packages, packrat will now look for both
47
`Github*` and `Remote*` fields to determine where to install from. (#740)
58

6-
- When restoring packages from CRAN-like repositories, names are no
9+
- When restoring packages from CRAN-like repositories, names are no
710
longer used to detect if these are actually git-like. This prevents
811
issues if you name a CRAN-like repository something like "GitHub". (#747)
912

@@ -105,7 +108,7 @@
105108
- The 'packrat::opts$ignored.packages()' project option ignores recursive
106109
package dependencies in addition to direct package dependencies. (#654)
107110

108-
- Use a bundled `renv` to perform dependency detection. Avoids a number of
111+
- Use a bundled `renv` to perform dependency detection. Avoids a number of
109112
evaluation issues and side-effects. (#644)
110113

111114
- Take an `renv` update to avoid an implicit dependency on the `quarto` package for all `*.qmd` content.
@@ -150,7 +153,7 @@
150153
- Added support for GitLab: packages downloaded from GitLab can now be
151154
restored by Packrat. (#562, @akgold)
152155

153-
- Fixed an issue where tangled R code chunks containing invalid R code prevented
156+
- Fixed an issue where tangled R code chunks containing invalid R code prevented
154157
Packrat from finding any dependencies. Packrat will now look for package
155158
dependencies within each code chunk independently. (#551)
156159

@@ -163,7 +166,7 @@
163166

164167
- Fixed an issue where newly-added project options did not get their correct
165168
default value when no entry existed within the `packrat.opts` file. (#496)
166-
169+
167170
- Improve performance of dependency processing. (#615)
168171

169172
- Infer package dependencies from `requireNamespace()` and `loadNamespace()`
@@ -179,7 +182,7 @@
179182
disable dependency discovery in projects. This can be useful if you find
180183
Packrat's dependency discovery is slow (as it can be in projects containing
181184
a large number of R Markdown files). (#513, @ras44)
182-
185+
183186
- The scheme used for hashing packages that enter the Packrat cache has
184187
changed -- now, a defined ordering of fields is used when hashing a
185188
package's DESCRIPTION file. Note that this implies a package may need to be
@@ -258,7 +261,7 @@
258261

259262
- Packrat now screens out empty package names discovered during package
260263
dependency discovery. (#314)
261-
264+
262265
- The Packrat global cache is now enabled on Windows. Junction points
263266
(rather than symbolic links) are used to populate entries in the
264267
private Packrat library.
@@ -301,12 +304,12 @@
301304

302305
- Packrat now provides APIs for accessing the active paths to resource
303306
directories, with:
304-
307+
305308
- `packrat::project_dir(project)`
306309
- `packrat::src_dir(project)`
307310
- `packrat::lib_dir(project)`
308311
- `packrat::bundles_dir(project)`
309-
312+
310313
See `?packrat-resources` for more details.
311314

312315
- Packrat better preserves the pre-existing contents of ignore files. (#332)
@@ -384,38 +387,38 @@
384387
in the future once we have a reliable mechanism for detecting whether
385388
a particular directory is a reparse point without the use of compiled
386389
code within packrat.
387-
390+
388391
- Packrat uses `devtools` + `httr` (when available) to download files and
389392
directories from GitHub URLs. This should enable users to allow packrat
390393
to access private GitHub repositories as long as the `GITHUB_PAT`
391394
environment variable is set to an appropriate private access token.
392395
See `?devtools::install_github` for more details on setting up a private
393396
access token.
394-
397+
395398
- The `install_github()` shim from packrat has been removed -- please
396399
use `devtools::install_github()`, either by taking an explicit dependency
397400
on the `devtools` package, or by loading it from the user library with
398401
the packrat option `packrat::opts$external.packages("devtools")`.
399-
402+
400403
- Packrat is now smarter when managing symlinks within the project library
401404
(when package caching is enabled). This should allow multiple R processes
402405
to use the same packrat project at the same time. (Previously, there was
403406
risk that one R session might clear / refresh symlinks while another process
404407
attempted to access them).
405-
408+
406409
- Packrat no longer erroneously generates recursive symlinks (and attempts
407410
to clean up any recursive symlinks discovered as appropriate).
408-
411+
409412
- Packrat now records the original library paths within its `.onLoad()`
410413
handler, and uses these library paths when attempting to load packages
411414
from the user library.
412-
415+
413416
- Fixed a bug where recursive hashing of a package's LinkingTo dependencies
414417
could fail.
415418

416419
- Fixed a bug where `with_extlib()` could force a promise in the wrong
417420
environment.
418-
421+
419422
# Packrat 0.4.6
420423

421424
- Packrat gains the option `snapshot.recommended.packages()`, to control
@@ -452,15 +455,15 @@
452455

453456
- Packrat now understands the `pkgType = "both"` option and can properly
454457
restore projects when that option is set.
455-
458+
456459
- The `ignored.packages` option has been added, allowing users to specify
457460
packages that should not be tracked by packrat. Such packaes will not
458461
enter the lockfile on `packrat::snapshot()` calls; nor will they be
459462
cleaned out on `packrat::restore()` calls.
460463

461464
- Simple functions for interacting with the set of available repositories
462465
have been added. See `?repository-management` for more details.
463-
466+
464467
- Facilities for interacting with local CRAN-like repositories have been added.
465468
This feature will eventually supersede the functionality offered by packrat's
466469
'ad-hoc' local repositories. The functions `packrat::repos_create()` and
@@ -473,7 +476,7 @@
473476
- The cache directory layout has been modified to ensure help (`?`) calls
474477
succeed. This is a breaking change with older versions of Packrat, and so
475478
newer versions of Packrat will use a new cache folder. (#194)
476-
479+
477480
- Packrat issues a warning on `packrat::init()` if it was unable to infer the
478481
source of a particular package on initialization and instead uses the latest
479482
CRAN version.
@@ -502,7 +505,7 @@
502505
- Packrat properly infers whether a project is an R package. A project
503506
with a `DESCRIPTION` file that has no `Type:` field, or has the
504507
`Type: Package` field, will be considered as an `R` package.
505-
508+
506509
- Custom library paths can be set through the `R_PACKRAT_LIB_DIR` environment
507510
variable, which can be useful when using Packrat for non-local dependency
508511
management or deployment.
@@ -512,7 +515,7 @@
512515
- Symlinks to `R` packages are created and destroyed more conservatively; this
513516
should help prevent problems where multiple `R` processes are acting within
514517
a single Packrat project.
515-
518+
516519
- The autoloader was not properly created in rare cases (thanks, @krlmlr!)
517520

518521
- `install_local()` now forces `lib` and `repos` to be passed as named arguments,
@@ -679,25 +682,25 @@
679682
have been `dot.cased`. We apologize for any broken workflows here; but we
680683
imagine that most of use of packrat is done through calls to exported
681684
functions with no arguments passed, so this shouldn't disrupt most workflows.
682-
685+
683686
- Packrat has introduced support for R packages -- you should now be able to
684687
develop R packages using packrat to manage your dependencies. Work here is
685688
on-going and feedback is appreciated.
686-
689+
687690
- `search_path()` allows you to discover which packages are currently
688691
`attach`ed, and from which library each package has been loaded from.
689-
692+
690693
- `status()` now (invisibly) returns a `data.frame` outlining the current
691694
status of your project, in addition to printing information to the console.
692-
695+
693696
- `packrat::on` now attempts to clean the search path when entering packrat mode.
694697
Any packages loaded from the user library will be unloaded before entering
695698
packrat mode.
696-
699+
697700
- The `init.R` script has been updated to work better with `bundle` / `unbundle`:
698701
after `bundle`ing a packrat project, one should be able to initialize a new
699702
project using a combination of `unbundle` and `source('packrat/init.R')`.
700-
703+
701704
- Migration scripts for Windows users have been added to packrat, to migrate
702705
user libraries away from the system library, to provide the library separation
703706
that Packrat requires.

0 commit comments

Comments
 (0)