Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 3, 2024
1 parent 09064a8 commit addec14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ S3method(test_vuong,default)
S3method(test_wald,ListNestedRegressions)
S3method(test_wald,ListNonNestedRegressions)
S3method(test_wald,default)
export(as.dag.check_dag)
export(as.dag)
export(binned_residuals)
export(check_autocorrelation)
export(check_clusterstructure)
Expand Down
5 changes: 4 additions & 1 deletion R/check_dag.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ check_dag.default <- function(...,

#' @rdname check_dag
#' @export
as.dag.check_dag <- function(x, ...) {
as.dag <- function(x, ...) {
if (!inherits(x, "check_dag")) {
insight::format_error("Input is not of class `check_dag.")
}
cat(as.character(x))
}

Expand Down
4 changes: 2 additions & 2 deletions man/check_dag.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit addec14

Please sign in to comment.