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
Styler cannot be loaded #1079
Comments
are you on Windows? if so it may be necessary to restart the computer before reinstalling |
I am on Windows. I deinstalled styler, restarted the computer and installed it again, but the error is the same... |
Can you explicitly deactivate the cache and load the package again? options("styler.cache_name" = NULL)
library(styler) |
@lorenzwalthert I tried it, also with removing and restarting the computer before reinstalling, but I get the same error... |
Very strange. I don’t think I cantaloupe here. Please look for these types of problems on stackoverflow, Google, etc. |
I recommend trying options(error=recover) to get better insight on where the error is triggering. please also provide traceback() of the error. |
I did not know the option you suggested, so sadly I need some more information how to work with it/what to look for. I will look into it, if I have time today and will amend this comment. The traceback resulted in the following:
|
Due to inactivity, I think we should close this. It seems not a problem with {styler}, but rather with your R setup. |
Hello, after installing
styler
I cannot open it usinglibrary()
orrequire()
.I get the following error message when trying to load the package:
Removing and reinstalling results in the same error. Restarting the R Session does not help.
When I used
reprex::reprex()
to create the following example, I got the following message:I use R version 4.2.2 and install the newest styler version in 1.8.1. I couldnt find another package with this problem. Do you have an idea where this bug is coming from?
The text was updated successfully, but these errors were encountered: