Running 'spelling.R' [1s]
  Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(blastula)
  > 
  > test_check("blastula")
  -- 1. Error: composing a simple message is possible (@test-compose_email.R#6)  -
  there is no package called 'stringi'
  Backtrace:
    1. blastula::compose_email()
    2. email_message$html_str
   10. stringr::str_detect(., "<img cid=.*? src=\"data:image/(png|jpeg);base64,.*?\"")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   16. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   18. base:::withOneRestart(expr, restarts[[1L]])
   19. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: email components appear in the HTML message (@test-compose_email.R#
  there is no package called 'stringi'
  Backtrace:
    1. blastula::compose_email(body = "test_text_in_body")
    2. email_message$html_str
   10. stringr::str_detect(., "<img cid=.*? src=\"data:image/(png|jpeg);base64,.*?\"")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   16. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   18. base:::withOneRestart(expr, restarts[[1L]])
   19. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: composing a message with local inline images is possible (@test-com
  there is no package called 'stringi'
  Backtrace:
    1. blastula::compose_email(body = md(body_input))
    2. email_message$html_str
   10. stringr::str_detect(., "<img cid=.*? src=\"data:image/(png|jpeg);base64,.*?\"")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   16. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   18. base:::withOneRestart(expr, restarts[[1L]])
   19. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: the `get_html_str()` function returns the expected output (@test-ge
  there is no package called 'stringi'
  Backtrace:
    1. blastula::compose_email(body = "test")
    2. email_message$html_str
   10. stringr::str_detect(., "<img cid=.*? src=\"data:image/(png|jpeg);base64,.*?\"")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   16. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   18. base:::withOneRestart(expr, restarts[[1L]])
   19. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: URL encoding is correctly decoded (@test-html_manip.R#39)  --------
  there is no package called 'stringi'
  Backtrace:
    1. blastula:::cid_images("url_encoding.html")
    2. blastula:::replace_attr(...)
    3. blastula:::gfsub(...)
    8. blastula:::func(html_unescape(attr_val))
    9. stringr::str_match
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   15. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   16. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   17. base:::withOneRestart(expr, restarts[[1L]])
   18. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: File URI parsing works correctly (@test-html_manip.R#63)  ---------
  there is no package called 'stringi'
  Backtrace:
    1. testthat::expect_identical(...)
    4. blastula:::file_uri_to_filepath("file:///foo/bar")
    5. stringr::str_match
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   11. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13. base:::withOneRestart(expr, restarts[[1L]])
   14. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: varying formats for recipient lists work as expected (@test-mime.R#
  there is no package called 'stringi'
  Backtrace:
    1. blastula::compose_email()
    2. email_message$html_str
   10. stringr::str_detect(., "<img cid=.*? src=\"data:image/(png|jpeg);base64,.*?\"")
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   16. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   18. base:::withOneRestart(expr, restarts[[1L]])
   19. base:::doWithOneRestart(return(expr), restart)
  
  -- 8. Error: knitr_sidecar_prefix preconditions hold (@test-utils.R#12)  -------
  there is no package called 'stringi'
  Backtrace:
    1. rmarkdown::render(rmd_path, quiet = TRUE)
    2. knitr::knit(...)
    3. knitr:::process_file(text, output)
    4. knitr:::split_file(lines = text)
    5. base::lapply(...)
    6. knitr:::FUN(X[[i]], ...)
    7. knitr:::parse_inline(g, patterns)
    8. stringr::str_locate_all
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   14. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   15. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16. base:::withOneRestart(expr, restarts[[1L]])
   17. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 150 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Error: composing a simple message is possible (@test-compose_email.R#6) 
  2. Error: email components appear in the HTML message (@test-compose_email.R#50) 
  3. Error: composing a message with local inline images is possible (@test-compose_email.R#156) 
  4. Error: the `get_html_str()` function returns the expected output (@test-get_html_str.R#6) 
  5. Error: URL encoding is correctly decoded (@test-html_manip.R#39) 
  6. Error: File URI parsing works correctly (@test-html_manip.R#63) 
  7. Error: varying formats for recipient lists work as expected (@test-mime.R#61) 
  8. Error: knitr_sidecar_prefix preconditions hold (@test-utils.R#12) 
  
  Error: testthat unit tests failed
  Execution halted