Used to download and install the latest versions of wheels available from https://github.com/cgohlke/geospatial-wheels.
Usage
install_wheel(
package,
version = "latest",
pyversion = "latest",
architecture = "win_amd64",
python = get_rgeowheels_python(),
destdir = tempdir(),
url_only = FALSE,
download_only = FALSE
)
Arguments
- package
Python package name to install. e.g.
"rasterio"
- version
Python package version to install. Default
"latest"
determines latest version available from asset list (considerspyversion
if set).- pyversion
Python version to install package for. Default
"latest"
determines latest version available from asset list.- architecture
Python package version to install. Default
"win_amd64"
, alternatives include"win_arm64
" and"win32"
.- python
Path to Python executable to use for install. Default:
get_rgeowheels_python()
- destdir
Destination directory for downloaded wheel file. Default:
tempdir()
- url_only
Return the URL of the .whl file without downloading? Default:
FALSE
- download_only
Download .whl file without attempting install? Default:
FALSE