Skip to content

Commit

Permalink
Merge pull request #7 from LucyMcGowan/master
Browse files Browse the repository at this point in the history
πŸ‘·β€β™€οΈ Fix logical error
  • Loading branch information
ShanEllis committed Jun 13, 2018
2 parents 25ea4d5 + e7b4d3f commit 12e27fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_course.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 12e27fc

Please sign in to comment.