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

Commit

Permalink
cran submission 4.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 14, 2020
1 parent 241e35c commit 49aca48
Show file tree
Hide file tree
Showing 46 changed files with 1,103 additions and 1,736 deletions.
25 changes: 22 additions & 3 deletions API
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
# API for broomExtra package

## Exported functions

augment(x, ...)
easystats_to_tidy_names(x)
glance(x, ...)
glance_performance(x, ...)
grouped_augment(data, grouping.vars, ..f, ..., augment.args = list)
grouped_augment(data, grouping.vars, ..f, ..., augment.args = list())
grouped_glance(data, grouping.vars, ..f, ...)
grouped_tidy(data, grouping.vars, ..f, ..., tidy.args = list)
grouped_tidy(data, grouping.vars, ..f, ..., tidy.args = list())
tidy(x, ...)
tidy_parameters(x, conf.int = TRUE, ...)

## Reexported objects

magrittr::%$%
zeallot::%<-%
magrittr::%<>%
magrittr::%>%
rlang::%|%
rlang::%||%
tibble::as_tibble
generics::augment
ipmisc::easystats_to_tidy_names
tibble::enframe
generics::glance
tibble::tibble
generics::tidy
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-09-02.
Once it is accepted, delete this file and tag the release (commit a6ec5f7).
This package was submitted to CRAN on 2020-09-14.
Once it is accepted, delete this file and tag the release (commit 241e35c).
9 changes: 5 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: broomExtra
Title: Enhancements for 'broom' and 'easystats' Package Families
Version: 4.0.5.9000
Version: 4.0.6
Authors@R:
person(given = "Indrajeet",
family = "Patil",
Expand All @@ -24,10 +24,10 @@ BugReports: https://github.com/IndrajeetPatil/broomExtra/issues
Depends:
R (>= 3.6.0)
Imports:
broom,
broom (>= 0.7.0),
broom.mixed,
dplyr,
ipmisc,
ipmisc (>= 3.2.0),
parameters,
performance,
rlang
Expand All @@ -43,5 +43,6 @@ Suggests:
Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
Roxygen: list(markdown = TRUE, roclets = c("rd", "namespace",
"collate", "pkgapi::api_roclet"))
RoxygenNote: 7.1.1
3 changes: 1 addition & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,14 @@ importFrom(dplyr,group_by_at)
importFrom(dplyr,group_modify)
importFrom(dplyr,intersect)
importFrom(dplyr,mutate)
importFrom(dplyr,recode)
importFrom(dplyr,rename_all)
importFrom(dplyr,select)
importFrom(dplyr,ungroup)
importFrom(ipmisc,"%$%")
importFrom(ipmisc,"%<-%")
importFrom(ipmisc,"%<>%")
importFrom(ipmisc,"%>%")
importFrom(ipmisc,as_tibble)
importFrom(ipmisc,easystats_to_tidy_names)
importFrom(ipmisc,enframe)
importFrom(ipmisc,tibble)
importFrom(parameters,model_parameters)
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# broomExtra 4.0.5.9000
# broomExtra 4.0.6

- Minor tweak to the documentation.

- `easystats_to_tidy_names` is now reexported from `ipmisc`.

# broomExtra 4.0.5

Expand Down
54 changes: 0 additions & 54 deletions R/easystats_to_tidy_names.R

This file was deleted.

6 changes: 3 additions & 3 deletions R/generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#'
#' @examples
#' set.seed(123)
#' lm.mod <- lm(Sepal.Length~ Species, iris)
#' lm.mod <- lm(Sepal.Length ~ Species, iris)
#' broomExtra::tidy(x = lm.mod, conf.int = TRUE)
#' @export

Expand Down Expand Up @@ -53,7 +53,7 @@ tidy <- function(x, ...) {
#'
#' @examples
#' set.seed(123)
#' lm.mod <- lm(Sepal.Length~ Species, iris)
#' lm.mod <- lm(Sepal.Length ~ Species, iris)
#' broomExtra::glance(lm.mod)
#' @export

Expand Down Expand Up @@ -87,7 +87,7 @@ glance <- function(x, ...) {
#'
#' @examples
#' set.seed(123)
#' lm.mod <- lm(Sepal.Length~ Species, iris)
#' lm.mod <- lm(Sepal.Length ~ Species, iris)
#' broomExtra::augment(lm.mod)
#' @export

Expand Down
2 changes: 0 additions & 2 deletions R/generics_easystats.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#' set.seed(123)
#' mod <- lm(mpg ~ wt + cyl, data = mtcars)
#' broomExtra::tidy_parameters(mod)
#'
#' @importFrom rlang is_null
#' @importFrom parameters model_parameters
#'
Expand Down Expand Up @@ -79,7 +78,6 @@ tidy_parameters <- function(x, conf.int = TRUE, ...) {
#' set.seed(123)
#' mod <- lm(mpg ~ wt + cyl, data = mtcars)
#' broomExtra::glance_performance(mod)
#'
#' @importFrom dplyr select intersect
#' @importFrom rlang is_null
#' @importFrom performance model_performance
Expand Down
3 changes: 0 additions & 3 deletions R/grouped_generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ grouped_tidy <- function(data,
# functions passed to `group_modify` must accept
# `.x` and `.y` arguments, where `.x` is the data
tidy_group <- function(.x, .y) {

# presumes `..f` will work with these args
model <- ..f(.y = ..., data = .x)

Expand Down Expand Up @@ -86,7 +85,6 @@ grouped_glance <- function(data,
# functions passed to `group_modify` must accept
# `.x` and `.y` arguments, where `.x` is the data
glance_group <- function(.x, .y) {

# presumes `..f` will work with these args
model <- ..f(.y = ..., data = .x)

Expand Down Expand Up @@ -135,7 +133,6 @@ grouped_augment <- function(data,
# functions passed to `group_modify` must accept
# `.x` and `.y` arguments, where `.x` is the data
augment_group <- function(.x, .y) {

# presumes `..f` will work with these args
model <- ..f(.y = ..., data = .x)

Expand Down
6 changes: 6 additions & 0 deletions R/reexports.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ ipmisc::enframe
#' @export
#' @importFrom ipmisc as_tibble
ipmisc::as_tibble

# ----------------------- other -------------------------------------

#' @export
#' @importFrom ipmisc easystats_to_tidy_names
ipmisc::easystats_to_tidy_names
Loading

0 comments on commit 49aca48

Please sign in to comment.