R Under development (unstable) (2025-05-01 r88184 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(text) This is text (version 1.5). Newer versions may have improved functions and updated defaults to reflect current understandings of the state-of-the-art. For more information about the package see www.r-text.org. > > test_check("text") [ FAIL 0 | WARN 0 | SKIP 62 | PASS 0 ] ══ Skipped tests (62) ══════════════════════════════════════════════════════════ • On CRAN (61): 'test_0_install_test.R:5:3', 'test_1_0_Describe_Clean.R:10:3', 'test_1_1_Analyses_flow.R:8:3', 'test_1_1_Analyses_flow.R:290:3', 'test_1_1_Analyses_flow_dlatk.R:8:3', 'test_1_2_textEmbed.R:22:3', 'test_1_2_textEmbed.R:62:3', 'test_1_2_textEmbed.R:96:3', 'test_1_2_textEmbed.R:112:3', 'test_1_2_textEmbed.R:128:3', 'test_1_2_textEmbed.R:159:3', 'test_1_2_textEmbed.R:183:3', 'test_1_2_textEmbed.R:206:3', 'test_1_2_textEmbed.R:263:3', 'test_1_2_textEmbed.R:278:3', 'test_2_10_lbam_models.R:13:3', 'test_2_1_textTrainRegression.R:9:3', 'test_2_1_textTrainRegression.R:159:3', 'test_2_1_textTrainRegression.R:297:3', 'test_2_1_textTrainRegression.R:380:3', 'test_2_1_textTrainRegression.R:444:3', 'test_2_2_textTrainRandomForest.R:10:3', 'test_2_2_textTrainRandomForest.R:129:3', 'test_2_2_textTrainRandomForest.R:219:3', 'test_2_2_textTrainRandomForest.R:280:3', 'test_2_2_textTrainRandomForest.R:387:3', 'test_2_2_textTrainRandomForest.R:456:3', 'test_2_2_textTrainRandomForest.R:498:3', 'test_2_3_textTrain_strata.R:9:3', 'test_2_4_textTrainN.R:10:3', 'test_2_5_textPredict.R:9:3', 'test_2_6_textPredict_implicitmotives.R:13:3', 'test_2_8_textDomainCompare.R:9: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:53:3', 'test_4_textPlot.R:75:3', 'test_4_textPlot.R:108:3', 'test_4_textPlot.R:139:3', 'test_4_textPlot.R:227:3', 'test_4_textPlot.R:250:3', 'test_4_textPlot.R:282:3', 'test_4_textPlot.R:298:3', 'test_5_Tasks.R:9:3', 'test_5_Tasks.R:26:3', 'test_5_Tasks.R:192:3', 'test_5_Tasks.R:214:3', 'test_5_Tasks.R:229:3', 'test_5_Tasks.R:248:3', 'test_5_Tasks.R:263:3', 'test_6_textFineTune.R:11:3', 'test_7_textTopics.R:23:3', 'test_Assess_tutorial.R:8:3', 'test_PM_tutorial.R:8:3', 'test_zz_UNinstall_test.R:5:3', 'test_zzz_install_virtualenv_test.R:5:3' • On Windows (1): 'test_2_9_textTrainExamples.R:12:3' [ FAIL 0 | WARN 0 | SKIP 62 | PASS 0 ] Deleting unused snapshots: • 2_9_textTrainExamples/examples-error-plot.svg • 2_9_textTrainExamples/examples-histogram-plot.svg • 2_9_textTrainExamples/examples-scatter-plot.svg > > > # 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 6.31 0.87 7.17