View source: R/download_cruncher.R
download_cruncher | R Documentation |
Function to download the ZIP file of the 'JWSACruncher'
download_cruncher(
directory,
cruncher_version,
v3 = getOption("is_cruncher_v3")
)
directory |
Directory where to save the 'JWSACruncher'. In Windows, a dialog box opens by default to select the directory. |
cruncher_version |
Character of the version of the 'JWSACruncher' to download ("X.Y.Z" format). By default the last version is downloaded. |
v3 |
Boolean indicating, when parameter |
The 'JWSACruncher' is downloaded from https://github.com/jdemetra/jwsacruncher/releases for versions lower than 3.0.0 and from https://github.com/jdemetra/jdplus-main/releases for the other versions. To use it, it has to be unzip.
configure_jwsacruncher()
.
## Not run:
# On Windows opens a dialog box to choose the directory where to
# download the last version of the 'JWSACruncher'
download_cruncher()
dir <- tempdir()
# To download the last release:
download_cruncher(dir)
# To download the release of the version 2.2.2:
download_cruncher(dir, "2.2.2")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.