From e7b4d3f8f83c215cbd79925cf1a969c03f21e25b Mon Sep 17 00:00:00 2001 From: Lucy D'Agostino McGowan Date: Wed, 13 Jun 2018 09:54:45 -0400 Subject: [PATCH] :construction_worker: Fix logical error --- R/check_course.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/check_course.R b/R/check_course.R index 43f1b26..6af73de 100644 --- a/R/check_course.R +++ b/R/check_course.R @@ -40,7 +40,7 @@ check_course = function(course_dir = ".", save_metrics = TRUE, warning(paste0("Multiple sheets identified! Please check ", fname)) } - if (length(x) == 0|grepl("\\(\\)",x)) { + if (length(x) == 0 || grepl("\\(\\)", x)) { return(NA) } return(x)