path_pinned_asset | R Documentation |
Get the path to a pinned asset within a touchstone_script.
path_pinned_asset(..., branch = branch_get_or_fail("GITHUB_HEAD_REF"))
... |
character vectors, if any values are NA, the result will also be NA. The paths follow the recycling rules used in the tibble package, namely that only length 1 arguments are recycled. |
branch |
The branch the passed asset was copied from. |
The absolute path to the asset.
pin_assets()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.