Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the rdev package to version 1.16.0, migrating from the deprecated renv::status(dev = TRUE) pattern to the new renv 1.1.6 settings-based approach renv::settings$snapshot.dev(TRUE).
Changes:
- Replaced
renv::status(dev = TRUE)withrenv::status()in code and documentation - Added
snapshot.dev = TRUEto renv settings initialization - Removed
dev = TRUEparameter fromrenv::snapshot()calls - Updated renv dependency to >= 1.1.6
- Added upkeep checklist item for enabling the new setting
Reviewed changes
Copilot reviewed 70 out of 72 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| R/ci.R | Updated check_renv() and ci() to use renv::status() without dev parameter, updated documentation |
| R/setup.R | Removed dev=TRUE from snapshot calls, added snapshot.dev to renv::init() settings |
| R/upkeep.R | Added 2026 upkeep item to check snapshot.dev setting |
| man/ci.Rd, man/check_renv.Rd | Updated documentation to reflect API changes |
| tests/testthat/test-ci.R | Updated test expectations to match new renv::status() output |
| tests/testthat/test-upkeep.R | Added mocking for renv::settings$snapshot.dev and updated test expectations |
| renv/settings.json | Added "snapshot.dev": true setting |
| renv.lock | Updated to renv 1.1.6 and various dependency versions |
| DESCRIPTION | Updated version to 1.16.0 and renv dependency to >= 1.1.6 |
| TODO.md | Marked "Replace dev = TRUE logic" task as complete |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
check_renv()andci(), replacingrenv::status(dev = TRUE)with new renv 1.1.6 settingrenv::settings$snapshot.dev(TRUE)