stopifnot() for loading libraries