R Under development (unstable) (2024-12-04 r87420 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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.3.0). 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 59 | PASS 0 ] ══ Skipped tests (59) ══════════════════════════════════════════════════════════ • 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:107:3', 'test_2_2_textTrainRandomForest.R:206:3', 'test_2_2_textTrainRandomForest.R:266:3', 'test_2_2_textTrainRandomForest.R:390:3', 'test_2_2_textTrainRandomForest.R:457:3', 'test_2_2_textTrainRandomForest.R:496: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:51:3', 'test_4_textPlot.R:73:3', 'test_4_textPlot.R:105:3', 'test_4_textPlot.R:136:3', 'test_4_textPlot.R:164:3', 'test_4_textPlot.R:187:3', 'test_4_textPlot.R:219:3', 'test_4_textPlot.R:235:3', 'test_5_Tasks.R:9:3', 'test_5_Tasks.R:26:3', 'test_5_Tasks.R:72:3', 'test_5_Tasks.R:94:3', 'test_5_Tasks.R:108:3', 'test_5_Tasks.R:124:3', 'test_5_Tasks.R:139:3', 'test_6_textFineTune.R:11:3', 'test_7_textTopics.R:17: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' [ FAIL 0 | WARN 0 | SKIP 59 | 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 5.40 0.81 6.23