All Projects → andrie → Minicran

andrie / Minicran

Licence: gpl-2.0
R package to create internally consistent, mini version of CRAN

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Minicran

Pacman
A package management tools for R
Stars: ✭ 220 (+78.86%)
Mutual labels:  r-package, cran, package-management
xfun
Miscellaneous R functions
Stars: ✭ 102 (-17.07%)
Mutual labels:  cran, r-package
UCSCXenaShiny
📊 An R package for interactively exploring UCSC Xena https://xenabrowser.net/datapages/
Stars: ✭ 52 (-57.72%)
Mutual labels:  cran, r-package
Dataexplorer
Automate Data Exploration and Treatment
Stars: ✭ 362 (+194.31%)
Mutual labels:  r-package, cran
FLightR
R package to position animals with solar geolocation archival tags
Stars: ✭ 16 (-86.99%)
Mutual labels:  cran, r-package
pbapply
Adding progress bar to '*apply' functions in R
Stars: ✭ 115 (-6.5%)
Mutual labels:  cran, r-package
digest
R package to create compact hash digests of R objects
Stars: ✭ 94 (-23.58%)
Mutual labels:  cran, r-package
rprotobuf
R Interface to Protocol Buffers
Stars: ✭ 62 (-49.59%)
Mutual labels:  cran, r-package
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-69.11%)
Mutual labels:  r-package, cran
Nanotime
Nanosecond Resolution Time Functionality for R
Stars: ✭ 39 (-68.29%)
Mutual labels:  r-package, cran
Pkgsearch
Search R packages on CRAN
Stars: ✭ 73 (-40.65%)
Mutual labels:  r-package, cran
Rinside
Seamless embedding of R in C++ programs
Stars: ✭ 112 (-8.94%)
Mutual labels:  r-package, cran
jpndistrict
🗾 Create Japansese Administration Area Maps
Stars: ✭ 18 (-85.37%)
Mutual labels:  cran, r-package
PackageDevelopment
Task View: PackageDevelopment
Stars: ✭ 38 (-69.11%)
Mutual labels:  cran, r-package
heddlr
Bring a functional programming mindset to R Markdown document generation
Stars: ✭ 14 (-88.62%)
Mutual labels:  cran, r-package
rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (-77.24%)
Mutual labels:  cran, r-package
Mlr
Machine Learning in R
Stars: ✭ 1,542 (+1153.66%)
Mutual labels:  r-package, cran
worldfootballR
A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
Stars: ✭ 188 (+52.85%)
Mutual labels:  cran, r-package
pkgkitten
Create simple packages which pass R CMD check
Stars: ✭ 31 (-74.8%)
Mutual labels:  cran, r-package
Rcpp
Seamless R and C++ Integration
Stars: ✭ 572 (+365.04%)
Mutual labels:  r-package, cran

miniCRAN

R build status Code coverage CRAN version CRAN RStudio mirror downloads CRAN status

Create a mini version of CRAN containing only selected packages

Introduction

At the end of 2014, CRAN consisted of more than 6,000 packages, and by 2017 this number doubled to more than 12,000. Many organisations need to maintain a private mirror of CRAN, but with only a subset of packages that are relevant to them.

The miniCRAN package makes it possible to create an internally consistent repository consisting of selected packages from CRAN-like repositories. The user specifies a set of desired packages, and miniCRAN recursively reads the dependency tree for these packages, then downloads only this subset.

Important functions:

Function Use it for
pkgDep() Find package dependencies
makeRepo() Make repository (with or without downloading packages)
addPackage() Add additional packages (and their dependencies) to existing repository
updatePackages() Update the versions of packages currently in the repository

Installation:

Get the stable version from CRAN:

install.packages("miniCRAN")
library("miniCRAN")

Development version

Get the latest development version from github:

# Use `devtools` to install directly from github
library(devtools)
install_github("andrie/miniCRAN")

Example:

# Determine and download the packages `ggplot2`, `plyr` and `reshape2`, 
# including their dependencies:

library("miniCRAN")
pkgs <- c("ggplot2", "plyr", "reshape2")
makeRepo(pkgDep(pkgs), path = file.path(tempdir(), "miniCRAN"))

Supported by Microsoft

I started this project while employed by Revolution Analytics and Microsoft. Microsoft has kindly agreed that I maintain the project individually, and retains copyright to all work on the project until October 2017.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].