diff --git a/NAMESPACE b/NAMESPACE index b68f232..f6bd16f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,7 +4,6 @@ S3method("+",gg_tsensemble) S3method(as_lag,default) S3method(as_lag,interval) S3method(autoplot,tbl_cf) -S3method(chooseOpsMethod,gg_tsensemble) S3method(components,classical_decomposition) S3method(components,feasts_x13arimaseats) S3method(components,stl_decomposition) @@ -83,6 +82,7 @@ export(unitroot_nsdiffs) export(unitroot_pp) export(var_tiled_mean) export(var_tiled_var) +if (getRversion() >= "4.3.0") S3method(chooseOpsMethod,gg_tsensemble) import(rlang) import(tsibble) import(vctrs) diff --git a/R/graphics.R b/R/graphics.R index 5b13419..f8f9421 100644 --- a/R/graphics.R +++ b/R/graphics.R @@ -783,7 +783,7 @@ gg_tsresiduals <- function(data, type = "innovation", plot_type = "histogram", . e1 } -#' @export +#' @rawNamespace if (getRversion() >= "4.3.0") S3method(chooseOpsMethod,gg_tsensemble) chooseOpsMethod.gg_tsensemble <- function(x, y, mx, my, cl, reverse) { # Always use the gg_tsensemble method TRUE