Skip to content

Commit

Permalink
rearranging the arguements of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ty-WDFW committed Sep 24, 2024
1 parent 6287333 commit cae7af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/connection.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pssp_last_update <- function(dsn = "pssp_prod64") {
#' data <- pssp_query("SELECT * FROM survey LIMIT 10;")
#' }
#' @export
pssp_query <- function(dsn = "pssp_prod64", query) {
pssp_query <- function(query, dsn = "pssp_prod64") {
if (!is.character(query)) {
cli::cli_abort("Query must be a character string")
}
Expand Down

0 comments on commit cae7af4

Please sign in to comment.