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

if pkg_vload() is not successful in installing a package it gives a permanent error afterwards #1

Open
venpopov opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@venpopov
Copy link
Owner

venpopov commented Dec 2, 2024

I ran into this problem when trying to install a really old version of plotly with pkg_vload(plotly("4.7.1")). There was some error during the installation due to an unavailable dependency. Afterwards, runnign the command again said something like "package plotly doesn't exist".

Despite the failed installation, there was a leftover folder in the user library. Deleting it solved the problem. I need to make sure to clean-up in case of error.

@venpopov venpopov added the bug Something isn't working label Dec 2, 2024
@venpopov venpopov self-assigned this Dec 2, 2024
@venpopov
Copy link
Owner Author

venpopov commented Dec 3, 2024

The problem is that I currently create a folder pkgname-#.#.# with the pkgname true folder inside of that.
When a package like dplyr gives an error, it removes the final folder, but my own folder remains:

* removing ‘/Users/vpopov/Library/R/arm64/4.4/library/dplyr-0.7.4/dplyr’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant