Use Vega-Lite 5.5.0. (#208)
Add module support to vw_shiny_get_* functions. (#203, @rhenkin)
Update Actions. (#209)
vegawidget now supports the last two Vega-Lite major versions, currently versions 5 and 4.
However, for a given loading of this package (or RMarkdown file), the
vegawidget() function can use only one major-version; this version
is determined using the
$schema element of the first
This restriction does not apply to the image functions, e.g.
or to the compilation function,
vega_version_all(): all packaged versions.
vega_version_available(): available versions, subject to locking.
Update Actions. (#188)
Use Vega-Lite 5.2.0. (#183)
schema folder from package files, i.e.
system.file("schema", package = "vegawidget").
This folder will be removed at the release following v0.4.1.
Instead, you can use the
vega_schema() function (with new optional
argument) to retrieve from Vega:
vega_schema("vega-lite", version = "5.2.0") |> vw_fetch()
Use V8 rather than node to support image-functions and
This adds V8 as a package-dependency, but removes the system-dependency for node.
As a result, remote-data loading works as long as you can access the data from R. (#85)
Update contributor-information. (#176)
inst folder: remove
Fix test to comply with testthat changes. (#162, @lionel-)
When converting vegaspec to JSON, serialize
vw_set_base_url(), does not re-export
vw_to_svg()and friends) respect the
baseURLoption set using
actions argument lets you specify
the bulk of the options for vega-embed can be supplied as named arguments using
... rather than as explicit arguments to
This will make it easier to support future enhancements to vega-embed.
Unique identifier used in attaching data from local files;
elementId is used if provided, if not an md5 hash of the files is used.
This would be useful for knitting documents, but attaching local data works only for interactive analysis, not for knitr environments.
Hence this "fix" is anticipation of other enchancements. (#125)
vegawidget(): keep precision in JSON representation for accurate rendering of small values (< 0.001). (#130, @datapixie)
knit_print(): repair by exporting the S3 method. (#132)
encoding argument (default
character method, for files and URLs. (#117, with @g3o2)
This version released by CRAN on 2020-01-22
This version released by CRAN on 2019-06-24
This version released by CRAN on 2019-01-30