Skip to content

Commit

Permalink
Fix sysreqs deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 21, 2023
1 parent e98935b commit a3989c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions R/system-requirements.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ local_system_requirements <- function(os = NULL, os_release = NULL, root = ".",

once_per_session(message(
"`pak::local_system_requirements()` is deprecated since pak 0.6.0.\n",
"Please use `pak::pkg_sysreqs()` instead.",
call. = FALSE
"Please use `pak::pkg_sysreqs()` instead."
))

res <- remote(
Expand Down Expand Up @@ -85,8 +84,7 @@ pkg_system_requirements <- function(package, os = NULL, os_release = NULL, execu

once_per_session(message(
"`pak::pkg_system_requirements()` is deprecated since pak 0.6.0.\n",
"Please use `pak::pkg_sysreqs()` instead.",
call. = FALSE
"Please use `pak::pkg_sysreqs()` instead."
))

res <- remote(
Expand Down

0 comments on commit a3989c5

Please sign in to comment.