Skip to content
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

stringi update breaks readtext as well #166

Open
gagolews opened this issue Sep 9, 2020 · 0 comments
Open

stringi update breaks readtext as well #166

gagolews opened this issue Sep 9, 2020 · 0 comments

Comments

@gagolews
Copy link

gagolews commented Sep 9, 2020

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.

@gagolews gagolews changed the title stringi update breaks teadtext as well stringi update breaks readtext as well Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant