R Under development (unstable) (2025-07-21 r88439 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.6). Newer versions may have improved functions and updated defaults to reflect current understandings of the state-of-the-art. When using the L-BAM library, be aware that models may be downloaded from external sources. While vetted models come from verified contributors, using models may carry security risks, including the possibility of malicious code in RDS files. Always review and trust the source of any model you load. The text package is provided 'as is' without any warranty of any kind. For more information about the package see www.r-text.org and www.r-topics.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:317: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:166:3', 'test_2_1_textTrainRegression.R:308:3', 'test_2_1_textTrainRegression.R:395:3', 'test_2_1_textTrainRegression.R:464:3', 'test_2_2_textTrainRandomForest.R:10:3', 'test_2_2_textTrainRandomForest.R:136:3', 'test_2_2_textTrainRandomForest.R:233:3', 'test_2_2_textTrainRandomForest.R:300:3', 'test_2_2_textTrainRandomForest.R:412:3', 'test_2_2_textTrainRandomForest.R:486:3', 'test_2_2_textTrainRandomForest.R:534: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.18 1.06 7.57