Skip to content

Commit

Permalink
Mention removal of env_unlock() in NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Jul 2, 2024
1 parent 33500f8 commit 38b770d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# rlang (development version)

* `env_unlock()` is now defunct because recent versions of R no long
make it possible to unlock an environment. Make sure to use an up-to-date
version of pkgload (>= 1.4.0) following this change.


# rlang 1.1.4

* Added missing C level `r_dyn_raw_push_back()` and `r_dyn_chr_push_back()`
Expand Down
2 changes: 1 addition & 1 deletion R/env.R
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ env_unlock <- function(env) {
msg <- c(
msg,
"i" = sprintf(
"This error is likely caused by an outdated version of pkgload. You are running pkgload %s and you need at least 1.3.5",
"This error is likely caused by an outdated version of pkgload. You are running pkgload %s and you need at least 1.4.0",
ver
)
)
Expand Down

0 comments on commit 38b770d

Please sign in to comment.