-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
A known problem on Windows, is that if a package with a shared library is loaded, the library DLL is locked, and it cannot be overwritten. R CMD INSTALL still succeeds (with an extra message), and all other package files are installed, but the DLL is not, that belongs to the old version of the package.
This is even a problem in a clean session, if some (optional) recursive dependency or remotes is being installed/updated, one might end up with a broken installation.
If we could have a global option or env var to suppress loading optional dependencies, then we could handle all of these failures. (Updating remotes itself is fine, because it has no compiled code.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement