Running ‘tests.R’ [18s/27s]
Running the tests in ‘tests/tests.R’ failed.
Complete output:
  > 
  > 
  > library(testthat)
  > library(lolog)
  Loading required package: Rcpp
  > 
  > test_check("lolog")
  
   Model is dyad independent. Replications are redundant. Setting nReplicates <- 1L.
  
   Model is dyad independent. Replications are redundant. Setting nReplicates <- 1L.
  ── 1. Error: lolog_fit (@test-lolog-fit.R#59)  ─────────────────────────────────
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: plot(fit) at testthat/test-lolog-fit.R:59
  2: plot.lologGmm(fit)
  3: print(pp)
  4: print(pp)
  5: print.ggplot(pp)
  6: ggplot_gtable(data)
  7: ggplot_gtable.ggplot_built(data)
  8: layout$render(geom_grobs, data, theme, plot$labels)
  9: f(..., self = self)
  10: self$facet$draw_panels(panels, self$layout, self$panel_scales_x, self$panel_scales_y, 
         self$panel_params, self$coord, data, theme, self$facet_params)
  11: f(...)
  12: render_strips(structure(labels_df, type = "rows"), structure(labels_df, type = "cols"), 
         params$labeller, theme)
  13: build_strip(x, labeller, theme, TRUE)
  14: ggstrip(grobs, theme, element, gp, horizontal, clip = "on")
  15: Summary.unit(structure(c(4.4, 4.4), unit = 8L, class = c("margin", "unit")), na.rm = FALSE)
  
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  Error in x$.self$finalize() : attempt to apply non-function
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 67 SKIPPED: 1 FAILED: 1
  1. Error: lolog_fit (@test-lolog-fit.R#59) 
  
  Error: testthat unit tests failed
  Execution halted