Skip to content

Report generation utilities for risk indicators

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

pharmaR/riskreports

Repository files navigation

riskreports riskreports website

Codecov test coverage R-CMD-check

The goal of riskreports is to documents results of package checks for validation.

Installation

You can install the development version of riskreports from GitHub with:

# install.packages("pak")
pak::pak("pharmaR/riskreports")

Example

This is a basic example which shows you how to solve a common problem:

unlink("pkgdown/assets/*")
library(riskreports)
# Specify the folder where the files should go (here for easy access on the website)
options("riskreports_output_dir" = "pkgdown/assets")
pr <- package_report(
  package_name = "dplyr",
  package_version = "1.1.4",
  params = list(
    assessment_path = system.file("assessments/dplyr.rds", package = "riskreports")),
  quiet = TRUE # To silence quarto output for readability
)
pr
#> [1] "pkgdown/assets/validation_report_dplyr_v1.1.4.html"
#> [2] "pkgdown/assets/validation_report_dplyr_v1.1.4.md"

We first selected were reports should go. Then we used {riskmetric} data to generate the report for the package.

Then we can access those files on the website:

About

Report generation utilities for risk indicators

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published