Running 'build.matches.test.R' [0s]
  Running 'classes.test.R' [1s]
  Running 'df.category.mean.test.R' [1s]
  Running 'matchit.test.R' [1s]
  Running 'nearest.multiple.test.R' [0s]
  Running 'next.treatment.test.R' [1s]
  Running 'portfolio.Arith.test.R' [1s]
  Running 'portfolio.all.equal.test.R' [1s]
  Running 'portfolio.calcShares.test.R' [1s]
  Running 'portfolio.calcWeights.test.R' [1s]
  Running 'portfolio.create.test.R' [1s]
  Running 'portfolio.expandData.test.R' [1s]
  Running 'portfolio.expose.test.R' [1s]
  Running 'portfolio.matching.test.R' [1s]
  Running 'portfolio.mvLong.test.R' [1s]
  Running 'portfolio.mvShort.test.R' [1s]
  Running 'portfolio.performance.test.R' [1s]
  Running 'portfolio.updatePrices.test.R' [0s]
  Running 'portfolioBasic.Arith.test.R' [1s]
  Running 'portfolioBasic.all.equal.test.R' [1s]
  Running 'portfolioBasic.contribution.test.R' [0s]
  Running 'portfolioBasic.exposure.test.R' [1s]
  Running 'portfolioBasic.performance.test.R' [1s]
  Running 'portfolioBasic.test.R' [0s]
  Running 'prob.matrix.test.R' [0s]
  Running 'sample.matrix.test.R' [0s]
  Running 'tradelist.calcActual.test.R' [1s]
  Running 'tradelist.calcCandidates.test.R' [1s]
  Running 'tradelist.calcChunks.test.R' [1s]
  Running 'tradelist.calcChunksActual.test.R' [1s]
  Running 'tradelist.calcRanks.test.R' [1s]
  Running 'tradelist.calcSwaps.test.R' [1s]
  Running 'tradelist.calcSwapsActual.test.R' [1s]
  Running 'trades.test.R' [1s]
  Running 'weight.test.R' [1s]
Running the tests in 'tests/tradelist.calcSwaps.test.R' failed.
Complete output:
  > ################################################################################
  > ##
  > ## $Id: tradelist.calcSwaps.test.R 346 2006-10-01 05:08:55Z enos $
  > ##
  > ## Tests "calcSwaps" method of "tradelist" class
  > ##
  > ################################################################################
  > 
  > library(portfolio)
  Loading required package: grid
  Loading required package: lattice
  > 
  > load("tradelist.calcSwaps.test.RData")
  > 
  > ## save(tl, tl.1, tl.2, tl.3, truth.swaps, truth.row.names, truth.row.names.2, truth.row.names.3, file = "tradelist.calcSwaps.test.RData", compress = TRUE)
  > 
  > tl  <- portfolio:::calcSwaps(tl)
  > 
  > stopifnot(all.equal(tl@swaps, truth.swaps))
  Error: tl@swaps and truth.swaps are not equal:
    Component "Row.names": Attributes: < target is NULL, current is list >
    Component "Row.names": target is character, current is AsIs
  Execution halted