Running 'testthat.R' [153s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(text)
  This is text (version 1.2.0).
  Text is new and still rapidly improving.
                 
  Newer versions may have improved functions and updated defaults to reflect current understandings of the state-of-the-art.
                 Please send us feedback based on your experience.
  
  Please note that defaults has changed in the textEmbed-functions since last version; see help(textEmbed) or www.r-text.org for more details.
  > 
  > test_check("text")
  [ FAIL 0 | WARN 0 | SKIP 46 | PASS 0 ]
  
  ══ Skipped tests (46) ══════════════════════════════════════════════════════════
  • On CRAN (46): 'test_0_install_test.R:5:3', 'test_1_Analyses_flow.R:8:3',
    'test_1_Analyses_flow.R:192:3', 'test_2_1_textTrain_strata.R:9:3',
    'test_2_textTrain.R:9:3', 'test_2_textTrain.R:183:3',
    'test_2_textTrain.R:260:3', 'test_2_textTrain.R:344:3',
    'test_2_textTrain.R:473:3', 'test_2_textTrain.R:575:3',
    'test_2_textTrain.R:636:3', 'test_2_textTrain.R:697:3',
    'test_2_textTrain.R:767:3', 'test_3_textSimilarityAndtextDiff.R:8:3',
    'test_3_textSimilarityAndtextDiff.R:19:3',
    'test_3_textSimilarityAndtextDiff.R:34:3',
    'test_3_textSimilarityAndtextDiff.R:45:3',
    'test_3_textSimilarityAndtextDiff.R:56:3',
    'test_3_textSimilarityAndtextDiff.R:72:3', 'test_4_textPlot.R:9:3',
    'test_4_textPlot.R:32:3', 'test_4_textPlot.R:54:3', 'test_4_textPlot.R:86:3',
    'test_4_textPlot.R:117:3', 'test_4_textPlot.R:145:3',
    'test_4_textPlot.R:167:3', 'test_4_textPlot.R:199:3',
    'test_4_textPlot.R:215:3', 'test_5_Tasks.R:9:3', 'test_5_Tasks.R:33:3',
    'test_5_Tasks.R:77:3', 'test_5_Tasks.R:98:3', 'test_5_Tasks.R:111:3',
    'test_5_Tasks.R:123:3', 'test_5_Tasks.R:137:3', 'test_7_textTopics.R:10:3',
    'test_99_textEmbed.R:23:3', 'test_99_textEmbed.R:57:3',
    'test_99_textEmbed.R:73:3', 'test_99_textEmbed.R:89:3',
    'test_99_textEmbed.R:120:3', 'test_99_textEmbed.R:142:3',
    'test_99_textEmbed.R:165:3', 'test_99_textEmbed.R:220:3',
    'test_99_textEmbed.R:231:3', 'test_PM_tutorial.R:8:3'
  
  [ FAIL 0 | WARN 0 | SKIP 46 | PASS 0 ]
  > 
  > 
  > # The submission to CRAN has been rejected several times because the
  > # time to check the package is too long (>10 min). Thus,  we'll avoid running all tests on
  > # CRAN.
  > 
  > if (identical(Sys.getenv("NOT_CRAN"), "true")) { # emulates `testthat:::on_cran()`
  +   if (requireNamespace("xml2")) {
  +     test_check("text",
  +       reporter = MultiReporter$new(reporters = list(
  +         JunitReporter$new(file = "test-results.xml"),
  +         CheckReporter$new()
  +       ))
  +     )
  +   } else {
  +     test_check("text")
  +   }
  + }
  > 
  > proc.time()
     user  system elapsed 
     4.37    0.68    5.07