Skip to content

Commit

Permalink
Merge pull request #687 from njtierney/abstract-error-checkers-529
Browse files Browse the repository at this point in the history
Abstract error checking
  • Loading branch information
njtierney authored Aug 16, 2024
2 parents 6a541bc + fe3356e commit 53dd4af
Show file tree
Hide file tree
Showing 47 changed files with 1,919 additions and 1,285 deletions.
2 changes: 1 addition & 1 deletion R/as_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ as_data.greta_array <- function(x) {
non_data_greta_array <- !is.data_node(get_node(x))
if (non_data_greta_array) {
cli::cli_abort(
"cannot coerce a non-data greta_array to data"
"cannot coerce a non-data {.cls greta_array} to data"
)
}
x
Expand Down
Loading

0 comments on commit 53dd4af

Please sign in to comment.