Skip to content

Commit

Permalink
Style: Add warning for changes in #84
Browse files Browse the repository at this point in the history
  • Loading branch information
ybkamaleri committed Oct 11, 2023
1 parent ed5e20e commit 6eb6682
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions R/track-change.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ track_change <- function(type = c(
to = NULL,
names = TRUE,
fix = TRUE) {

if (fix){
lifecycle::deprecate_soft(
when = "2.4.2",
what = "track_change(dump)",
with = "track_change(fix = 'deactivate with FALSE')",
details = "Your old codes might break when using manually fix. Please read function document."
)
}

type <- match.arg(type)
type <- grunnkrets_check(type, to)

Expand Down

0 comments on commit 6eb6682

Please sign in to comment.