From 4852b76a284c32c81762b56a4702e21768e4ea54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Servet=20Ahmet=20=C3=87izmeli?= Date: Wed, 29 Jun 2022 13:27:19 +0300 Subject: [PATCH] fix CRAN complaint about package .onload message. Using .onAttach instead. --- R/zzz.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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