download_yq | R Documentation |
yq
tool (version 3.4.1).This function has side-effects by default, see the set_as_default
argument.
download_yq(
url = NULL,
os = NULL,
arch = NULL,
yq_version = "3.4.1",
destfile = get_yq_default_path(),
set_as_default = TRUE,
do_check = TRUE,
ask = TRUE,
overwrite = FALSE,
dry = FALSE,
verbose = getOption("scdrake_verbose")
)
url |
A character scalar: URL from which binary will be downloaded.
If |
os |
A character scalar: specifies the current OS ( |
arch |
A character scalar: specifies the current CPU architecture ( |
yq_version |
A character scalar: |
destfile |
A character scalar: destination file. |
set_as_default |
A logical scalar: if |
do_check |
A logical scalar: if |
ask |
A logical scalar: if |
overwrite |
A logical scalar: if |
dry |
A logical scalar: if |
verbose |
A logical scalar: if |
A character scalar of length two: destfile
and URL to yq
binary.
Note that on Windows platform, if destfile
doesn't contain the .exe
extension,
it will be automatically added.
If !overwrite && fs::file_exists(destfile)
, then NULL
invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.