Skip to content

Commit

Permalink
Silence R CMD check message (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrobin committed Jun 29, 2023
1 parent 149d5f2 commit aebe532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Encoding: UTF-8
Depends: R (>= 2.14)
Imports: methods, plyr, Rcpp (>= 0.11.1)
Suggests: microbenchmark, tcltk, MASS, logcondens, doParallel,
testthat, vdiffr, ggplot2
testthat, vdiffr, ggplot2, rlang
LinkingTo: Rcpp
Authors@R: c(person("Xavier", "Robin", role = c("cre", "aut"),
email = "pROC-cran@xavier.robin.name",
Expand Down
1 change: 1 addition & 0 deletions R/ggroc.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ get.aes.for.ggplot <- function(roc, legacy.axes, extra_aes = c()) {
for (ae in extra_aes) {
aes_list[[ae]] <- "name"
}
.data <- rlang::.data
quoted_aes_list <- lapply(aes_list, function(x) ggplot2::expr(.data[[x]]))
aes <- do.call(ggplot2::aes, quoted_aes_list)

Expand Down

0 comments on commit aebe532

Please sign in to comment.