message("\n\nInstalling dependencies")
system("apt-get update && apt-get -y install procps")
message("\n\nRunning package_coverage()")
coverage <- covr::package_coverage(path = ".", quiet = FALSE)
message("\nPrinting package_coverage")
print(coverage)
message("\nPublishing package_coverage")
covr::codecov(
coverage = coverage,
token = Sys.getenv("LANGSERVERSETUP_TOKEN_CODECOV")
)
message("\nDone.\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.