Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a setting for dev in status and snapshot#2190

Merged
kevinushey merged 2 commits intorstudio:mainfrom
Felixmil:dev-setting
Nov 19, 2025
Merged

Add a setting for dev in status and snapshot#2190
kevinushey merged 2 commits intorstudio:mainfrom
Felixmil:dev-setting

Conversation

@Felixmil
Copy link
Contributor

@Felixmil Felixmil commented Nov 18, 2025

closes #1695

Adds a new snapshot.dev setting to control whether development dependencies are included by default in snapshot() and status().

Changes

  • New setting: snapshot.dev (defaults to FALSE) controls inclusion of development dependencies
  • Updated functions: snapshot() and status() now use the setting when the dev parameter is not explicitly provided
  • Backward compatible: Explicit dev arguments still override the setting

@kevinushey
Copy link
Collaborator

LGTM, thanks for the PR!

@Felixmil
Copy link
Contributor Author

I just realized I forgot to update the NEWS file 🤦‍♂️

@Felixmil Felixmil deleted the dev-setting branch November 27, 2025 09:26
Felixmil added a commit to Felixmil/renv that referenced this pull request Nov 27, 2025
…tting (rstudio#2190)

- Added NEWS entry documenting the new snapshot.dev setting
- devtools::document()
kevinushey added a commit that referenced this pull request Jan 6, 2026
…tting (#2190) (#2192)

- Added NEWS entry documenting the new snapshot.dev setting
- devtools::document()

Co-authored-by: Kevin Ushey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: add a configuration or setting for dev in dependencies, status and snapshot

2 participants