diff --git a/DESCRIPTION b/DESCRIPTION index f6aed9b0e..97912b23e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: parsnip -Version: 0.1.5.9003 +Version: 0.1.6 Title: A Common API to Modeling and Analysis Functions Description: A common interface is provided to allow users to specify a model without having to remember the different argument names across different functions or computational engines (e.g. 'R', 'Spark', 'Stan', etc). Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 41736454f..6ad40d8d8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# parsnip (development version) +# parsnip 0.1.6 ## Model Specification Changes @@ -15,6 +15,7 @@ * For xgboost, `mtry` and `colsample_bytree` can be passed as integer counts or proportions, while `subsample` and `validation` should always be proportions. `xgb_train()` now has a new option `counts` (`TRUE` or `FALSE`) that states which scale for `mtry` and `colsample_bytree` is being used. (#461) +r ## Other Changes * Re-licensed package from GPL-2 to MIT. See [consent from copyright holders here](https://github.com/tidymodels/parsnip/issues/462). @@ -25,6 +26,13 @@ * `generics::required_pkgs()` was extended for `parsnip` objects. +* Prediction functions now give a consistent error when a user uses an unavailable value of `type` (#489) + +* The `augment()` method was changed to avoid failing if the model does not enable class probabilities. The method now returns tibbles despite the input data class (#487) (#478) + +* xgboost engines now respect the `event_level` option for predictions (#460). + + # parsnip 0.1.5 * An RStudio add-in is available that makes writing multiple `parsnip` model specifications to the source window. It can be accessed via the IDE addin menus or by calling `parsnip_addin()`. diff --git a/README.Rmd b/README.Rmd index b99a66f1e..cf64ae191 100644 --- a/README.Rmd +++ b/README.Rmd @@ -20,7 +20,7 @@ knitr::opts_chunk$set( [![Coverage status](https://codecov.io/gh/tidymodels/parsnip/branch/master/graph/badge.svg)](https://codecov.io/github/tidymodels/parsnip?branch=master) [![CRAN status](https://www.r-pkg.org/badges/version/parsnip)](https://CRAN.R-project.org/package=parsnip) [![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://CRAN.R-project.org/package=parsnip) -[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing) +[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![R-CMD-check](https://github.com/tidymodels/parsnip/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/parsnip/actions) diff --git a/README.md b/README.md index 188818193..74d1c0658 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ status](https://codecov.io/gh/tidymodels/parsnip/branch/master/graph/badge.svg)] [![CRAN status](https://www.r-pkg.org/badges/version/parsnip)](https://CRAN.R-project.org/package=parsnip) [![Downloads](https://cranlogs.r-pkg.org/badges/parsnip)](https://CRAN.R-project.org/package=parsnip) -[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing) +[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![R-CMD-check](https://github.com/tidymodels/parsnip/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/parsnip/actions) diff --git a/revdep/README.md b/revdep/README.md index 7a2cb80cd..1ade5cde5 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -3,67 +3,48 @@ |field |value | |:--------|:----------------------------| |version |R version 4.0.3 (2020-10-10) | -|os |Ubuntu 18.04.5 LTS | -|system |x86_64, linux-gnu | -|ui |X11 | -|language |en | -|collate |en_GB.UTF-8 | -|ctype |en_GB.UTF-8 | -|tz |Europe/London | -|date |2021-02-23 | +|os |macOS Catalina 10.15.7 | +|system |x86_64, darwin17.0 | +|ui |RStudio | +|language |(EN) | +|collate |en_US.UTF-8 | +|ctype |en_US.UTF-8 | +|tz |America/New_York | +|date |2021-05-18 | # Dependencies |package |old |new |Δ | |:-----------|:------|:----------|:--| -|parsnip |0.1.5 |0.1.5.9000 |* | -|assertthat |0.2.1 |0.2.1 | | -|cli |2.3.1 |2.3.1 | | -|cpp11 |0.2.6 |0.2.6 | | +|parsnip |0.1.5 |0.1.5.9003 |* | +|cli |2.5.0 |2.5.0 | | +|cpp11 |0.2.7 |0.2.7 | | |crayon |1.4.1 |1.4.1 | | -|digest |0.6.27 |0.6.27 | | -|dplyr |1.0.4 |1.0.4 | | -|ellipsis |0.3.1 |0.3.1 | | +|dplyr |1.0.6 |1.0.6 | | +|ellipsis |0.3.2 |0.3.2 | | |fansi |0.4.2 |0.4.2 | | |generics |0.1.0 |0.1.0 | | |globals |0.14.0 |0.14.0 | | |glue |1.4.2 |1.4.2 | | |lifecycle |1.0.0 |1.0.0 | | |magrittr |2.0.1 |2.0.1 | | -|pillar |1.5.0 |1.5.0 | | +|pillar |1.6.1 |1.6.1 | | |pkgconfig |2.0.3 |2.0.3 | | |prettyunits |1.1.1 |1.1.1 | | |purrr |0.3.4 |0.3.4 | | |R6 |2.5.0 |2.5.0 | | -|rlang |0.4.10 |0.4.10 | | -|tibble |3.0.6 |3.0.6 | | -|tidyr |1.1.2 |1.1.2 | | -|tidyselect |1.1.0 |1.1.0 | | -|utf8 |1.1.4 |1.1.4 | | -|vctrs |0.3.6 |0.3.6 | | +|rlang |0.4.11 |0.4.11 | | +|tibble |3.1.2 |3.1.2 | | +|tidyr |1.1.3 |1.1.3 | | +|tidyselect |1.1.1 |1.1.1 | | +|utf8 |1.2.1 |1.2.1 | | +|vctrs |0.3.8 |0.3.8 | | # Revdeps -## Failed to check (18) +## Failed to check (1) -|package |version |error |warning |note | -|:------------------|:-------|:-----|:-------|:----| -|baguette |? | | | | -|bayesian |? | | | | -|butcher |? | | | | -|coefplot |? | | | | -|condvis2 |? | | | | -|discrim |? | | | | -|easyalluvial |? | | | | -|finetune |? | | | | -|insight |? | | | | -|modeltime |? | | | | -|modeltime.ensemble |? | | | | -|modeltime.gluonts |? | | | | -|modeltime.resample |? | | | | -|plsmod |? | | | | -|SSLR |? | | | | -|tabnet |? | | | | -|timetk |? | | | | -|vip |? | | | | +|package |version |error |warning |note | +|:-------|:-------|:-----|:-------|:----| +|insight |? | | | | diff --git a/revdep/data.sqlite b/revdep/data.sqlite index c654187f2..90f43e847 100644 Binary files a/revdep/data.sqlite and b/revdep/data.sqlite differ