|
if (!all(c(input.type) %in% colnames(id.mapping.table))) { |
|
message(input.type, " must be in column names of id.mapping.table!\n") |
|
message("Column names of id.mapping.table are:\n") |
|
cat(colnames(id.mapping.table), "\n\n\n\n") |
|
stop() |
|
} |
|
if (!all(c(output.type) %in% colnames(id.mapping.table))) { |
|
message(output.type, " must be in column names of id.mapping.table!\n") |
|
message("Column names of id.mapping.table are:\n") |
|
cat(colnames(id.mapping.table), "\n\n\n\n") |
|
stop() |
|
} |
has bare stop(). Because of #4 I was using suppressMessages(SBGNview()) and getting no error messages. The error message could be pasted and moved into stop().
SBGNview/R/mapping.utilities.R
Lines 465 to 476 in bbaeea8
has bare
stop(). Because of #4 I was usingsuppressMessages(SBGNview())and getting no error messages. The error message could bepasted and moved intostop().