Skip to content

Commit

Permalink
CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Aug 7, 2023
1 parent 8fabdef commit f5df2ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions R/ggbetweenstats_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,17 @@
x,
y,
centrality.path = FALSE,
centrality.path.args = list(linewidth = 1, color = "red", alpha = 0.5),
centrality.path.args = list(
linewidth = 1,
color = "red",
alpha = 0.5
),
centrality.point.args = list(size = 5, color = "darkred"),
centrality.label.args = list(size = 3, nudge_x = 0.4, segment.linetype = 4),
centrality.label.args = list(
size = 3,
nudge_x = 0.4,
segment.linetype = 4
),
...) {
centrality_df <- suppressWarnings(centrality_description(data, {{ x }}, {{ y }}, ...))

Expand Down Expand Up @@ -227,7 +235,7 @@
ggplot.component = NULL,
...) {
# if no. of factor levels is greater than the default palette color count
.palette_message(package, palette, length(unique(levels(x)))[[1L]])
.palette_message(package, palette, nlevels(x))

plot +
labs(
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

0 errors | 0 warnings | 0 note

- Fix breaking change caused by `{parameters}` updates.
- Maintenance release.

## revdepcheck results

Expand Down

0 comments on commit f5df2ce

Please sign in to comment.