R/check.R

Defines functions check_conn

check_conn <- function(conn) {
  if (!inherits(conn, "SQLiteConnection")) {
    stop("conn must be an SQLiteConnection", call. = FALSE)
  }
  conn
}
poissonconsulting/tsdbr documentation built on June 30, 2023, 3:02 a.m.