diff --git a/DESCRIPTION b/DESCRIPTION index 62899230..7b703206 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -40,6 +40,7 @@ Suggests: gganimate, ggiraph, htmltools, + httpgd, jsonlite, knitr, lattice, diff --git a/NEWS.md b/NEWS.md index bf35be40..b54bfbd9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # thematic (development version) +* The `{httpgd}` graphics device (and thus, Github codespaces) is now supported. (#143) + # thematic 0.1.3 * Closed #129: Fixed a bug with not being able override thematic inside geom_sf(). (#129) diff --git a/R/hooks.R b/R/hooks.R index 9df2fc9a..b6dd2898 100644 --- a/R/hooks.R +++ b/R/hooks.R @@ -247,6 +247,7 @@ get_device_function <- function(name = infer_device()) { Cairo = Cairo::Cairo, devSVG = svglite::svglite, dsvg_device = ggiraph::dsvg, + httpgd = httpgd::hgd, # TODO: support cairoDevices? tikz? stop( "thematic doesn't (yet) support the '", name, "' graphics device. ",