Skip to content

Commit

Permalink
Fix crash() on R-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jul 5, 2024
1 parent 9d1cfd0 commit cc2d888
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ enumerate <- function(x) {
## 7845b83343afa356e4259c054e7c9a910034f170/R/trump.R

crash <- function() {
get("attach")( structure(list(), class = "UserDefinedDatabase") )
get("attach")(
structure(
attr(file(), "conn_id"),
class = "UserDefinedDatabase"
)
)
}

is_flag <- function(x) {
Expand Down

0 comments on commit cc2d888

Please sign in to comment.