[Eventstudies-commits] r110 - in pkg: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 4 22:01:02 CEST 2013
Author: vimsaa
Date: 2013-08-04 22:01:02 +0200 (Sun, 04 Aug 2013)
New Revision: 110
Modified:
pkg/DESCRIPTION
pkg/R/AMM.R
Log:
Updated DESCRIPTION with foreach and doMC as dependencies. This gets rid of a R CMD check warning on global calls not being defined...
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2013-08-04 19:45:30 UTC (rev 109)
+++ pkg/DESCRIPTION 2013-08-04 20:01:02 UTC (rev 110)
@@ -4,7 +4,7 @@
Version: 1.1
Author: Ajay Shah, Vikram Bahure
Maintainer: Vikram Bahure <economics.vikram at gmail.com>
-Depends: R (>= 2.12.0), zoo, xts, boot, testthat, sandwich, exactRankTests
+Depends: R (>= 2.12.0), zoo, xts, boot, testthat, sandwich, exactRankTests, doMC, foreach
Description: Implementation of short and long term event study methodology
License: GPL-2
LazyLoad: yes
Modified: pkg/R/AMM.R
===================================================================
--- pkg/R/AMM.R 2013-08-04 19:45:30 UTC (rev 109)
+++ pkg/R/AMM.R 2013-08-04 20:01:02 UTC (rev 110)
@@ -174,8 +174,9 @@
manyfirmsAMM <-
function(regressand,regressors,
lags,dates=NULL, periodnames=NULL,verbose=FALSE){
- require("doMC")
+ # require("doMC")
registerDoMC()
+ cat("All available cores will be used for this program.\n")
if(is.null(dates)){
dates=c(start(regressors),end(regressors))
periodnames="Full"
More information about the Eventstudies-commits
mailing list