Running 'build.matches.test.R' [1s/1s]
  Running 'classes.test.R' [1s/1s]
  Running 'df.category.mean.test.R' [1s/1s]
  Running 'map.market.test.R' [1s/1s]
  Running 'matchit.test.R' [1s/2s]
  Running 'nearest.multiple.test.R' [1s/1s]
  Running 'next.treatment.test.R' [1s/1s]
  Running 'portfolio.Arith.test.R' [1s/1s]
  Running 'portfolio.all.equal.test.R' [1s/1s]
  Running 'portfolio.calcShares.test.R' [1s/1s]
  Running 'portfolio.calcWeights.test.R' [1s/1s]
  Running 'portfolio.create.test.R' [1s/1s]
  Running 'portfolio.expandData.test.R' [1s/1s]
  Running 'portfolio.expose.test.R' [1s/1s]
  Running 'portfolio.matching.test.R' [2s/2s]
  Running 'portfolio.mvLong.test.R' [1s/1s]
  Running 'portfolio.mvShort.test.R' [1s/1s]
  Running 'portfolio.performance.test.R' [1s/1s]
  Running 'portfolio.updatePrices.test.R' [1s/1s]
  Running 'portfolioBasic.Arith.test.R' [1s/1s]
  Running 'portfolioBasic.all.equal.test.R' [1s/1s]
  Running 'portfolioBasic.contribution.test.R' [1s/1s]
  Running 'portfolioBasic.exposure.test.R' [1s/1s]
  Running 'portfolioBasic.performance.test.R' [1s/1s]
  Running 'portfolioBasic.test.R' [1s/1s]
  Running 'prob.matrix.test.R' [1s/1s]
  Running 'sample.matrix.test.R' [1s/1s]
  Running 'tradelist.calcActual.test.R' [1s/1s]
  Running 'tradelist.calcCandidates.test.R' [1s/2s]
  Running 'tradelist.calcChunks.test.R' [1s/2s]
  Running 'tradelist.calcChunksActual.test.R' [1s/1s]
  Running 'tradelist.calcRanks.test.R' [1s/1s]
  Running 'tradelist.calcSwaps.test.R' [1s/2s]
  Running 'tradelist.calcSwapsActual.test.R' [1s/1s]
  Running 'trades.test.R' [1s/1s]
  Running 'weight.test.R' [1s/1s]
Running the tests in 'tests/map.market.test.R' failed.
Complete output:
  > ################################################################################
  > ##
  > ## $Id: map.market.test.R 346 2006-10-01 05:08:55Z enos $
  > ##
  > ## Test for the map.market function
  > ##
  > ################################################################################
  > 
  > library(portfolio)
  Loading required package: grid
  Loading required package: lattice
  > 
  > 
  > if (base::getRversion() <= '3.6.3') {
  +   load("map.market.test.RData")
  + } else {
  +   load("map.market.test.gt363.RData")
  + }
  > 
  > ## save(test.data, truth, file = "map.market.test.gt363.RData", version=2, compress=TRUE)
  > ## truth = getGrob(result, "MAP")
  > 
  > result <- map.market(id = test.data$id, area = test.data$area,
  +                      group = test.data$group, color = test.data$color,
  +                      lab = TRUE, print = FALSE)
  > 
  > stopifnot(
  +           isTRUE(all.equal(getGrob(result, "MAP"), truth))
  +           )
  Error: isTRUE(all.equal(getGrob(result, "MAP"), truth)) is not TRUE
  Execution halted