Running examples in ‘cairoDevice-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Cairo
> ### Title: The Cairo Graphics Device
> ### Aliases: Cairo Cairo_pdf Cairo_ps Cairo_svg Cairo_png
> ### Keywords: device
> 
> ### ** Examples
> 
> Cairo()

(R:10232): Gdk-CRITICAL **: 20:58:02.861: IA__gdk_screen_get_width: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.861: IA__gdk_screen_get_width_mm: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.861: IA__gdk_screen_get_height: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.861: IA__gdk_screen_get_height_mm: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): GLib-GObject-WARNING **: 20:58:02.862: invalid (NULL) pointer instance

(R:10232): GLib-GObject-CRITICAL **: 20:58:02.862: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(R:10232): Gtk-CRITICAL **: 20:58:02.862: IA__gtk_window_set_default_size: assertion 'width >= -1' failed

(R:10232): Gtk-WARNING **: 20:58:02.862: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(R:10232): Gdk-CRITICAL **: 20:58:02.862: IA__gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed

 *** caught segfault ***
address 0x18, cause 'memory not mapped'

Traceback:
 1: Cairo()
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault