Skip to content

Commit

Permalink
set structure() as an undesirable function by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Oct 4, 2023
1 parent 9c49c6e commit c1871fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ all_undesirable_functions <- modify_defaults(
untrace = paste(
"remove this likely leftover from debugging.",
"It is only useful for interactive debugging with trace()"
)
),
structure =
"Use class<-, names<-, and attr<- to set attributes"
)

#' @rdname default_undesirable_functions
Expand Down

0 comments on commit c1871fd

Please sign in to comment.