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
Errors in Bookdown after updating R 4.3.0 #750
Comments
Fixes R 4.3 compatibility and resolves haozhu233#750
I have the same problem. Any solution?? Thanks in advance |
Same issue here on R 4.3. Does downgrading to 4.2.3 help? |
I installed the patched version from @kupietz and it works, see his comment for more information |
I have noticed several issues with the new version of R that caused conflicts for me. output: However, if I change it and leave only the following for the 'word_document' output format: output: |
Could I do this? How can I installed the patched version? |
In the comment, he suggested doing
This works for me. |
[update: restarting the rsession after installing the dev version also corrected this issue, see below.] I got the same error knitting an existing .Rmd file to html after upgrading to 4.3.0 The dev version from @kupietz did not solve the problem, but deleting the following header lines from my file;
avoided the error. |
Can you tell me the error message you got and have you restarted your R session after installing |
I don't think you really need to restart your R session. The following should do the trick:
|
My apologizes. I reinstalled the dev version and then restarted the r session and the error was avoided. i must not have restarted last time. |
Ok, ran into the same/similar issue again on another file, using the @kupietz dev version. error:
Here, the difference seems to be that the output was defined using slightly different syntax: To Reproduce ---
output: html_document
---
{r setup, include=FALSE}
library(kableExtra)
Deleting the |
Thanks for the report! I've fixed the problem in kupietz/kableExtra and in PR #751 via c50a4cc . |
Once I installed the patch from @kupietz, I had an issue with the |
I have a similar issue in r 4.3.1 when trying to knit a pdf / html / word document. When I knit the document and leave out Does the switching to the dev version of the library fix this?
|
@kupietz Thanks, that worked! |
I am using Fedora COPR R archive. I have to install the Github version because the COPR version is still 1.3.4. |
Describe the bug
Failed to load the pkg in book down environment
the error message is as below
Error: package or namespace load failed for 'kableExtra':
.onLoad failed in loadNamespace() for 'kableExtra', details:
call: !is.null(rmarkdown::metadata$output) && rmarkdown::metadata$output %in%
error: 'length = 2' in coercion to 'logical(1)'
To Reproduce
library(kableExtra)
in a Rmd fileit's too simple to reproduce.
when I rolled back R to 4.2.3 and the error was gone.
The text was updated successfully, but these errors were encountered: