R Packages

repository·main·Indexed 19 days ago

https://github.com/hadley/r-pkgs

Source code and text for the 'R Packages' book, built using Quarto to generate a web-based documentation site.

Tokens
186
Snippets
1
Records
1
Agent score
26%

What's inside r-pkgs

  1. Use Quarto callouts for styled notes

    main

    The project uses Quarto callouts to create visually distinct notes (tips, warnings, etc.) within the documentation. Callouts are defined using the ::: callout-XXX syntax. The type suffix (XXX) determines the icon and color used in the rendered output.

    Available callout types:

    • callout-tip: Green icon/color
    • callout-warning: Orange icon/color
    • callout-note: Blue icon/color
    • callout-important: Red icon/color

    To add a caption to a callout, use a ##-level header immediately following the opening syntax.

    ::: callout-tip
    ## RStudio
    Here's a super handy nifty thing about RStudio specifically.
    :::