codemetar
can take the path to the source package root to glean as much information as possible.
codemetar::write_codemeta()
pkg <- "../.." codemetar::write_codemeta(pkg = pkg)
library("magrittr") "../../codemeta.json" %>% details::details(summary = "codemetar's codemeta.json", lang = "json")
By default most often from within your package folder you'll simply run codemetar::write_codemeta()
.
file.remove(file.path(pkg, "codemeta.json"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.