Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vdiffr)
  > library(viewpoly)
  > 
  > test_check("viewpoly")
  Saving _problems/test-golem-recommended-2.R
  [ FAIL 1 | WARN 2 | SKIP 6 | PASS 58 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-MAPpoly.R:3:3', 'test-QTLpoly.R:3:3', 'test-diaQTL.R:3:3',
    'test-golem-recommended.R:23:5', 'test-polymapR.R:3:3', 'test-polyqtlR.R:3:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-golem-recommended.R:2:3'): app ui ──────────────────────────────
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
       ▆
    1. └─viewpoly:::app_ui() at test-golem-recommended.R:2:3
    2.   ├─htmltools::tagList(...)
    3.   │ └─rlang::dots_list(...)
    4.   ├─bs4Dash::bs4DashPage(...)
    5.   │ └─bs4Dash:::tagAssert(body, type = "div", class = "content-wrapper")
    6.   ├─bs4Dash::dashboardBody(...)
    7.   │ ├─shiny::tags$div(...)
    8.   │ │ └─rlang::dots_list(...)
    9.   │ └─shiny::tags$section(class = "content", ...)
   10.   │   └─rlang::dots_list(...)
   11.   ├─bs4Dash::tabItems(...)
   12.   ├─bs4Dash::tabItem(tabName = "help", mod_help_ui("help_1"))
   13.   │ └─shiny::tags$div(...)
   14.   │   └─rlang::dots_list(...)
   15.   └─viewpoly:::mod_help_ui("help_1")
   16.     ├─htmltools::tagList(...)
   17.     │ └─rlang::dots_list(...)
   18.     ├─shiny::fluidPage(...)
   19.     │ ├─shiny::bootstrapPage(...)
   20.     │ │ └─rlang::list2(...)
   21.     │ └─htmltools::div(class = "container-fluid", ...)
   22.     │   └─rlang::dots_list(...)
   23.     ├─shiny::column(...)
   24.     │ └─htmltools::div(class = colClass, ...)
   25.     │   └─rlang::dots_list(...)
   26.     ├─bs4Dash::box(...)
   27.     │ └─shiny::tags$div(class = "card-body", style = style, ..., sidebar[[2]])
   28.     │   └─rlang::dots_list(...)
   29.     ├─shiny::tabsetPanel(...)
   30.     │ ├─shiny:::remove_first_class(...)
   31.     │ └─bslib (local) func(..., id = id, selected = selected, header = header, footer = footer)
   32.     │   └─bslib (local) new(...)
   33.     │     └─bslib:::tabsetPanel_(...)
   34.     │       └─bslib:::buildTabset(...)
   35.     │         ├─bslib:::dropNulls(list2(...))
   36.     │         └─rlang::list2(...)
   37.     ├─shiny::tabPanel(...)
   38.     │ └─bslib::nav(title, ..., value = value, icon = icon)
   39.     │   └─bslib (local) new(...)
   40.     │     └─bslib:::tabPanel_(title, ..., value = value, icon = icon)
   41.     │       └─htmltools::div(...)
   42.     │         └─rlang::dots_list(...)
   43.     └─htmltools::includeMarkdown(...)
   44.       └─markdown::mark(path, output = NULL)
   45.         └─xfun::write_utf8(c("---", yaml, "---", parts$body), file)
   46.           └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
   47.             └─base::file(con, "w")
  
  [ FAIL 1 | WARN 2 | SKIP 6 | PASS 58 ]
  Deleting unused snapshots: 'tetra_example/effects-bar.svg',
  'tetra_example/effects-circle.svg', 'tetra_example/effects-digenic.svg',
  'tetra_example/linkage-map-draw-names.svg',
  'tetra_example/linkage-map-draw.svg', 'tetra_example/plot-map-list.svg', and
  'tetra_example/qtl-plot.svg'
  Error:
  ! Test failures.
  Execution halted