From ea3d1199212517d6f059f2a19830746ece62328b Mon Sep 17 00:00:00 2001 From: simonpcouch Date: Wed, 11 Dec 2024 09:07:33 -0600 Subject: [PATCH] `usethis::use_coverage()` --- README.Rmd | 1 + README.md | 4 +++- codecov.yml | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/README.Rmd b/README.Rmd index ea30956..73a1f93 100644 --- a/README.Rmd +++ b/README.Rmd @@ -19,6 +19,7 @@ knitr::opts_chunk$set( [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) [![CRAN status](https://www.r-pkg.org/badges/version/tailor)](https://CRAN.R-project.org/package=tailor) [![R-CMD-check](https://github.com/tidymodels/tailor/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidymodels/tailor/actions/workflows/R-CMD-check.yaml) +[![Codecov test coverage](https://codecov.io/gh/tidymodels/tailor/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/tailor) Postprocessors refine predictions outputted from machine learning models to improve predictive performance or better satisfy distributional limitations. This package introduces 'tailor' objects, which compose iterative adjustments to model predictions. In addition to utilities to create new adjustments, the package provides a number of pre-written ones: diff --git a/README.md b/README.md index 9254aa9..2fec12f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h [![CRAN status](https://www.r-pkg.org/badges/version/tailor)](https://CRAN.R-project.org/package=tailor) [![R-CMD-check](https://github.com/tidymodels/tailor/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidymodels/tailor/actions/workflows/R-CMD-check.yaml) +[![Codecov test +coverage](https://codecov.io/gh/tidymodels/tailor/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/tailor) Postprocessors refine predictions outputted from machine learning models @@ -97,7 +99,7 @@ post_obj <- post_obj #> #> ── tailor ────────────────────────────────────────────────────────────────────── -#> A postprocessor with 1 adjustment: +#> A binary postprocessor with 1 adjustment: #> #> • Adjust probability threshold to 0.9. ``` diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..04c5585 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,14 @@ +comment: false + +coverage: + status: + project: + default: + target: auto + threshold: 1% + informational: true + patch: + default: + target: auto + threshold: 1% + informational: true