Running ‘run-tests.R’
Running the tests in ‘tests/run-tests.R’ failed.
Complete output:
  > library(testthat)
  > library(gWidgets2)
  Loading required package: digest
  > options(guiToolkit="RGtk2")
  > 
  > f <- list.files(system.file("tests", package="gWidgets2"), full=T)
  > f <- Filter(function(x) !grepl("README", x), f)
  > f <- Filter(function(x) !grepl("html", x), f)
  > 
  > sapply(f, function(i) {
  +   message("testing ", i)
  +   source(i)
  + })
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/button.R
  Loading required package: gWidgets2RGtk2
  Loading required package: memoise
  Loading required package: RGtk2
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/calendar.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/checkbox.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/combobox.R
  tooltips are not implemented for gcombobox and gWidgets2RGtk2
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/containers.R
  
  (R:30593): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/df.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/edit.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/label.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/notebook.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/radio.R
  testing /Users/ripley/R/test-3.4/gWidgets2/tests/slider.R
  
   *** caught segfault ***
  address 0x0, cause 'memory not mapped'
  
  Traceback:
   1: .Call(name, ..., PACKAGE = PACKAGE)
   2: .RGtkCall("S_gtk_hscale_new_with_range", min, max, step, PACKAGE = "RGtk2")
   3: gtkHScaleNewWithRange(1L, length(items), 1L)
   4: .Object$initialize(...)
   5: initialize(value, ...)
   6: initialize(value, ...)
   7: methods::new(def, ...)
   8: GSlider$new(toolkit, from, to, by, value, horizontal, handler,     action, container, ...)
   9: .gslider.guiWidgetsToolkitRGtk2(toolkit, from, to, by, value,     horizontal, handler, action, container = container, ...)
  10: .gslider(toolkit, from, to, by, value, horizontal, handler, action,     container = container, ...)
  11: gslider(from = 0, to = 100, by = 1, cont = g)
  12: eval(ei, envir)
  13: eval(ei, envir)
  14: withVisible(eval(ei, envir))
  15: source(i)
  16: FUN(X[[i]], ...)
  17: lapply(X = X, FUN = FUN, ...)
  18: sapply(f, function(i) {    message("testing ", i)    source(i)})
  An irrecoverable exception occurred. R is aborting now ...