Skip to content

Commit

Permalink
chore: Add appropriate #nocov comments
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorld committed Dec 15, 2018
1 parent aeeb66b commit 208fe96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/argparse.R
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ get_Rscript_filename <- function() {
if(did_find_python3) {
python_cmd <- attr(did_find_python3, "python_cmd")
} else {
python_cmd <- find_python_cmd(required_modules=required_modules)
python_cmd <- find_python_cmd(required_modules=required_modules) #nocov
}
}
python_cmd
Expand All @@ -317,7 +317,7 @@ get_Rscript_filename <- function() {
# Internal function to print message
.print_message_and_exit <- function(message, r_note, status=0) {
if (interactive()) {
.stop(message, r_note)
.stop(message, r_note) #nocov
} else {
cat(message, sep="\n")
quit(status=0)
Expand Down

0 comments on commit 208fe96

Please sign in to comment.