Skip to content
Snippets Groups Projects
Commit 485c6826 authored by Steffen Neumann's avatar Steffen Neumann
Browse files

Fix error message if suggested packages are unavailable

parent cdf72625
No related branches found
No related tags found
No related merge requests found
......@@ -15,11 +15,11 @@
validate <- function(path) {
if (!require(ontoCAT)) {
error("Package ontoCAT missing. Validation requires package ontoCAT and RUnit")
stop("Package ontoCAT missing. Validation requires package ontoCAT and RUnit")
}
if (!require(RUnit)) {
error("Package RUnit missing. Validation requires package ontoCAT and RUnit")
stop("Package RUnit missing. Validation requires package ontoCAT and RUnit")
}
# Is the argument a directory?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment