We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the input data includes NA values and a fixed font (e.g. text_font=9) is used, rtf_encode fails with the message:
Error in if (any(index)) { : missing value where TRUE/FALSE needed
Example code:
library(tidyverse) library(r2rtf) df <- tibble(col = c("A", NA, "B")) df %>% rtf_body(text_font = 9) %>% rtf_encode()
The text was updated successfully, but these errors were encountered:
7b484d2
Merge pull request #119 from Merck/bug-118
98cbcf5
bug fix: #118
I have the exact same problem. How do I solve this problem?
Sorry, something went wrong.
Could you provide a reproduce example and your package version?
Please refer to issue 146
No branches or pull requests
When the input data includes NA values and a fixed font (e.g. text_font=9) is used, rtf_encode fails with the message:
Error in if (any(index)) { : missing value where TRUE/FALSE needed
Example code:
library(tidyverse)
library(r2rtf)
df <- tibble(col = c("A", NA, "B"))
df %>% rtf_body(text_font = 9) %>% rtf_encode()
The text was updated successfully, but these errors were encountered: