Closed kbenoit closed 6 years ago
Update: this bug still exists in the new release. To reproduce run in a clean R session:
DATA_DIR <- system.file("extdata", "pdf", "UDHR", package = "readtext")
readtext::readtext(sort(list.files(DATA_DIR, full.names = TRUE, pattern = "\\.pdf$")))
@jeroen Thanks for the feedback. Should be fixed when a PR is accepted.
It’s fixed now, and I added a more comprehensive approach that allows more options to be added. It works in the same as as quanteda::quanteda_options()
, which can be set in .Rprofile
for instance but will always be initialized if called without the package being attached.
Will re-submit to CRAN asap.
This is because
zzz.R
has not run.onload()
yet to set the options.