The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

cardargus 0.2.0

Breaking changes

Function renames (tidyverse style)

All functions now follow snake_case naming convention. Old names are still available as aliases for backward compatibility but may be deprecated in future versions.

Old name New name
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_cardargus_knitr() register_knitr_engine()

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: - Informative error messages with suggestions - Progress indicators for downloads - Structured output with bullets and 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: - "auto" (default): Uses Chrome if available, otherwise rsvg - "chrome": Forces Chrome rendering - "rsvg": Forces rsvg/magick rendering

Bug fixes

Deprecated


cardargus 0.1.0

Initial release

Card Creation

Icons

Logos

Export

R Markdown / Quarto Integration

Font Management

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.