diff --git a/R/zzz.R b/R/zzz.R index 63708ed..b7dbd4d 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -5,7 +5,7 @@ #' @param libname library name #' @param pkgname package name #' -.onLoad <- function(libname, pkgname){ +.onAttach <- function(libname, pkgname){ packageStartupMessage("shiny.router from version >= 0.2.0 introduced major changes to the API that are not compatible with the previous versions. Please check the docs, or examples