Skip to content

Commit f63ff2e

Browse files
Merge pull request #113 from tidymodels/RC-0.4.0
2 parents c2a1a9e + 6141f4c commit f63ff2e

File tree

11 files changed

+97
-11
lines changed

11 files changed

+97
-11
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ inst/figs/
1212
^README\.Rmd$
1313
^[\.]?air\.toml$
1414
^\.vscode$
15+
^revdep$

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
docs
77
inst/doc
88
lib/
9+
revdep/checks.noindex
10+
revdep/library.noindex
11+
revdep/data.sqlite
12+
.httr-oauth
13+
revdep/cloud.noindex/*

DESCRIPTION

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
Package: bonsai
22
Title: Model Wrappers for Tree-Based Models
3-
Version: 0.3.2.9000
3+
Version: 0.4.0.9000
44
Authors@R: c(
55
person("Daniel", "Falbel", , "[email protected]", role = "aut"),
66
person("Athos", "Damiani", , "[email protected]", role = "aut"),
77
person("Roel M.", "Hogervorst", , "[email protected]", role = "aut",
88
comment = c(ORCID = "0000-0001-7509-0328")),
99
person("Max", "Kuhn", , "[email protected]", role = "aut",
1010
comment = c(ORCID = "0000-0003-2402-136X")),
11-
person("Simon", "Couch", , "[email protected]", role = c("aut", "cre"),
11+
person("Simon", "Couch", , "[email protected]", role = "aut",
1212
comment = c(ORCID = "0000-0001-5676-5107")),
13+
person("Emil", "Hvitfeldt", , "[email protected]", role = c("aut", "cre"),
14+
comment = c(ORCID = "0000-0002-0679-1945")),
1315
person("Posit Software, PBC", role = c("cph", "fnd"),
1416
comment = c(ROR = "03wc8by49"))
1517
)

NEWS.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
# bonsai (development version)
22

3+
# bonsai 0.4.0
4+
5+
## New Engines
6+
7+
* Added catboost engine to `boost_tree()` (#70).
8+
9+
## Improvements
10+
311
* The lightgbm engine now warns that arguments passed to `params` argument in `set_engine()` are ignored (#110).
412

513
* Automatic handling of `num_classes` argument when specifying a multiclass classification objective for the lightgbm engine (#109).
614

715
* Increased the minimum R version to R 4.1.
816

9-
* Fixed bug where `num_threads` argument were ignored for lightgbm engine (#105).
17+
## Bug Fixes
1018

11-
* Added catboost engine to `boost_tree()` (#70).
19+
* Fixed bug where `num_threads` argument were ignored for lightgbm engine (#105).
1220

1321
# bonsai 0.3.2
1422

R/catboost.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
#' @param rsm A numeric value between 0 and 1, random subspace method. The
2525
#' percentage of features to use at each iteration of building trees. At each
2626
#' iteration, features are selected over again at random. Defaults to 1.
27-
#' @param quiet A logical; should logging by [catboost::catboost.train()] be
27+
#' @param quiet A logical; should logging by catboost::catboost.train() be
2828
#' muted?
29-
#' @param ... Other options to pass to [catboost::catboost.train()]. Arguments
29+
#' @param ... Other options to pass to catboost::catboost.train(). Arguments
3030
#' will be correctly routed to the `param` argument, or as a main argument,
3131
#' depending on their name.
3232
#'
33-
#' @source \url{https://catboost.ai/docs/en/references/training-parameters/}.
33+
#' @source https://catboost.ai/docs/en/references/training-parameters/.
3434
#'
3535
#' @return A fitted `catboost.Model` object.
3636
#' @keywords internal

man/bonsai-package.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/train_catboost.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

revdep/README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Platform
2+
3+
|field |value |
4+
|:--------|:---------------------------------------------------------------------------------------------------|
5+
|version |R version 4.5.0 (2025-04-11) |
6+
|os |macOS Sequoia 15.5 |
7+
|system |aarch64, darwin20 |
8+
|ui |X11 |
9+
|language |(EN) |
10+
|collate |en_US.UTF-8 |
11+
|ctype |en_US.UTF-8 |
12+
|tz |America/Los_Angeles |
13+
|date |2025-06-20 |
14+
|pandoc |3.6.3 @ /Applications/Positron.app/Contents/Resources/app/quarto/bin/tools/aarch64/ (via rmarkdown) |
15+
|quarto |1.6.42 @ /usr/local/bin/quarto |
16+
17+
# Dependencies
18+
19+
|package |old |new |Δ |
20+
|:------------|:------|:----------|:--|
21+
|bonsai |0.3.2 |0.3.2.9000 |* |
22+
|cli |3.6.5 |3.6.5 | |
23+
|cpp11 |0.5.2 |0.5.2 | |
24+
|dials |1.4.0 |1.4.0 | |
25+
|DiceDesign |1.10 |1.10 | |
26+
|dplyr |1.1.4 |1.1.4 | |
27+
|farver |2.1.2 |2.1.2 | |
28+
|generics |0.1.4 |0.1.4 | |
29+
|ggplot2 |3.5.2 |3.5.2 | |
30+
|globals |0.18.0 |0.18.0 | |
31+
|glue |1.8.0 |1.8.0 | |
32+
|gtable |0.3.6 |0.3.6 | |
33+
|hardhat |1.4.1 |1.4.1 | |
34+
|isoband |0.2.7 |0.2.7 | |
35+
|labeling |0.4.3 |0.4.3 | |
36+
|lifecycle |1.0.4 |1.0.4 | |
37+
|magrittr |2.0.3 |2.0.3 | |
38+
|parsnip |1.3.2 |1.3.2 | |
39+
|pillar |1.10.2 |1.10.2 | |
40+
|pkgconfig |2.0.3 |2.0.3 | |
41+
|prettyunits |1.2.0 |1.2.0 | |
42+
|purrr |1.0.4 |1.0.4 | |
43+
|R6 |2.6.1 |2.6.1 | |
44+
|RColorBrewer |1.1-3 |1.1-3 | |
45+
|rlang |1.1.6 |1.1.6 | |
46+
|scales |1.4.0 |1.4.0 | |
47+
|sfd |0.1.0 |0.1.0 | |
48+
|sparsevctrs |0.3.4 |0.3.4 | |
49+
|stringi |1.8.7 |1.8.7 | |
50+
|stringr |1.5.1 |1.5.1 | |
51+
|tibble |3.3.0 |3.3.0 | |
52+
|tidyr |1.3.1 |1.3.1 | |
53+
|tidyselect |1.2.1 |1.2.1 | |
54+
|utf8 |1.2.6 |1.2.6 | |
55+
|vctrs |0.6.5 |0.6.5 | |
56+
|viridisLite |0.4.2 |0.4.2 | |
57+
|withr |3.0.2 |3.0.2 | |
58+
59+
# Revdeps
60+

revdep/cran.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## revdepcheck results
2+
3+
We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
4+
5+
* We saw 0 new problems
6+
* We failed to check 0 packages
7+

revdep/failures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*Wow, no problems at all. :)*

0 commit comments

Comments
 (0)