Running 'testthat.R' [171s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library("testthat")
  > library("sentopics")
  > 
  > if (Sys.getenv("R_COVR") != "true") {
  +   test_check("sentopics")
  + } else {
  +   test_check("sentopics", reporter = default_reporter())
  +   # test_check("sentopics", reporter = LocationReporter)
  + }
  [ FAIL 5 | WARN 1 | SKIP 1 | PASS 310 ]
  
  == Skipped tests ===============================================================
  * On CRAN (1)
  
  == Failed tests ================================================================
  -- Error ('test-JST.R:36'): functions works ------------------------------------
  Error in `plot.sentopicmodel(JST)`: Suggested packages are missing for the plot.sentopicmodel function.
  Please install first the following packages: plotly.
  Install command: install.packages('plotly')
  Backtrace:
       x
    1. +-testthat::expect_silent(p <- plot(JST)) at test-JST.R:36:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-base::plot(JST)
   10. \-sentopics:::plot.sentopicmodel(JST)
  -- Error ('test-LDA.R:31'): functions works ------------------------------------
  Error in `plot.sentopicmodel(LDA)`: Suggested packages are missing for the plot.sentopicmodel function.
  Please install first the following packages: plotly.
  Install command: install.packages('plotly')
  Backtrace:
       x
    1. +-testthat::expect_silent(p <- plot(LDA)) at test-LDA.R:31:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-base::plot(LDA)
   10. \-sentopics:::plot.sentopicmodel(LDA)
  -- Error ('test-rJST.R:36'): functions works -----------------------------------
  Error in `plot.sentopicmodel(rJST)`: Suggested packages are missing for the plot.sentopicmodel function.
  Please install first the following packages: plotly.
  Install command: install.packages('plotly')
  Backtrace:
       x
    1. +-testthat::expect_silent(p <- plot(rJST)) at test-rJST.R:36:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-base::plot(rJST)
   10. \-sentopics:::plot.sentopicmodel(rJST)
  -- Error ('test-utils.R:44'): sunburst works -----------------------------------
  Error in `plot.sentopicmodel(model)`: Suggested packages are missing for the plot.sentopicmodel function.
  Please install first the following packages: plotly.
  Install command: install.packages('plotly')
  Backtrace:
       x
    1. +-testthat::expect_silent(p <- plot(model)) at test-utils.R:44:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-base::plot(model)
   10. \-sentopics:::plot.sentopicmodel(model)
  -- Error ('test-utils.R:113'): mergeTopics works -------------------------------
  Error in `plot.sentopicmodel(merged)`: Suggested packages are missing for the plot.sentopicmodel function.
  Please install first the following packages: plotly.
  Install command: install.packages('plotly')
  Backtrace:
      x
   1. +-base::plot(merged) at test-utils.R:113:2
   2. \-sentopics:::plot.sentopicmodel(merged)
  
  [ FAIL 5 | WARN 1 | SKIP 1 | PASS 310 ]
  Error: Test failures
  Execution halted