public code v1
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
assert <- function(expression, message)
|
||||
{
|
||||
if(!all(expression))
|
||||
{
|
||||
stop(if(is.null(message)) "Error" else message)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user