-
Notifications
You must be signed in to change notification settings - Fork 49
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
Error in loadNamespace(name) : there is no package called 'utf8' #374
Comments
I have a similar problem when preparing for a CRAN submission for joelgombin/banR.
I actually tried to include utf8 because otherwise the vignette building would fail with: |
This is probably the same as this issue: #367 (comment) |
I'm runing into the same problem:
|
Did you try the workaround referred to in the previous comment? |
Yes and it works fine. Thanks :) |
Just to clarify things for others looking at this same issue: I used the below as recommended by @gaborcsardi - it fixed my utf8 build issue. rhub::check(
platform="windows-x86_64-devel",
env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
) |
using R Under development (unstable) (2020-04-22 r78281) (1.2s)
─ using platform: x86_64-w64-mingw32 (64-bit)
Different runs can produce different packages that are not available. I had 'pillar' not available twice in a row.
I preparation for a CRAN submission of github.com/rmsharp/nprcgenekeepr
checking examples with --run-donttest (26.8s)
Running examples in 'nprcgenekeepr-Ex.R' failed
The error most likely occurred in:
Error in loadNamespace(name) : there is no package called 'utf8'
Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
The text was updated successfully, but these errors were encountered: