https://github.com/thomascjohnson/CRANpiled
A lightweight package for creating and maintaining CRAN repositories of precompiled R packages
https://github.com/thomascjohnson/CRANpiled
Last synced: 4 months ago
JSON representation
A lightweight package for creating and maintaining CRAN repositories of precompiled R packages
- Host: GitHub
- URL: https://github.com/thomascjohnson/CRANpiled
- Owner: thomascjohnson
- Created: 2020-09-20T00:53:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-15T03:46:10.000Z (over 4 years ago)
- Last Synced: 2024-08-13T07:11:11.270Z (8 months ago)
- Language: R
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - thomascjohnson/CRANpiled - A lightweight package for creating and maintaining CRAN repositories of precompiled R packages (R)
README
# CRANpiled
A lightweight package for creating and maintaining CRAN repositories of precompiled R packages.
## Usage
The following will compile the latest version of `ggplot2` from cloud.r-project.org, `dplyr` version 1.0.1 from cloud.r-project.org, and a fork of `shiny` found on Github, and add them to a repository found at ~/myCRAN.
```
library(CRANpiled)options("repos" = "cloud.r-project.org")
repo_dir <- create_repository("~/myCRAN")
packages <- c(
"ggplot2",
"http://cloud.r-project.org/src/contrib/Archive/dplyr/dplyr_1.0.1.tar.gz",
"https://github.com/thomascjohnson/shiny/archive/master.zip"
)add_packages(packages, repo_dir)
```