View source: R/dpkg_release_gh.R
use_dpkg_badge | R Documentation |
The badge relies on shields.io for the images, which will always display to the most recently released version and will link to the releases specific to the dpkg name.
use_dpkg_badge(x)
x |
a data package ( |
Note that this relies on the structure of the release created with
dpkg_gh_release()
, but relies on a dpkg object before it is released.
This will lead to broken release badges and links until an initial
dpkg release is created with dpkg_gh_release()
.
character string of markdown
## Not run:
as_dpkg(mtcars,
version = "0.0.0.9000", title = "Foofy Cars",
homepage = "https://github.com/cole-brokamp/dpkg",
description =
paste("# Foofy Cars\n",
"This is a test for the [dpkg](https://github.com/cole-brokamp/dpkg) package.",
collapse = "\n"
)
) |>
use_dpkg_badge()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.