R Under development (unstable) (2025-03-08 r87910 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.4). 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 60 | PASS 0 ] ══ Skipped tests (60) ══════════════════════════════════════════════════════════ • On CRAN (59): '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:231:3', 'test_1_2_textEmbed.R:22:3', 'test_1_2_textEmbed.R:48:3', 'test_1_2_textEmbed.R:82:3', 'test_1_2_textEmbed.R:98:3', 'test_1_2_textEmbed.R:114:3', 'test_1_2_textEmbed.R:145:3', 'test_1_2_textEmbed.R:169:3', 'test_1_2_textEmbed.R:192:3', 'test_1_2_textEmbed.R:249:3', 'test_1_2_textEmbed.R:260: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:108:3', 'test_2_2_textTrainRandomForest.R:207:3', 'test_2_2_textTrainRandomForest.R:273:3', 'test_2_2_textTrainRandomForest.R:397:3', 'test_2_2_textTrainRandomForest.R:472:3', 'test_2_2_textTrainRandomForest.R:511: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:204:3', 'test_4_textPlot.R:227:3', 'test_4_textPlot.R:259:3', 'test_4_textPlot.R:275: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:228:3', 'test_5_Tasks.R:244:3', 'test_5_Tasks.R:259: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 60 | 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 5.81 0.96 6.75