Skip to content

Commit

Permalink
fix bug (issue #35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannikbuhl committed Aug 7, 2024
1 parent 92aad8a commit b6b4f42
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/gen_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ gen_table_ <- function(name,
#-----------------------------------------------------------------------------
# Parameter processing

if (missing(database)) {

stop("It is mandatory to specifiy the 'database' parameter for 'gen_table()'.",
call. = FALSE)

}

database <- match.arg(database)

area <- match.arg(area)
Expand Down

0 comments on commit b6b4f42

Please sign in to comment.