NEWS


cardargus 0.2.0 (2026-01-31)

Breaking changes

Function renames (tidyverse style)

All functions now follow snake_case naming convention. The old function names have been removed.

| Removed function | Use instead | |----------|----------| | house_icon_svg() | icon_house() | | building_icon_svg() | icon_building() | | construction_icon_svg() | icon_construction() | | map_pin_icon_svg() | icon_map_pin() | | money_icon_svg() | icon_money() | | badge_svg() | create_badge() | | badge_row_svg() | create_badge_row() | | setup_cardargus_fonts() | setup_fonts() | | install_cardargus_fonts() | install_fonts() | | cardargus_font_cache_dir() | font_cache_dir() | | register_knitr_engine() | register_cardargus_knitr() |

New features

Chrome-based rendering

Added headless Chrome support for superior font rendering via the chromote package.

Chrome auto-download

When Chrome is not installed, use ensure_chrome(download = TRUE) to automatically download "Chrome for Testing" (~150MB). This standalone Chrome distribution is cached locally and works without system installation.

Improved CLI output

All user-facing messages now use the cli package for better formatting:

Custom SVG support

Made it clearer that you can use your own SVG files for logos and icons:

# Use any SVG file path for logos
svg_card(
 title = "My Card",
 logos = c("/path/to/logo1.svg", "/path/to/logo2.svg"),
 ...
)

# Or for icons in fields
svg_card(
 title = "My Card",
 fields = list(
   list(list(label = "Name", value = "Test", with_icon = "/path/to/icon.svg"))
 ),
 ...
)

Enhanced knitr functions

All knitr/Quarto functions now support an engine parameter:

Engine options:

Bug fixes

Deprecated


cardargus 0.1.0

Initial release

Card Creation

Icons

Logos

Export

R Markdown / Quarto Integration

Font Management