The above spec in Vega-lite Editor works flowlessly.
It looks like the issue is with vegalite version in the package with respect to the one defined in the spec, in the web console of the detached plot I get:
The input spec uses vega-lite v2.1, but the current version of Vega-Lite is 2.0.1.
That would be great to be able to run this – vega was much extended and it is currently, as far as I am concerned, not possible to use these extended capabilities from R.
When I try one of the simple vegalite examples like:
I correctly get the relevant plot.
With the following one, the cloropleth example with data files pointing to relevant URLs, nothing is displayed and no error is reported:
The above spec in Vega-lite Editor works flowlessly.
It looks like the issue is with vegalite version in the package with respect to the one defined in the spec, in the web console of the detached plot I get: