CRAN Package Check Results for Package saotd

Last updated on 2020-06-15 08:53:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 14.86 337.20 352.06 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 13.37 140.83 154.20 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 396.76 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 422.74 ERROR
r-devel-windows-ix86+x86_64 0.2.0 60.00 258.00 318.00 ERROR
r-patched-linux-x86_64 0.2.0 13.86 0.02 13.88 FAIL
r-patched-solaris-x86 0.2.0 355.50 ERROR
r-release-linux-x86_64 0.2.0 11.84 239.29 251.13 ERROR
r-release-osx-x86_64 0.2.0 NOTE
r-release-windows-ix86+x86_64 0.2.0 47.00 232.00 279.00 ERROR
r-oldrel-osx-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 48.00 237.00 285.00 ERROR

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [135s/153s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     -- 1. Failure: bigrams are computed properly (@test_bigram.R#19) --------------
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 2. Error: (unknown) (@test_number_topics.R#12) -----------------------------
     Assigned data `rows` must be compatible with existing data.
     x Existing data has 3 rows.
     x Assigned data has 332735440 rows.
     i Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     -- 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ------------
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 4. Error: (unknown) (@test_tweet_topics.R#12) ------------------------------
     Assigned data `rows` must be compatible with existing data.
     x Existing data has 3 rows.
     x Assigned data has 77083488 rows.
     i Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     -- 5. Failure: unigrams are computed properly (@test_unigram.R#18) ------------
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     == testthat results ===========================================================
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 8 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'saotd.Rmd' using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Warning in NextMethod() :
     number of items to replace is not a multiple of replacement length
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    Assigned data `rows` must be compatible with existing data.
    x Existing data has 5000 rows.
    x Assigned data has 310096616 rows.
    i Only vectors of size 1 are recycled.
    --- failed re-building 'saotd.Rmd'
    
    SUMMARY: processing the following file failed:
     'saotd.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     ── 1. Failure: bigrams are computed properly (@test_bigram.R#19) ──────────────
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 2. Error: (unknown) (@test_number_topics.R#12) ─────────────────────────────
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     ── 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ────────────
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 4. Error: (unknown) (@test_tweet_topics.R#12) ──────────────────────────────
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     ── 5. Failure: unigrams are computed properly (@test_unigram.R#18) ────────────
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘saotd.Rmd’ using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    only 0's may be mixed with negative subscripts
    --- failed re-building ‘saotd.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘saotd.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 826 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [161s/188s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     ── 1. Failure: bigrams are computed properly (@test_bigram.R#19) ──────────────
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 2. Error: (unknown) (@test_number_topics.R#12) ─────────────────────────────
     Assigned data `rows` must be compatible with existing data.
     ✖ Existing data has 3 rows.
     ✖ Assigned data has 332062720 rows.
     ℹ Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     ── 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ────────────
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 4. Error: (unknown) (@test_tweet_topics.R#12) ──────────────────────────────
     Assigned data `rows` must be compatible with existing data.
     ✖ Existing data has 3 rows.
     ✖ Assigned data has 211208112 rows.
     ℹ Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     ── 5. Failure: unigrams are computed properly (@test_unigram.R#18) ────────────
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 8 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘saotd.Rmd’ using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    only 0's may be mixed with negative subscripts
    --- failed re-building ‘saotd.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘saotd.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [202s/232s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     ── 1. Failure: bigrams are computed properly (@test_bigram.R#19) ──────────────
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 2. Error: (unknown) (@test_number_topics.R#12) ─────────────────────────────
     Assigned data `rows` must be compatible with existing data.
     ✖ Existing data has 3 rows.
     ✖ Assigned data has 349272224 rows.
     ℹ Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     ── 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ────────────
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 4. Error: (unknown) (@test_tweet_topics.R#12) ──────────────────────────────
     Assigned data `rows` must be compatible with existing data.
     ✖ Existing data has 3 rows.
     ✖ Assigned data has 228500256 rows.
     ℹ Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     ── 5. Failure: unigrams are computed properly (@test_unigram.R#18) ────────────
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 8 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     -- 1. Failure: bigrams are computed properly (@test_bigram.R#19) --------------
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 2. Error: (unknown) (@test_number_topics.R#12) -----------------------------
     Assigned data `rows` must be compatible with existing data.
     x Existing data has 3 rows.
     x Assigned data has 62 rows.
     i Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     -- 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ------------
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 4. Error: (unknown) (@test_tweet_topics.R#12) ------------------------------
     cannot allocate vector of size 15.8 Gb
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     -- 5. Failure: unigrams are computed properly (@test_unigram.R#18) ------------
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     == testthat results ===========================================================
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'saotd.Rmd' using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Warning in NextMethod() :
     number of items to replace is not a multiple of replacement length
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    Assigned data `rows` must be compatible with existing data.
    x Existing data has 5000 rows.
    x Assigned data has 502823048 rows.
    i Only vectors of size 1 are recycled.
    --- failed re-building 'saotd.Rmd'
    
    SUMMARY: processing the following file failed:
     'saotd.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2.0
Check: tests
Result: FAIL
Flavor: r-patched-linux-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [19s/23s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     ── 1. Failure: bigrams are computed properly (@test_bigram.R#19) ──────────────
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 2. Error: (unknown) (@test_number_topics.R#12) ─────────────────────────────
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     ── 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ────────────
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 4. Error: (unknown) (@test_tweet_topics.R#12) ──────────────────────────────
     Assigned data `rows` must be compatible with existing data.
     ✖ Existing data has 3 rows.
     ✖ Assigned data has 43 rows.
     ℹ Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     ── 5. Failure: unigrams are computed properly (@test_unigram.R#18) ────────────
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘saotd.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    cannot allocate vector of length 2054842738
    --- failed re-building ‘saotd.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘saotd.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     ── 1. Failure: bigrams are computed properly (@test_bigram.R#19) ──────────────
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 2. Error: (unknown) (@test_number_topics.R#12) ─────────────────────────────
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::number_topics(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     ── 3. Failure: Trigrams are computed properly (@test_trigram.R#21) ────────────
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ── 4. Error: (unknown) (@test_tweet_topics.R#12) ──────────────────────────────
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     ── 5. Failure: unigrams are computed properly (@test_unigram.R#18) ────────────
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 63 | SKIPPED: 0 | WARNINGS: 6 | FAILED: 5 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Error: (unknown) (@test_number_topics.R#12)
     3. Failure: Trigrams are computed properly (@test_trigram.R#21)
     4. Error: (unknown) (@test_tweet_topics.R#12)
     5. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [14s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     -- 1. Failure: bigrams are computed properly (@test_bigram.R#19) --------------
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     fit models... done.
     calculate metrics:
     Griffiths2004... done.
     CaoJuan2009... done.
     Arun2010... done.
     Deveaud2014... done.
     -- 2. Failure: Trigrams are computed properly (@test_trigram.R#21) ------------
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 3. Error: (unknown) (@test_tweet_topics.R#12) ------------------------------
     Assigned data `rows` must be compatible with existing data.
     x Existing data has 3 rows.
     x Assigned data has 3612400 rows.
     i Only vectors of size 1 are recycled.
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     15. tibble:::`$<-.tbl_df`(...)
     16. tibble:::tbl_subassign(...)
     17. tibble:::vectbl_recycle_rhs(...)
     18. base::tryCatch(...)
     19. base:::tryCatchList(expr, classes, parentenv, handlers)
     20. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     21. value[[3L]](cond)
    
     -- 4. Failure: unigrams are computed properly (@test_unigram.R#18) ------------
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     == testthat results ===========================================================
     [ OK: 65 | SKIPPED: 0 | WARNINGS: 8 | FAILED: 4 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Failure: Trigrams are computed properly (@test_trigram.R#21)
     3. Error: (unknown) (@test_tweet_topics.R#12)
     4. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'saotd.Rmd' using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Warning in NextMethod() :
     number of items to replace is not a multiple of replacement length
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    Assigned data `rows` must be compatible with existing data.
    x Existing data has 5000 rows.
    x Assigned data has 498638544 rows.
    i Only vectors of size 1 are recycled.
    --- failed re-building 'saotd.Rmd'
    
    SUMMARY: processing the following file failed:
     'saotd.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [19s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(saotd)
     >
     > test_check("saotd")
     -- 1. Failure: bigrams are computed properly (@test_bigram.R#19) --------------
     saotd::bigram(DataFrame = test_bigram_df) not equal to `correct_bigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     fit models... done.
     calculate metrics:
     Griffiths2004... done.
     CaoJuan2009... done.
     Arun2010... done.
     Deveaud2014... done.
     -- 2. Failure: Trigrams are computed properly (@test_trigram.R#21) ------------
     saotd::trigram(DataFrame = test_trigram_df) not equal to `correct_trigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     -- 3. Error: (unknown) (@test_tweet_topics.R#12) ------------------------------
     only 0's may be mixed with negative subscripts
     Backtrace:
     1. saotd::tweet_topics(DataFrame = test_df, clusters = 3, num_terms = 5)
     2. dplyr::mutate(...)
     2. dplyr::mutate(., text = stringr::str_replace_all(text, "#", ""))
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::mutate(...)
     2. dplyr::group_by(., key)
     2. tidytext::unnest_tokens(., word, text)
     9. dplyr::anti_join(., tidytext::stop_words)
     11. dplyr:::join_filter(x, y, by = by, type = "anti", na_matches = na_matches)
     13. dplyr:::dplyr_row_slice.grouped_df(x, idx)
     18. base::NextMethod()
    
     -- 4. Failure: unigrams are computed properly (@test_unigram.R#18) ------------
     saotd::unigram(DataFrame = test_unigram_df) not equal to `correct_unigram_df`.
     Attributes: < Component "class": Lengths (1, 3) differ (string compare on first 1) >
     Attributes: < Component "class": 1 string mismatch >
    
     == testthat results ===========================================================
     [ OK: 65 | SKIPPED: 0 | WARNINGS: 7 | FAILED: 4 ]
     1. Failure: bigrams are computed properly (@test_bigram.R#19)
     2. Failure: Trigrams are computed properly (@test_trigram.R#21)
     3. Error: (unknown) (@test_tweet_topics.R#12)
     4. Failure: unigrams are computed properly (@test_unigram.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'saotd.Rmd' using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Selecting by n
    Joining, by = "word"
    Quitting from lines 259-264 (saotd.Rmd)
    Error: processing vignette 'saotd.Rmd' failed with diagnostics:
    cannot allocate vector of size 14.5 Gb
    --- failed re-building 'saotd.Rmd'
    
    SUMMARY: processing the following file failed:
     'saotd.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64