From 5852ea145546ade06d5cbb8bd582ad38ad1a4144 Mon Sep 17 00:00:00 2001 From: kbvernon Date: Sun, 20 Oct 2024 14:54:31 -0600 Subject: [PATCH] check string --- R/read_cargo_metadata.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/read_cargo_metadata.R b/R/read_cargo_metadata.R index 15fd0eac..4e314c3d 100644 --- a/R/read_cargo_metadata.R +++ b/R/read_cargo_metadata.R @@ -26,6 +26,8 @@ #' } #' read_cargo_metadata <- function(path = ".") { + check_string(path, class = "rextendr_error") + root <- rprojroot::find_package_root_file(path = path) rust_folder <- normalizePath(