Running ‘testthat.R’ [12s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(biodosetools)
  Loading required package: shiny
  Loading required package: golem
  > 
  > test_check("biodosetools")
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  number of iterations= 43 
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  number of iterations= 43 
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  ! Problem with `glm()` -> constraint ML optimization will be used instead
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 455 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-golem-recommended.R:71:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-golem-recommended.R:2:3'): app ui ──────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. └─biodosetools:::app_ui() at test-golem-recommended.R:2:3
    2.   ├─htmltools::tagList(...)
    3.   │ └─rlang::dots_list(...)
    4.   ├─shinydashboard::dashboardPage(...)
    5.   │ └─shinydashboard:::tagAssert(body, type = "div", class = "content-wrapper")
    6.   └─biodosetools:::dashboard_body()
    7.     ├─shinydashboard::dashboardBody(...)
    8.     │ ├─htmltools::div(...)
    9.     │ │ └─rlang::dots_list(...)
   10.     │ └─tags$section(class = "content", ...)
   11.     │   └─rlang::dots_list(...)
   12.     ├─shinydashboard::tabItems(...)
   13.     │ └─base::lapply(list(...), tagAssert, class = "tab-pane")
   14.     └─biodosetools:::mod_fitting_dicent_ui(...)
   15.       ├─shinydashboard::tabItem(...)
   16.       │ └─htmltools::div(...)
   17.       │   └─rlang::dots_list(...)
   18.       ├─shiny::fluidRow(...)
   19.       │ └─htmltools::div(class = "row", ...)
   20.       │   └─rlang::dots_list(...)
   21.       ├─shinydashboard::box(...)
   22.       │ ├─htmltools::div(...)
   23.       │ │ └─rlang::dots_list(...)
   24.       │ ├─htmltools::div(...)
   25.       │ │ └─rlang::dots_list(...)
   26.       │ └─htmltools::div(class = "box-body", ...)
   27.       │   └─rlang::dots_list(...)
   28.       ├─bsplus::bs_modal(...)
   29.       │ └─htmltools::div(class = "modal-body", body)
   30.       │   └─rlang::dots_list(...)
   31.       ├─htmltools::tagList(...)
   32.       │ └─rlang::dots_list(...)
   33.       ├─shiny::conditionalPanel(...)
   34.       │ └─htmltools::div(...)
   35.       │   └─rlang::dots_list(...)
   36.       └─biodosetools:::include_help("fitting/count_data_input.md")
   37.         ├─shiny::withMathJax(...)
   38.         │ └─htmltools::tagList(...)
   39.         │   └─rlang::dots_list(...)
   40.         └─htmltools::includeMarkdown(system.file("app/help", ..., package = "biodosetools"))
   41.           └─markdown::mark(path, output = NULL)
   42.             └─xfun::write_utf8(c("---", yaml, "---", parts$body), file)
   43.               └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   44.                 └─base::file(con, "w")
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 455 ]
  Error: Test failures
  Execution halted