talgalili / d3heatmap

A D3.js-based heatmap htmlwidget for R
Other
236 stars 95 forks source link

namespace error #12

Closed Brendan-McWalters closed 9 years ago

Brendan-McWalters commented 9 years ago

when running the basic example

library(d3heatmap)
d3heatmap(mtcars, scale = "column", colors = "Spectral")

I get the error:

Error: 'col_numeric' is not an exported object from 'namespace:scales'

I'm not even sure how to begin to debug this.

jcheng5 commented 9 years ago

You need to upgrade the scales package: install.packages("scales")

I'm surprised it wasn't automatically upgraded when you installed d3heatmap--did you install d3heatmap from CRAN or from GitHub?