Skip to content

Commit

Permalink
Return NULL by default for stancode
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Oct 15, 2024
1 parent 53babbd commit 264e95f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/stancode.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ epidist_stancode <- function(data, ...) {
#' @family stan
#' @export
epidist_stancode.default <- function(data, ...) {
cli_abort(
"No epidist_stancode method implemented for the class ", class(data), "\n",
"See methods(epidist_stancode) for available methods"
)
return(NULL)
}

0 comments on commit 264e95f

Please sign in to comment.