Revision 9e5b9bb8a0564f8bf629df4ca5e96d3078f50363 authored by jmc on 14 July 2008, 00:00:00 UTC, committed by Gabor Csardi on 14 July 2008, 00:00:00 UTC
1 parent a3b36b1
tryRequire.R
tryRequire <- function(what) {
value <- tryCatch(require(what, quietly = TRUE, character.only = TRUE),
warning = function(cond) FALSE,
error = function(cond) FALSE)
value
}
Computing file changes ...