Title: | Convenient Access to 'Python' 'Wheel' Packages Prepared for 'Windows' |
---|---|
Description: | Downloads pre-compiled 'Windows' 'wheel' files (.whl) for 'Python' geospatial packages from <https://github.com/cgohlke/geospatial-wheels>. These are unofficial binary installers for some geospatial libraries prepared by Christoph Gohlke. Wheels for various packages, 'Python' versions, and architectures are made available via 'GitHub' releases, providing the ability to revert to prior versions when needed. |
Authors: | Andrew G. Brown |
Maintainer: | Andrew G. Brown <[email protected]> |
License: | CC0 |
Version: | 0.0.5 |
Built: | 2024-12-19 07:29:19 UTC |
Source: | https://github.com/brownag/rgeowheels |
Used to download and install the latest versions of wheels available from https://github.com/cgohlke/geospatial-wheels.
install_wheel( package, version = "latest", pyversion = "latest", architecture = "win_amd64", python = get_rgeowheels_python(), destdir = tempdir(), url_only = FALSE, download_only = FALSE )
install_wheel( package, version = "latest", pyversion = "latest", architecture = "win_amd64", python = get_rgeowheels_python(), destdir = tempdir(), url_only = FALSE, download_only = FALSE )
package |
Python package name to install. e.g. |
version |
Python package version to install. Default |
pyversion |
Python version to install package for. Default |
architecture |
Python package version to install. Default |
python |
Path to Python executable to use for install. Default: |
destdir |
Destination directory for downloaded wheel file. Default: |
url_only |
Return the URL of the .whl file without downloading? Default: |
download_only |
Download .whl file without attempting install? Default: |
Called for side effects (download and install a Python wheel). Returns character containing path to .whl file when url_only=TRUE
or download_only=TRUE
.
List assets available from "geospatial-wheels" repository
list_rgeowheels_assets(release = NULL, update_cache = FALSE)
list_rgeowheels_assets(release = NULL, update_cache = FALSE)
release |
Specify custom release to list assets for. Default: |
update_cache |
Force update of wheel download index? Default: |
A data.frame containing package
, version
, pyversion
, architecture
and other metadata about each asset in a release.
Set the path the Python binary used to run installation commands. May be a system or virtual/conda environment.
set_rgeowheels_python(x) get_rgeowheels_python()
set_rgeowheels_python(x) get_rgeowheels_python()
x |
Path to |
character Value of option "rgeowheels.python"
, or, if set, the value of the system environment variable "R_RGEOWHEELS_PYTHON"
. If neither are set, then the result of Sys.which("python")
(or Sys.which("python3")
if the former fails).