Skip to content

Commit

Permalink
Quiet R CMD check note
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 7, 2023
1 parent 0a3ce24 commit 90e57db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/dplyr.R
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ sql_translation.BigQueryConnection <- function(x) {
median = function(x) dbplyr::build_sql("APPROX_QUANTILES(", x, ", 2)[SAFE_ORDINAL(2)]"),

runif = function(n = n(), min = 0, max = 1) {
RAND <- NULL # quiet R CMD check
dbplyr::sql_runif(RAND(), n = {{ n }}, min = min, max = max)
},
),
Expand Down

0 comments on commit 90e57db

Please sign in to comment.