R Under development (unstable) (2023-08-05 r84874 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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.0). 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. Please note that defaults has changed in the textEmbed-functions since last version; see help(textEmbed) or www.r-text.org for more details. > > test_check("text") [ FAIL 0 | WARN 0 | SKIP 44 | PASS 0 ] ══ Skipped tests (44) ══════════════════════════════════════════════════════════ • On CRAN (44): 'test_0_install_test.R:5:3', 'test_1_Analyses_flow.R:10:3', 'test_1_Analyses_flow.R:193:3', 'test_2_textTrain.R:9:3', 'test_2_textTrain.R:181:3', 'test_2_textTrain.R:258:3', 'test_2_textTrain.R:342:3', 'test_2_textTrain.R:470:3', 'test_2_textTrain.R:572:3', 'test_2_textTrain.R:633:3', 'test_2_textTrain.R:694:3', 'test_2_textTrain.R:758:3', 'test_3_textSimilarityAndtextDiff.R:9:3', 'test_3_textSimilarityAndtextDiff.R:20:3', 'test_3_textSimilarityAndtextDiff.R:35:3', 'test_3_textSimilarityAndtextDiff.R:46:3', 'test_3_textSimilarityAndtextDiff.R:57:3', 'test_3_textSimilarityAndtextDiff.R:73:3', 'test_4_textPlot.R:10:3', 'test_4_textPlot.R:33:3', 'test_4_textPlot.R:55:3', 'test_4_textPlot.R:86:3', 'test_4_textPlot.R:117:3', 'test_4_textPlot.R:145:3', 'test_4_textPlot.R:167:3', 'test_4_textPlot.R:198:3', 'test_4_textPlot.R:214:3', 'test_5_Tasks.R:10:3', 'test_5_Tasks.R:34:3', 'test_5_Tasks.R:78:3', 'test_5_Tasks.R:99:3', 'test_5_Tasks.R:112:3', 'test_5_Tasks.R:124:3', 'test_5_Tasks.R:138:3', 'test_99_textEmbed.R:23:3', 'test_99_textEmbed.R:57:3', 'test_99_textEmbed.R:73:3', 'test_99_textEmbed.R:89:3', 'test_99_textEmbed.R:120:3', 'test_99_textEmbed.R:142:3', 'test_99_textEmbed.R:165:3', 'test_99_textEmbed.R:218:3', 'test_99_textEmbed.R:229:3', 'test_PM_tutorial.R:8:3' [ FAIL 0 | WARN 0 | SKIP 44 | 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 3.65 0.28 3.92