https://github.com/brownag/rgeowheels
Convenient Access to 'Python' 'Wheel' Packages Prepared for 'Windows'
https://github.com/brownag/rgeowheels
Last synced: about 2 months ago
JSON representation
Convenient Access to 'Python' 'Wheel' Packages Prepared for 'Windows'
- Host: GitHub
- URL: https://github.com/brownag/rgeowheels
- Owner: brownag
- Created: 2023-12-02T22:15:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-23T05:35:33.000Z (over 1 year ago)
- Last Synced: 2025-02-08T08:47:09.429Z (4 months ago)
- Language: R
- Homepage: http://humus.rocks/rgeowheels/
- Size: 3.79 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# {rgeowheels}
Downloads pre-compiled Windows 'wheel' files (.whl) for Python geospatial
packages from . These are unofficial
binary installers for some Python geospatial libraries on Windows 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.## Installation
You can install the development version of {rgeowheels} like so:
``` r
# install.packages("remotes")
remotes::install_github("brownag/rgeowheels")
```## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(rgeowheels)# installing wheels only intended for Windows OS
if (Sys.info()["sysname"] == "Windows")
install_wheel("GDAL")# latest version of GDAL, latest cpython, available for win_amd64 architecture
install_wheel("GDAL", url_only = TRUE)# most recent version of rasterio for cpython 3.8 is in v2023.1.10.1 release
install_wheel("rasterio", pyversion = "3.8", url_only = TRUE)
```