[Blotter-commits] r1749 - in pkg: FinancialInstrument/R blotter/R quantstrat/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 1 15:34:03 CEST 2017


Author: bodanker
Date: 2017-05-01 15:34:02 +0200 (Mon, 01 May 2017)
New Revision: 1749

Added:
   pkg/FinancialInstrument/R/zzz.R
   pkg/blotter/R/zzz.R
   pkg/quantstrat/R/zzz.R
Log:
Add warning that repo has moved to .onAttach()

Added: pkg/FinancialInstrument/R/zzz.R
===================================================================
--- pkg/FinancialInstrument/R/zzz.R	                        (rev 0)
+++ pkg/FinancialInstrument/R/zzz.R	2017-05-01 13:34:02 UTC (rev 1749)
@@ -0,0 +1,7 @@
+.onAttach <- function(libname, pkgname) {
+  repo <- "https://github.com/braverock/FinancialInstrument"
+  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, ".")
+}

Added: pkg/blotter/R/zzz.R
===================================================================
--- pkg/blotter/R/zzz.R	                        (rev 0)
+++ pkg/blotter/R/zzz.R	2017-05-01 13:34:02 UTC (rev 1749)
@@ -0,0 +1,7 @@
+.onAttach <- function(libname, pkgname) {
+  repo <- "https://github.com/braverock/blotter"
+  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, ".")
+}

Added: pkg/quantstrat/R/zzz.R
===================================================================
--- pkg/quantstrat/R/zzz.R	                        (rev 0)
+++ pkg/quantstrat/R/zzz.R	2017-05-01 13:34:02 UTC (rev 1749)
@@ -0,0 +1,7 @@
+.onAttach <- function(libname, pkgname) {
+  repo <- "https://github.com/braverock/quantstrat"
+  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 Blotter-commits mailing list