Skip to content

Commit

Permalink
fix CRAN complaint about package .onload message. Using .onAttach ins…
Browse files Browse the repository at this point in the history
…tead.
  • Loading branch information
Servet Ahmet Çizmeli committed Jun 29, 2022
1 parent 0208322 commit 4852b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4852b76

Please sign in to comment.