Skip to content

Commit

Permalink
Merge pull request #213 from easystats/cran_fix
Browse files Browse the repository at this point in the history
Fix visualisation_recipe class issue
  • Loading branch information
bwiernik authored Oct 5, 2021
2 parents a71043f + 1e1deae commit 90a24c9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: correlation
Title: Methods for Correlation Analysis
Version: 0.7.0
Version: 0.7.1
Authors@R:
c(person(given = "Dominique",
family = "Makowski",
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# correlation 0.7.1

## Bug Fixes

- Bug fix in `plot()` methods

# correlation 0.7.0

## Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion R/visualisation_recipe.cor_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ visualisation_recipe.easycor_test <- function(x,
}

# Out
class(layers) <- c("visualisation_recipe", class(layers))
class(layers) <- c("visualisation_recipe", "see_visualisation_recipe", class(layers))
attr(layers, "data") <- data
layers
}
Expand Down
2 changes: 1 addition & 1 deletion R/visualisation_recipe.easycormatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ visualisation_recipe.easycormatrix <- function(x,
layers[[paste0("l", l)]] <- .visualisation_easycormatrix_labs(labs)

# Out
class(layers) <- c("visualisation_recipe", class(layers))
class(layers) <- c("visualisation_recipe", "see_visualisation_recipe", class(layers))
attr(layers, "data") <- data
layers

Expand Down
6 changes: 3 additions & 3 deletions man/cor_smooth.Rd

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

7 changes: 4 additions & 3 deletions man/cor_test.Rd

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

3 changes: 2 additions & 1 deletion man/cor_to_p.Rd

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

7 changes: 4 additions & 3 deletions man/correlation.Rd

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

0 comments on commit 90a24c9

Please sign in to comment.