The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
riskmetric
is a collection of risk metrics to evaluate the quality of R packages.
This package is in experimentation. Final considerations about design are being considered, but core concepts are considered final.
The risk of using an R package is evaluated based on a number of metrics meant to evaluate development best practices, code documentation, community engagement and development sustainability. We hope to provide a framework to quantify risk by assessing these metrics. This package serves as a starting point for exploring the heterogeneity of code quality, and begin a broader conversation about the validation of R packages. Primarily, this effort aims to provide some context for validation within regulated industries.
We separate three steps in the workflow to assess the risk of an R package using riskmetric
:
pkg_ref()
pkg_assess()
pkg_score()
The results will be assembled in a dataset of validation criteria containing an overall risk score for each package as shown in the example below.
You can install riskmetric
from CRAN with:
Or from GitHub using devtools
with:
Scrape metadata locally or remotely, then assess that metadata and score it to estimate risk. For each package, derive a composite measure of risk, or a collection of individual scores which can be easily used to generate validation reports.
library(dplyr)
library(riskmetric)
pkg_ref(c("riskmetric", "utils", "tools")) %>%
pkg_assess() %>%
pkg_score()
{riskassessment}
application riskassessment
is a full-fledged R package containing a shiny front-end that augments the utility of riskmetric
. The application’s goal is to provide a central hub for an organization to review and assess the risk of R packages, providing handy tools and guide rails along the way. The app uses a local database to store & display:
riskmetric
metrics, including package risk scores over timeTo learn more about riskassessment
, please browse the user guide or consider taking the demo app for a spin.
We have a bi-weekly sprint meeting for developers to discuss the progress.
eric.milliman@biogen.com
to be added to the meeting.riskmetric
is centrally a community project. Comfort with a quantification of risk comes via consensus, and for that this project is dependent on close community engagement. There are plenty of ways to help:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.