[Blotter-commits] r1317 - pkg/blotter/demo
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Dec 22 02:04:11 CET 2012
Author: efmrforge
Date: 2012-12-22 02:04:10 +0100 (Sat, 22 Dec 2012)
New Revision: 1317
Modified:
pkg/blotter/demo/amzn_test.R
Log:
Added silent=TRUE to portfolio and account removal, to suppress unneeded
warning
Modified: pkg/blotter/demo/amzn_test.R
===================================================================
--- pkg/blotter/demo/amzn_test.R 2012-12-21 23:52:32 UTC (rev 1316)
+++ pkg/blotter/demo/amzn_test.R 2012-12-22 01:04:10 UTC (rev 1317)
@@ -1,7 +1,7 @@
require(blotter)
# Remove portfolio and account data if run previously
-try(rm("portfolio.amzn_port","account.amzn_acct",pos=.blotter))
+try(rm("portfolio.amzn_port","account.amzn_acct",pos=.blotter), silent = TRUE)
# load the example data
data("amzn")
More information about the Blotter-commits
mailing list