From ac2f7cb097e5423b1c254254ace946f5760d2250 Mon Sep 17 00:00:00 2001 From: EhrmannS Date: Mon, 27 Jan 2025 18:16:35 +0100 Subject: [PATCH] adjust this --- R/validateSchema.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/validateSchema.R b/R/validateSchema.R index 11bf4b9..5ecb629 100644 --- a/R/validateSchema.R +++ b/R/validateSchema.R @@ -146,6 +146,9 @@ validateSchema <- function(schema = NULL, input = NULL){ # ignore header rows varProp$row <- varProp$row[!varProp$row %in% headerRows] + if(length(varProp$row) == 0){ + varProp$row <- NULL + } } }