Convenience function to install a minimal Cygwin environment under MS
Windows, including perl, sed and php.
Alternatively and in case of difficulties, download and run the cygwin
setup yourself as follows: cygwinsetup.exe --no-admin --quiet-mode
--verbose --upgrade-also --root c:/cygwin --site
https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/ --packages
perl,php-jsonc,php-simplexml
.
These binaries are required only for function ctrLoadQueryIntoDb
when used for register "EUCTR", "CTGOV" or "ISRCT",
but not for any other register or any other function in this package.
Usage
installCygwinWindowsDoInstall(force = FALSE, proxy = Sys.getenv("https_proxy"))
Arguments
- force
Set to
TRUE
to update a Cygwin environment that was previously installed with the function, or to overwrite any existing installation inc:\cygwin
- proxy
Specify any proxy to be used for downloading via http, e.g. `host_or_ip:port`; defaults to the environment variable `https_proxy`. Set to `""` to not specify or to unset a proxy.
Examples
if (FALSE) {
try(installCygwinWindowsDoInstall(), silent = TRUE)
}