I am new to R and R studio so sorry if this is a slightly dumb question but when I try to run the code below, I get most of my results but also a bunch of errors "PDF error : Bad annotation destintation".
What is it due to? How can I fix this?
My code :
dest <- "C:/Users/me/Documents/2019/"
result_table <- data.frame(keyword_directory(dest,
keyword = c("informatique"),
surround_lines = 1, full_names = TRUE))
result_clean <- result_table %>% select(ID, pdf_name, keyword, line_text)
write_xlsx(x = result_clean, path = "C:/Users/me/Documents/2019/rod_2019.xlsx", col_names = TRUE)