-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Apologies for what follows:
Package: readtext
Check: tests
New result: ERROR
Running ‘testthat.R’ [9s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(readtext)
> library(quanteda)
Package version: 2.1.1
Parallel computing: 2 of 32 threads used.
See https://quanteda.io for tutorials and examples.
Attaching package: 'quanteda'
The following object is masked from 'package:utils':
View
>
> # save, then reset, readtext options
> opts <- readtext_options()
> readtext_options(reset = TRUE)
>
> # set the soon-to-be-official-R-policy condition
> Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
>
> test_check("readtext")
── 1. Failure: test for pdf file (@test-readtext.R#600) ───────────────────────
texts(readtext("../data/pdf/test.pdf")) not equal to `expected`.
1/1 mismatches
x[1]: "The quick brown fox jumps over the lazy dog\n\n\n\n\n
x[1]: 1\n\f"
y[1]: "The quick brown fox jumps over the lazy dog\n
y[1]: 1\n"
â•â• testthat results â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
[ OK: 158 | SKIPPED: 10 | WARNINGS: 3 | FAILED: 1 ]
1. Failure: test for pdf file (@test-readtext.R#600)
Error: testthat unit tests failed
Execution halted
but this may also be due to the failing checks of quanteda.
Metadata
Metadata
Assignees
Labels
No labels