diff --git a/NAMESPACE b/NAMESPACE index c9601518..df89ee2c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -55,7 +55,6 @@ import(RSQLite) import(dbplyr) import(lubridate) import(tidyverse) -import(utils) importFrom(R6,R6Class) importFrom(methods,setGeneric) importFrom(rlang,":=") diff --git a/R/SCDB-package.R b/R/SCDB-package.R index b1a55489..65bf5863 100644 --- a/R/SCDB-package.R +++ b/R/SCDB-package.R @@ -3,8 +3,3 @@ #' @import RSQLite NULL - -#' @import utils -utils::globalVariables(".") -utils::globalVariables("NULLIF") -utils::globalVariables("CONCAT_WS") diff --git a/R/digest_to_checksum.R b/R/digest_to_checksum.R index 5ca8d61b..512a62d6 100644 --- a/R/digest_to_checksum.R +++ b/R/digest_to_checksum.R @@ -46,6 +46,9 @@ digest_to_checksum_internal <- function(.data, col) { UseMethod("digest_to_checksum_internal") } +# Resolve visible binding warning for SQL commands +utils::globalVariables(c("CONVERT", "VARCHAR")) + #' @noRd `digest_to_checksum_internal.tbl_Microsoft SQL Server` <- function(.data, col) { con <- dbplyr::remote_con(.data) diff --git a/R/unite.tbl_dbi.R b/R/unite.tbl_dbi.R index 129f8eae..d0bcb3b1 100644 --- a/R/unite.tbl_dbi.R +++ b/R/unite.tbl_dbi.R @@ -1,3 +1,6 @@ +# Resolve visible binding warning for SQL commands +utils::globalVariables(c("NULLIF", "CONCAT_WS")) + #' tidyr::unite for tbl_dbi #' #' @inheritParams tidyr::unite