R Under development (unstable) (2024-07-28 r86931 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.2.3). 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. For more information about the package see www.r-text.org. > > test_check("text") [ FAIL 0 | WARN 0 | SKIP 56 | PASS 0 ] ══ Skipped tests (56) ══════════════════════════════════════════════════════════ • On CRAN (56): 'test_0_install_test.R:5:3', 'test_1_1_Analyses_flow.R:8:3', 'test_1_1_Analyses_flow.R:214: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:158:3', 'test_2_1_textTrainRegression.R:296:3', 'test_2_1_textTrainRegression.R:379:3', 'test_2_1_textTrainRegression.R:440: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_5_textPredict.R:78: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: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_6_textFineTune.R:11:3', 'test_7_textTopics.R:10: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 56 | 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.92 0.84 5.76