Skip to content
This repository was archived by the owner on Nov 19, 2022. It is now read-only.

Commit f16a013

Browse files
cran resubmission
1 parent d9abc92 commit f16a013

16 files changed

+53
-223
lines changed

CRAN-RELEASE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This package was submitted to CRAN on 2021-02-20.
2-
Once it is accepted, delete this file and tag the release (commit fb2b8fe).
1+
This package was submitted to CRAN on 2021-05-12.
2+
Once it is accepted, delete this file and tag the release (commit d9abc92).

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: broomExtra
33
Title: Enhancements for 'broom' and 'easystats' Package Families
4-
Version: 4.2.2
4+
Version: 4.2.3
55
Authors@R:
66
person(given = "Indrajeet",
77
family = "Patil",

NEWS.md

+20-17
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# broomExtra 4.2.2
1+
# broomExtra 4.2.3
22

33
- Removes `NOTE` about `LazyData` in CRAN's daily checks.
44

55
# broomExtra 4.2.1
66

7-
- Removes `lifecycle` from `Imports` to get rid of `NOTE` in CRAN daily checks.
7+
- Removes `lifecycle` from `Imports` to get rid of `NOTE` in CRAN daily
8+
checks.
89

910
# broomExtra 4.2.0
1011

@@ -13,13 +14,13 @@
1314
# broomExtra 4.1.0
1415

1516
- `...` are now passed to individual methods in `glance_performance`.
16-
17+
1718
- Removes `ipmisc` from dependencies.
1819

1920
# broomExtra 4.0.6
2021

2122
- Minor tweak to the documentation.
22-
23+
2324
- `easystats_to_tidy_names` is now reexported from `ipmisc`.
2425

2526
# broomExtra 4.0.5
@@ -28,7 +29,7 @@
2829

2930
# broomExtra 4.0.4
3031

31-
- Adapts tests to changes made to `parameters` package.
32+
- Adapts tests to changes made to `parameters` package.
3233

3334
# broomExtra 4.0.3
3435

@@ -37,7 +38,7 @@
3738
# broomExtra 4.0.2
3839

3940
- Minor changes made to fix warnings caused by `dplyr 1.0.0`.
40-
41+
4142
- Retired vignette. Check out respective packages to see what methods are
4243
supported.
4344

@@ -53,9 +54,9 @@
5354

5455
- Slight modification to `easystats_to_tidy_names` to cover naming patterns
5556
from a few more `easystats` packages.
56-
57+
5758
- Minimum R version bumped to `3.6.0`.
58-
59+
5960
- Relies on `ipmisc` package for re-exports.
6061

6162
# broomExtra 2.5.0
@@ -64,27 +65,28 @@
6465
from `broom` and `performance` packages, if both are available. This was
6566
done to include some unique performance measures that only the `performance`
6667
package contains (e.g., Nagelkerke's $R^2$, Tjur's $R^2$, etc.).
67-
68+
6869
- Thanks to Sarah, the package now has a hexsticker.
6970

7071
# broomExtra 2.0.0
7172

7273
- New functions that make it easy to access tidy dataframes from both
7374
`broom`-family and `easystats`-family packages with the following functions:
7475
`tidy_parameters` and `glance_performance`.
75-
76+
7677
- `tidy` method no longer attempt to convert entered objects to a tibble as a
7778
last resort as this was converting model objects in case the tidiers failed
7879
for some reason.
79-
80+
8081
# broomExtra 1.0.1
8182

8283
- Minor internal refactoring of code.
8384

8485
# broomExtra 1.0.0
8586

86-
- Deprecated `boot_` functions as they added nothing over and above `rsample`.
87-
87+
- Deprecated `boot_` functions as they added nothing over and above
88+
`rsample`.
89+
8890
# broomExtra 0.0.6
8991

9092
- Maintenance release to make package compatible with `dplyr 0.8.4`.
@@ -95,10 +97,10 @@
9597
`broom.mixed`, `broomExtra::tidy` now also attempts to convert the entered
9698
object into a `tibble` dataframe. This is solely to deal with dataframes
9799
which are often encountered while writing wrapper functions around `tidy`.
98-
100+
99101
- Minor refactoring of `boot_` generic functions to make them compatible with
100102
upcoming release of `tidyr`.
101-
103+
102104
- More operators from `tidyverse` added to reexports.
103105

104106
# broomExtra 0.0.4
@@ -112,9 +114,10 @@
112114

113115
# broomExtra 0.0.2
114116

115-
- This is maintenance release to make the package compatible with
116-
`dplyr 0.8.1`.
117+
- This is maintenance release to make the package compatible with `dplyr
118+
0.8.1`.
117119

118120
# broomExtra 0.0.1
119121

120122
- Initial release.
123+

R/generics.R

-10
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#'
44
#' @description
55
#'
6-
#'
7-
#'
86
#' Checks if a `tidy` method exits for a given object, either in `broom` or in
97
#' `broom.mixed`. If it does, it turn an object into a tidy tibble, if not,
108
#' return a `NULL`. In this case, you can try the
@@ -17,7 +15,6 @@
1715
#' @importFrom broom.mixed tidy
1816
#'
1917
#' @inherit generics::tidy return value
20-
#' @inheritSection generics::tidy Methods
2118
#'
2219
#' @seealso \code{\link{grouped_tidy}}, \code{\link{tidy_parameters}}
2320
#'
@@ -44,8 +41,6 @@ tidy <- function(x, ...) {
4441
#'
4542
#' @description
4643
#'
47-
#'
48-
#'
4944
#' Checks if a `glance` method exits for a given object, either in `broom` or in
5045
#' `broom.mixed`. If it does, return the model summary dataframe, if not, return
5146
#' a `NULL`. In this case, you can try the [broomExtra::glance_performance()]
@@ -57,7 +52,6 @@ tidy <- function(x, ...) {
5752
#' @importFrom broom.mixed glance
5853
#'
5954
#' @inherit generics::glance return value
60-
#' @inheritSection generics::glance Methods
6155
#'
6256
#' @seealso \code{\link{grouped_glance}}, \code{\link{glance_performance}}
6357
#'
@@ -74,7 +68,6 @@ glance <- function(x, ...) {
7468
# if not, check if `broom.mixed` has a glance method for a given object
7569
if (rlang::is_null(f)) f <- tryCatch(broom.mixed::glance(x, ...), error = function(e) NULL)
7670

77-
7871
# return the glance
7972
return(f)
8073
}
@@ -83,8 +76,6 @@ glance <- function(x, ...) {
8376
#' @name augment
8477
#' @description
8578
#'
86-
#'
87-
#'
8879
#' Checks if a `augment` method exits for a given object, either in `broom` or
8980
#' in `broom.mixed`. If it does, return the model summary dataframe, if not,
9081
#' return a `NULL`.
@@ -95,7 +86,6 @@ glance <- function(x, ...) {
9586
#' @importFrom broom.mixed augment
9687
#'
9788
#' @inherit generics::augment return value
98-
#' @inheritSection generics::augment Methods
9989
#'
10090
#' @seealso \code{\link{grouped_augment}}
10191
#'

R/grouped_generics.R

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#' @importFrom dplyr group_by_at ungroup mutate group_modify
1313
#'
1414
#' @inherit tidy return value
15-
#' @inheritSection tidy Methods
1615
#'
1716
#' @seealso \code{\link{tidy}}
1817
#'
@@ -60,7 +59,6 @@ grouped_tidy <- function(data,
6059
#' @importFrom dplyr group_by_at ungroup mutate group_modify
6160
#'
6261
#' @inherit glance return value
63-
#' @inheritSection glance Methods
6462
#'
6563
#' @seealso \code{\link{glance}}
6664
#'
@@ -107,7 +105,6 @@ grouped_glance <- function(data,
107105
#' @importFrom dplyr group_by_at ungroup mutate group_modify
108106
#'
109107
#' @inherit augment return value
110-
#' @inheritSection augment Methods
111108
#'
112109
#' @seealso \code{\link{augment}}
113110
#'

R/hybrid_easystats.R

-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
#'
44
#' @description
55
#'
6-
#'
7-
#'
86
#' Computes parameters for regression models.
97
#'
108
#' @details The function will attempt to get these details first using
@@ -69,8 +67,6 @@ tidy_parameters <- function(x, conf.int = TRUE, ...) {
6967
#'
7068
#' @description
7169
#'
72-
#'
73-
#'
7470
#' Computes indices of model performance for regression models.
7571
#'
7672
#' @return A data frame (with one row) and one column per "index".

R/reexports.R

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# ----------------------- tidyverse -------------------------------------
32

43
#' @export

README.Rmd

+3-7
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,11 @@ remotes::install_github("IndrajeetPatil/broomExtra")
106106
# Lifecycle
107107

108108
Function | Lifecycle
109-
-------- | -----
109+
------------------------ | -----
110110
`tidy_parameters` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
111111
`glance_performance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
112-
`tidy` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
113-
`glance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
114-
`augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
115-
`grouped_tidy` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
116-
`grouped_glance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
117-
`grouped_augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
112+
`tidy`, `glance`, `augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
113+
`grouped_tidy`, `grouped_glance`, `grouped_augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
118114

119115
# Hybrid generics
120116

README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,12 @@ remotes::install_github("IndrajeetPatil/broomExtra")
9191

9292
# Lifecycle
9393

94-
| Function | Lifecycle |
95-
|----------------------|---------------------------------------------------------------------------------------------------------------------------------|
96-
| `tidy_parameters` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
97-
| `glance_performance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
98-
| `tidy` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
99-
| `glance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
100-
| `augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
101-
| `grouped_tidy` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
102-
| `grouped_glance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
103-
| `grouped_augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
94+
| Function | Lifecycle |
95+
|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
96+
| `tidy_parameters` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
97+
| `glance_performance` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
98+
| `tidy`, `glance`, `augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
99+
| `grouped_tidy`, `grouped_glance`, `grouped_augment` | [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) |
104100

105101
# Hybrid generics
106102

0 commit comments

Comments
 (0)