For example here. If an argument is required, give it a sensible default value if it exists, or else do not give it a default value. (e.g. xSpecCohort,
If it is not required, default it to NULL.
Currently the RStudio code issue highlighter doesn't indicate a problem if a user leave's out a required argument.
For example here. If an argument is required, give it a sensible default value if it exists, or else do not give it a default value. (e.g.
xSpecCohort,
If it is not required, default it to NULL.
Currently the RStudio code issue highlighter doesn't indicate a problem if a user leave's out a required argument.