From 06932901a9fed2307fb9689b9b8479eb6cd0eb48 Mon Sep 17 00:00:00 2001 From: Etienne Bacher <52219252+etiennebacher@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:18:27 +0200 Subject: [PATCH] Fix lint --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 931fd7f8..9717ea49 100644 --- a/R/utils.R +++ b/R/utils.R @@ -38,7 +38,7 @@ local_quiet_cli <- function(quiet, env = rlang::caller_env()) { #' @return Logical scalar indicating if the command was available. #' @noRd cargo_command_available <- function(args = "--help") { - !any(is.na(try_exec_cmd("cargo", args))) + !anyNA(try_exec_cmd("cargo", args)) } #' Helper function for executing commands.