[datatable-help] packages data.table and treemap, tabplot

Matthew Dowle mdowle at mdowle.plus.com
Mon Jul 16 10:06:03 CEST 2012


Uwe, CRAN maintainers and Martijn,
cc datatable-help

Sincere apologies. I had checked dependent packages but not before some
last minute changes. I should know better to recheck.

In addition to treemap and tabplot now failing, it's failing on Mac too.
Likely due to new tests with non-ascii characters. I had anticipated
encoding issues and coded for that, though. I tested on Linux, winbuilder
for Windows, and it passes checks on Mac on R-Forge. So will need to
investigate why encoding doesn't pass Mac on CRAN.

I'll endeavour to subsmit v1.8.3 tonight or tomorrow.

Apologies again,
Matthew

> Dear package maintainers of data.table and treemap, tabplot,
>
> probably due to yesterday's data.table update on CRAN, we see treemap
> and tabplot failing now, this will shortly be reported on
>
> http://cran.r-project.org/web/checks/check_results_treemap.html
> http://cran.r-project.org/web/checks/check_results_tabplot.html
>
> Can you please negotiate further actions and fix the problem. Please
> upload fixed version(s) of the package(s) with increased version
> number(s) to CRAN in the usual way and report to cran at R-project.org.
>
> In principle, according to CRAN policies, we have to revert the
> data.table update, since it is the maintainer's responsibility to check
> an update breaks other packages.
> We will revert if we do not get a response to this message within 24
> hours from now.
>
>
> For now, the relevant part of the logfiles are, for treemap:
>
> * checking examples ...
> ** running examples for arch 'i386' ... ERROR
> Running examples in 'treemap-Ex.R' failed
> The error most likely occurred in:
>
>  > ### Name: tmPlot
>  > ### Title: Create treemap
>  > ### Aliases: tmPlot
>  >
>  > ### ** Examples
>  >
>  > #########################################
>  > ### quick example
>  > ###
>  > ### data: Gross national income data
>  > #########################################
>  >
>  > # load Gross national income data
>  > data(GNI2010)
>  >
>  > # create treemap
>  > tmPlot(GNI2010,
> +        index=c("continent", "iso3"),
> +        vSize="population",
> +        vColor="GNI",
> +        type="value")
>  >
>  >
>  >
>  > #########################################
>  > ### extended examples
>  > ###
>  > ### data: fictive structural business statistics data
>  > #########################################
>  >
>  > ### load fictive structural business statistics data
>  > data(sbsData)
>  > sbsData$employees.growth <- sbsData$employees09 - sbsData$employees08
>  >
>  >
>  > #########################################
>  > ### types
>  > #########################################
>  >
>  > # value treemap: the color variable is directly mapped to the colors
>  > tmPlot(sbsData,
> +        index=c("section", "subsection"),
> +        vSize="employees09",
> +        vColor="employees.growth",
> +        type="value")
> Error in rbindlist(allargs) :
>    Column 1 of item 2 is type 'integer', inconsistent with column 1 of
> item 1's type ('double')
> Calls: tmPlot ... baseTreemap -> rbind -> rbind -> .rbind.data.table ->
> rbindlist
> Execution halted
>
>
>
>
> for tabplot:
>
> ** running examples for arch 'i386' ... ERROR
> Running examples in 'tabplot-Ex.R' failed
> The error most likely occurred in:
>
>  > ### Name: tableChange
>  > ### Title: Change a tabplot-object
>  > ### Aliases: tableChange
>  >
>  > ### ** Examples
>  >
>  > # load diamonds dataset from ggplot2
>  > require(ggplot2)
> Loading required package: ggplot2
>  > data(diamonds)
>  >
>  > # assign tableplot as tabplot object
>  > tab <- tableplot(diamonds, plot=FALSE)
> Error in tabulate(get(col), nbins = nlev) :
>    'bin' must be numeric or a factor
> Calls: tableplot ... getFreqTable_DT -> matrix -> [ -> [.data.table ->
> tabulate
> Execution halted
>
>
>
> Best wishes,
> Uwe Ligges
>




More information about the datatable-help mailing list