-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usecase error that compared NULL value with character
- Loading branch information
1 parent
5dc6b1e
commit b8f5ece
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b8f5ece
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if statement breaks, with the error
Error in if (date_range == "all") { : the condition has length > 1
when thedate_range
is a vector of start and end dates. I suspect there needs to be an additional check to ensure that date_range is length 1 before checking that it is set to"all"
. Regardless,if (length(date_range)==1 & date_range == "all")
would not hurt!b8f5ece
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good feedback. just pushed your suggestion on 825ced4