Skip to content

Commit 52951fa

Browse files
Copilotosorensen
andcommitted
Add utils::globalVariables to suppress R CMD check NOTE
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
1 parent 50c79db commit 52951fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/plot.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ plot.BayesMallowsSMC2 <- function(x, parameter = "alpha", items = NULL, ...) {
8282
}
8383
}
8484

85+
# Avoid R CMD check NOTE about undefined global variables used in ggplot2::aes()
86+
utils::globalVariables(c("value", "probability"))
87+
8588

8689
# Helper function to create weighted samples from parameter values
8790
# @param values Numeric vector of parameter values

0 commit comments

Comments
 (0)