Skip to content

Commit

Permalink
Renamed hooks file
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedia committed May 11, 2017
1 parent 413ff08 commit c94d756
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/onAttach.R → R/rhooks.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
ver.mess1 <- paste0("WARNING: Your current version of ", pkgname, " (v", ver, ") is not up-to-date")
ver.mess <- paste0("Get the latest stable version (", latest.ver,
") using <devtools::install_github('SantanderMetGroup/", pkgname, "')>")
packageStartupMessage(ver.mess1)
packageStartupMessage(ver.mess)
} else if (ver > latest.ver) {
ver.mess1 <- paste0("WARNING: Your current version of ", pkgname, " (v", ver,
") is ahead of the master branch version (latest.ver)")
ver.mess <- paste0("Development version may have an unexpected behaviour")
}
packageStartupMessage(ver.mess1)
packageStartupMessage(ver.mess)
}
}
# End
Expand Down

0 comments on commit c94d756

Please sign in to comment.