NEWS.md
health_icons() icon set (https://healthicons.org/).super_tiny_icons() icon set (https://github.com/edent/SuperTinyIcons).icon_uri(), which encodes icons as self-contained base64 data strings. This makes it easier to use icons in other contexts, such as gt tables and as leaflet markers.icon_path(), giving the file path(s) of an icon’s source SVG - handy for using icons with ggplot2 and other packages that plot from image files.icon_label(), for identifying an icon by its library accessor label (for example "fontawesome$solid$rocket").fontawesome$solid$rocket) no longer returns a scalar icon that outputs raw SVG directly - it returns a length-1 icons vector, the same type returned by icon_find() and other multi-icon results. Code that reached into a result as a raw htmltools tag, or called format() expecting SVG markup, should use htmltools::as.tags() first.cli package, and include more helpful hints (crayon is no longer used).icons vectors now have an as.character() method that returns their labels.google_material() icons is now faster, using a git sparse checkout to fetch only the required SVG files (#70).devtools::load_all()).icon_find() when searching custom icon sets (#38).octicons() (thanks @bbest, #58).This release completely reimplements the package to use SVG icons. This is much better for smaller file sizes, portability and icon customisation.
Icon libraries are no longer provided within the package, and instead must be downloaded using the download_*() functions. This allows you to update and choose the version of your icon libraries without needing changes to the packages.
The package name is now also “icons”, due to a package name conflict. Please use the available::available() function when choosing package names - and I should submit packages to CRAN faster! (#48).
This release causes several breaking changes, if you have used the older version of the package you should carefully read these changes.
simple_icons() icon set (https://github.com/simple-icons/simple-icons/).google_material() icon set (https://github.com/google/material-design-icons/).octicons() icon set (https://github.com/primer/octicons).download_*() functions to download an icon library you want to use.fa, ii, etc.) have been replaced with longer, more informative names (fontawesome, ionicons, etc.).iconset_icon interface for accessing the icon icon from the iconset icon set has been replaced with iconset$icon.iconset() interface for accessing the icons is now specific to each icon library.download_*() helpers can be used to install icon libraries.word_document and github_document output formats (#33).