_R_CHECK_DEPENDS_ONLY_: truegirafe_class_add(), girafe_class_remove() and
girafe_class_toggle() allow programmatic manipulation of CSS classes
on girafe SVG elements from Shiny. Elements are targeted by data_id,
key_id or theme_id (#321).opts_hover() and opts_selection() gain a new linked parameter. When
linked = TRUE, hover and selection states are shared between geometry
elements (data-id) and legend/guide elements (key-id): hovering or
clicking a legend key highlights or selects the corresponding geometries,
and vice versa (#330).girafe() with argument ggobj in first position.
IT DOES NOT makes ggplot objects pipe-able with girafe() (unless you add
parenthesis around your ggplot code).girafe() are now merged with defaults from
set_girafe_defaults() instead of replacing them entirely. This allows
setting global styles while overriding specific parameters per plot (#328).subgroup" warning when using
geom_segment_interactive() or geom_path_interactive() with coord_polar() (#344).ggbeeswarm::geom_quasirandom, see
geom_quasirandom_interactive().default_on parameter to opts_zoom() to automatically activate pan/zoom
mode when plot is rendered.opts_toolbar() documentation and examples to better demonstrate the hidden
parameter for customizing which toolbar buttons are displayed.register_liberationsans()).check_fonts_registered and check_fonts_dependencies arguments to girafe()
to validate that fonts used in plots are properly registered and available in HTML dependencies.zoom_off state in toolbar not being applied correctly.geom_ribbon_interactive() hover behavior so all ribbon parts
(upper, lower, fill) with same data_id react together.geom_line_interactive() and geom_path_interactive() with
mismatched lengths of ids message when data have NA.shinyWidgets::genIdfont_family_exists() was a duplicated function from 'gdtools', as 'gdtools' is now imported
it makes no sense to keep the duplicate. Use gdtools::font_family_exists() instead of
ggiraph::font_family_exists().facet_wrap_interactive() that was causing issues
when there were more than 9 levels.requireNamespace in the example for R >= 4.5.1.This patch switches to using png from the system, when available via 'pkg-config' or otherwise using hard-coded library dependencies. It makes the package work with png from 'Rtools42-45'. Behavior with previous versions of R is not affected, as this uses the '.ucrt' version of Makevars. Using libraries from the system/Rtools when available is required by the CRAN repository policy. Also, it silences a warning [...] about using non-allowed external symbols.
geom_line_interactive() now correctly assigns data_id and tooltip valuesggiraph(), ggiraphOutput() and renderggiraph().girafeOutput() argument height now defaults to NULL. Set height to
"500px" to recover previous disposition.opts_toolbar(fixed = TRUE).ggobj is used)bg is set to 'transparent', it's been transformed to almost
transparent '#ffffff01'.Rf_error("... (%S)", note); to Rf_error("... (%s)", note);ggiraph(), ggiraphOutput() and renderggiraph().girafe() gains new argument dependencies that pass additional
widget HTML dependencies to htmlwidgets::createWidget().src/raster.cpp.set_girafe_defaults(), girafe_defaults() and init_girafe_defaults()
to set some default girafe options automatically. Also in R Markdown, svg default
width and height are set to knitr chunk options fig.width and fig.height.3.4.0.facet_wrap_interactive() or facet_grid_interactive() need to
be used to let the facets be interactives (see also labeller_interactive()).test-zz-dom.R when 'PhantomJS' is not installedtest-interactive_text_grob.R and test-fonts.R
when no font is detected on the system.geom_violin_interactive, geom_label_repel_interactive, geom_text_repel_interactive, geom_contour_filled_interactive, geom_hex_interactive, geom_spoke_interactive, geom_curve_interactive, geom_count_interactive, geom_bin_2d_interactive, geom_density_2d_filled_interactive.interactive_curve_grob.scale_alpha_binned_interactive.outputArgs argument to renderGirafe, for controlling svg dimensions in rmarkdownextra_interactive_params argumenttinyxml2 to version 9.0.0tinytest for testingggplot2 to version 3.3.5.interactive_text_grob when check.overlap = TRUEinteractive_points_grob interactive attributes when shapes with lines are usedgeom_errorbar_interactiveGeomInteractiveTilegeom_dotplot_interactive.labeller_interactive to make strip labels interactive.validated_fonts() and also match_family() and
font_family_exists() that have been copied from package gdtools.girafe_css() to define individual css properties per type of elementsannotate_interactive function.girafe() and girafe_options() to
be used instead of function ggiraph(). It is more
convenient to use when customization is needed.geom_sf_interactivegeom_hline_interactive and geom_vline_interactive
implemented by Eric Book.GeomInteractive are exported.dep_dir that controls the location of the output files.use_widget_size and flexdashboard. I hope this is the
last mention to theses in the NEWS file.flexdashboard and width are no more deprecated...use_widget_size that force usage of htmlwidget size and
block the responsive behavior.flexdashboard and width are now deprecated and have no effectsflexdashboard to make sure the graph fits available room.