diff --git a/R/texmex.R b/R/texmex.R index 72220eb..bb625bf 100644 --- a/R/texmex.R +++ b/R/texmex.R @@ -22,6 +22,8 @@ #' \code{"nonstat"} otherwise. #' @seealso \code{\link{alogLik}}: loglikelihood adjustment for model fits. #' @examples +#' \dontrun{ +#' # Not run to avoid CRAN package check error inherited from the texmex package #' # We need the texmex package, and ismev for the fremantle dataset #' got_texmex <- requireNamespace("texmex", quietly = TRUE) #' got_ismev <- requireNamespace("ismev", quietly = TRUE) @@ -82,6 +84,7 @@ #' adj_evm_fit <- alogLik(evm_fit, cluster = ow$year, cadjust = FALSE) #' summary(adj_evm_fit) #' } +#' } #' @name texmex NULL ## NULL diff --git a/man/texmex.Rd b/man/texmex.Rd index 18141d7..9c1bc6b 100644 --- a/man/texmex.Rd +++ b/man/texmex.Rd @@ -62,6 +62,8 @@ The model must have been fitted using maximum likelihood estimation. See \code{\link{alogLik}} for details. } \examples{ +\dontrun{ +# Not run to avoid CRAN package check error inherited from the texmex package # We need the texmex package, and ismev for the fremantle dataset got_texmex <- requireNamespace("texmex", quietly = TRUE) got_ismev <- requireNamespace("ismev", quietly = TRUE) @@ -123,6 +125,7 @@ if (got_texmex) { summary(adj_evm_fit) } } +} \references{ Chandler, R. E. and Bate, S. (2007). Inference for clustered data using the independence loglikelihood. \emph{Biometrika},