Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global option to avoid any dependencies (?) #147

Closed
gaborcsardi opened this issue Aug 29, 2018 · 0 comments
Closed

Global option to avoid any dependencies (?) #147

gaborcsardi opened this issue Aug 29, 2018 · 0 comments
Labels
feature a feature request or enhancement

Comments

@gaborcsardi
Copy link
Member

gaborcsardi commented Aug 29, 2018

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.)

jimhester added a commit to jimhester/remotes that referenced this issue Aug 30, 2018
To control use of external packages

Fixes r-lib#147
jimhester added a commit to jimhester/remotes that referenced this issue Aug 30, 2018
To control use of external packages

Fixes r-lib#147
@jimhester jimhester added the feature a feature request or enhancement label Aug 30, 2018
jimhester added a commit to jimhester/remotes that referenced this issue Aug 31, 2018
To force remotes to use no optional dependencies.

Fixes r-lib#147
jimhester added a commit to jimhester/remotes that referenced this issue Aug 31, 2018
To force remotes to use no optional dependencies.

Fixes r-lib#147
jimhester added a commit that referenced this issue Sep 4, 2018
To force remotes to use no optional dependencies.

Fixes #147
jimhester pushed a commit that referenced this issue Sep 5, 2018
Commit f986e72 removed is_installed()
but did not replace all its calls with a suitable alternative.

See #147, #148.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants