This is a helper function to install wget. Currently it only works on Windows platforms. The wget.exe executable will be downloaded from https://eternallybored.org/misc/wget/ and saved to either a temporary directory or your user appdata directory (see the use_appdata_dir
parameter).
Arguments
- force
logical: force reinstallation if wget already exists
- use_appdata_dir
logical: by default,
bb_install_wget
will install wget into a temporary directory, which does not persist between R sessions. If you want a persistent installation, specifyuse_appdata_dir=TRUE
to install wget into your appdata directory (on Windows, typically something like C:/Users/username/AppData/Roaming/)
Examples
if (FALSE) { # \dontrun{
bb_install_wget()
## confirm that it worked:
bb_wget("help")
} # }