-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature description
Currently, the function add_deps() automatically removes unused packages from the DESCRIPTION file. But for some packages (e.g. rnaturalearthdata & rnaturalearthhires) this behaviour is not appropriate: these packages are not directly called and they are deleted. This is also true for packages previsously called w/ library() and added to the Depends field. They are deleted if the library() calls are deleted (to reduce redundancy w/ devtools::load_all()).
- Option 1: add an argument
clean(ifTRUE, purges theDESCRIPIONfile, default). Otherwise do not remove packages from theDESCRIPTIONbut just adds new ones. - Option 2: create an additional hidden file (
.rdepsconfig) to list mandatory packages (maybe too complicated to handle). This file can be created automatically for packages called w/library().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request