Skip to content

Commit

Permalink
Remove aliases (#225)
Browse files Browse the repository at this point in the history
Closes #221
  • Loading branch information
IndrajeetPatil authored Aug 21, 2022
1 parent f94ff1c commit 3970d46
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 447 deletions.
5 changes: 0 additions & 5 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ export(convert_to_na)
export(data_addprefix)
export(data_addsuffix)
export(data_adjust)
export(data_cut)
export(data_extract)
export(data_filter)
export(data_find)
Expand All @@ -178,7 +177,6 @@ export(data_match)
export(data_merge)
export(data_partition)
export(data_read)
export(data_recode)
export(data_relocate)
export(data_remove)
export(data_rename)
Expand All @@ -187,11 +185,8 @@ export(data_reorder)
export(data_restoretype)
export(data_rotate)
export(data_select)
export(data_shift)
export(data_tabulate)
export(data_to_factor)
export(data_to_long)
export(data_to_numeric)
export(data_to_wide)
export(data_transpose)
export(data_ungroup)
Expand Down
8 changes: 0 additions & 8 deletions R/categorize.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ categorize <- function(x, ...) {
UseMethod("categorize")
}


## TODO Deprecate and remove alias later

#' @rdname categorize
#' @export
data_cut <- categorize


#' @export
categorize.default <- function(x, verbose = TRUE, ...) {
if (isTRUE(verbose)) {
Expand Down
7 changes: 0 additions & 7 deletions R/change_code.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,6 @@ change_code <- function(x, ...) {
}


## TODO Deprecate and remove alias later

#' @rdname change_code
#' @export
data_recode <- change_code


#' @export
change_code.default <- function(x, verbose = TRUE, ...) {
if (isTRUE(verbose)) {
Expand Down
7 changes: 0 additions & 7 deletions R/slide.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ slide <- function(x, ...) {
}


## TODO Deprecate and remove alias later

#' @rdname slide
#' @export
data_shift <- slide


#' @export
slide.default <- function(x, lowest = 0, verbose = TRUE, ...) {
if (isTRUE(verbose)) {
Expand Down
7 changes: 0 additions & 7 deletions R/to_factor.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ to_factor <- function(x, ...) {
}


## TODO Deprecate and remove alias later

#' @rdname to_factor
#' @export
data_to_factor <- to_factor


#' @export
to_factor.default <- function(x, verbose = TRUE, ...) {
if (isTRUE(verbose)) {
Expand Down
8 changes: 0 additions & 8 deletions R/to_numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ to_numeric <- function(x, ...) {
UseMethod("to_numeric")
}


## TODO Deprecate and remove alias later

#' @rdname to_numeric
#' @export
data_to_numeric <- to_numeric


#' @export
to_numeric.default <- function(x, verbose = TRUE, ...) {
if (isTRUE(verbose)) {
Expand Down
3 changes: 0 additions & 3 deletions man/categorize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/change_code.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/slide.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/to_factor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions man/to_numeric.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 6 additions & 18 deletions revdep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,22 @@
|field |value |
|:--------|:-----------------------------------------|
|version |R version 4.2.1 (2022-06-23) |
|os |macOS Monterey 12.4 |
|os |macOS Monterey 12.5 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Europe/Berlin |
|date |2022-08-06 |
|rstudio |2022.07.0+548 Spotted Wakerobin (desktop) |
|date |2022-08-20 |
|rstudio |2022.07.1+554 Spotted Wakerobin (desktop) |
|pandoc |2.19 @ /usr/local/bin/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:----------|:-----|:--------|:--|
|datawizard |0.4.1 |0.4.1.10 |* |
|package |old |new |Δ |
|:----------|:-----|:-----|:--|
|datawizard |0.5.1 |0.5.1 |NA |

# Revdeps

## New problems (7)

|package |version |error |warning |note |
|:------------------------------------------------|:-------|:------|:-------|:------|
|[correlation](problems.md#correlation) |0.8.1 |__+1__ | | |
|[effectsize](problems.md#effectsize) |0.7.0 |__+1__ | | |
|[parameters](problems.md#parameters) |0.18.1 |__+2__ |__+1__ | |
|[report](problems.md#report) |0.5.1 |__+1__ | |__+1__ |
|[see](problems.md#see) |0.7.1 |__+1__ |__+1__ | |
|[sjPlot](problems.md#sjplot) |2.8.10 |__+1__ | | |
|[statsExpressions](problems.md#statsexpressions) |1.3.2 |__+1__ | | |

34 changes: 2 additions & 32 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,7 @@
## revdepcheck results

We checked 13 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 14 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 7 new problems
* We saw 0 new problems
* We failed to check 0 packages

Issues with CRAN packages are summarised below.

### New problems
(This reports the first line of each new failure)

* correlation
checking examples ... ERROR

* effectsize
checking tests ...

* parameters
checking examples ... ERROR
checking tests ...
checking dependencies in R code ... WARNING

* report
checking examples ... ERROR
checking R code for possible problems ... NOTE

* see
checking examples ... ERROR
checking dependencies in R code ... WARNING

* sjPlot
checking examples ... ERROR

* statsExpressions
checking tests ...

Loading

0 comments on commit 3970d46

Please sign in to comment.