R: Generate SVG Information Cards with Embedded Fonts and Badges

# Generate SVG Information Cards with Embedded Fonts and Badges

## Documentation for package ‘cardargus’ version 0.2.5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

batch_svg_to_base64_chrome | Batch convert SVGs to PNG base64 using headless Chrome
batch_svg_to_png | Batch convert multiple SVG cards to PNG
batch_svg_to_png_chrome | Batch convert SVGs to PNG files using headless Chrome
card_to_grob | Create a grob for grid/ggplot2
chrome_available | Check if Chrome/Chromium is available for rendering
compress_number | Compress number to abbreviated format
create_badge | Create an SVG Badge
create_badge_row | Create a row of SVG badges with uniform height
create_bottom_logo_row | Create logo row for bottom-left corner of card
create_logo_row | Create logo row for top-right corner of card
ensure_chrome | Ensure Chrome is available, downloading if necessary
find_chrome_path | Find Chrome executable path
font_available | Check if a font is available for embedding
font_cache_dir | Get font cache directory
get_font_css | Get Google Font CSS for embedding in SVG
get_svg_path | Get path to a bundled SVG file
icon_building | Building Icon SVG
icon_construction | Construction Icon SVG
icon_house | House Icon SVG
icon_map_pin | Map Pin Icon SVG
icon_money | Dollar/Money Icon SVG
include_card | Display card in knitr/Quarto document (SVG via data URI)
include_card_png | Display card as PNG in knitr/Quarto document
install_fonts | Pre-download fonts for offline use
is_light_color | Check if a color is light
list_bundled_svgs | List available bundled SVG files
list_fonts | List registered/cached fonts
load_svg_for_embed | Load and process external SVG file for embedding
register_cardargus_knitr | Register cardargus knitr engine
register_font | Register a local font file for embedding
register_google_font | Register Google Font (sysfonts)
save_card_for_knitr | Save card and return path for knitr
save_svg | Save SVG string to file (sanitized + embedded fonts)
setup_fonts | Setup showtext for cardargus
svgs_dir | Get the path to package SVGs directory
svg_card | Create an Information Card in SVG Format
svg_to_formats | Convert SVG to multiple formats
svg_to_pdf | Convert SVG to PDF
svg_to_pdf_chrome | Convert SVG to PDF using headless Chrome
svg_to_png | Convert SVG to PNG
svg_to_png_chrome | Convert SVG to PNG using headless Chrome
svg_to_png_with_margin | Convert SVG to PNG with optional margin and background