[Xts-commits] r877 - pkg/xts/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon May 1 15:14:53 CEST 2017
Author: bodanker
Date: 2017-05-01 15:14:52 +0200 (Mon, 01 May 2017)
New Revision: 877
Modified:
pkg/xts/R/zzz.R
Log:
Add warning that repo has moved to .onAttach()
Modified: pkg/xts/R/zzz.R
===================================================================
--- pkg/xts/R/zzz.R 2015-02-19 00:08:30 UTC (rev 876)
+++ pkg/xts/R/zzz.R 2017-05-01 13:14:52 UTC (rev 877)
@@ -21,3 +21,11 @@
.POSIXct <- function(xx, tz = NULL)
structure(xx, class = c("POSIXt", "POSIXct"), tzone = tz)
}
+
+.onAttach <- function(libname, pkgname) {
+ repo <- "https://github.com/joshuaulrich/xts"
+ packageStartupMessage(
+ "WARNING: this package was installed from R-Forge, but development has\n",
+ "moved to GitHub. Please re-install the package using the GitHub repo at:\n",
+ repo, ".")
+}
More information about the Xts-commits
mailing list