knitr::opts_chunk$set( collapse = TRUE, message = FALSE, comment = "", fig.path = "tools/README-" )
The codemeta package provides a more minimalist approach to generating codemeta based only on DESCRIPTION and CITATION files,
while codemetar
provides additional abilities to detect metadata from README and GitHub sources, and provide
more user feedback, suggestions, and messaging.
Check out all the codemetar man for tutorials on other cool stuff you can do with codemeta and json-ld.
glue::glue('<script type="application/ld+json"> {glue::glue_collapse(readLines(file.path("inst", "schemaorg.json")), sep = "\n")} </script>')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.