[Blotter-commits] r1016 - in pkg/blotter: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat May 5 02:07:01 CEST 2012


Author: gsee
Date: 2012-05-05 02:07:01 +0200 (Sat, 05 May 2012)
New Revision: 1016

Modified:
   pkg/blotter/NAMESPACE
   pkg/blotter/R/updatePortf.R
   pkg/blotter/man/blotter-package.Rd
Log:
just enough tweaks to pass R CMD check; did NOT patch all warnings and notes.

Modified: pkg/blotter/NAMESPACE
===================================================================
--- pkg/blotter/NAMESPACE	2012-05-04 20:03:53 UTC (rev 1015)
+++ pkg/blotter/NAMESPACE	2012-05-05 00:07:01 UTC (rev 1016)
@@ -16,7 +16,6 @@
 export(getTxns)
 export(initAcct)
 export(initPortf)
-export(is.account)
 export(is.portfolio)
 export(pennyPerShare)
 export(PortfReturns)

Modified: pkg/blotter/R/updatePortf.R
===================================================================
--- pkg/blotter/R/updatePortf.R	2012-05-04 20:03:53 UTC (rev 1015)
+++ pkg/blotter/R/updatePortf.R	2012-05-05 00:07:01 UTC (rev 1016)
@@ -15,7 +15,6 @@
 #' @param Prices optional xts object containing prices and timestamps to mark the book on, default NULL
 #' @param \dots any other passthrough parameters
 #' @export
-#' @callGraph
 updatePortf <- function(Portfolio, Symbols=NULL, Dates=NULL, Prices=NULL, ...)
 { #' @author Peter Carl, Brian Peterson
     pname<-Portfolio

Modified: pkg/blotter/man/blotter-package.Rd
===================================================================
--- pkg/blotter/man/blotter-package.Rd	2012-05-04 20:03:53 UTC (rev 1015)
+++ pkg/blotter/man/blotter-package.Rd	2012-05-05 00:07:01 UTC (rev 1016)
@@ -96,6 +96,7 @@
 PerformanceAnalytics}}
 }
 \examples{
+\dontrun{
 # Construct a portfolio object and add some transactions
 ## These two lines are here to deal with frame issues in R CMD check
 ## and ARE NOT NECESSARY to run by hand in your own environment.
@@ -186,5 +187,5 @@
 ## Here is the calculated portfolio summary denominated in the portfolio 
 ## currency
 p$summary
-
 }
+}



More information about the Blotter-commits mailing list