All Projects → r-hub → cranlike

r-hub / cranlike

Licence: other
Manage files in a CRAN-like repository

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to cranlike

Minicran
R package to create internally consistent, mini version of CRAN
Stars: ✭ 123 (+412.5%)
Mutual labels:  cran, package-management
repogen
Easy-to-use signed APT repository generator with a web-based package browser.
Stars: ✭ 34 (+41.67%)
Mutual labels:  repository, package-management
Drat
Drat R Archive Template
Stars: ✭ 127 (+429.17%)
Mutual labels:  cran, repository
Patchman
Patchman is a Linux Patch Status Monitoring System
Stars: ✭ 163 (+579.17%)
Mutual labels:  repository, package-management
Pacman
A package management tools for R
Stars: ✭ 220 (+816.67%)
Mutual labels:  cran, package-management
publishing-python-packages
Examples and exercises for Publishing Python Packages from Manning Books 🐍 📦 ⬆️
Stars: ✭ 25 (+4.17%)
Mutual labels:  package-management
repo-card
📜 Give your repos some freshness with a Repo Card
Stars: ✭ 36 (+50%)
Mutual labels:  repository
meta-git
git plugin for meta
Stars: ✭ 22 (-8.33%)
Mutual labels:  repository
beginr
an R package for beginners
Stars: ✭ 15 (-37.5%)
Mutual labels:  cran
data-packages
⛔ ARCHIVED ⛔
Stars: ✭ 23 (-4.17%)
Mutual labels:  cran
github-interact-cli
🎩 Interact with GItHub right inside your terminal
Stars: ✭ 43 (+79.17%)
Mutual labels:  repository
edgarWebR
R package for interacting with the SEC's EDGAR filing search and retrieval system
Stars: ✭ 63 (+162.5%)
Mutual labels:  cran
xran
Xie's R Archive Network (experimental and for my personal interest only)
Stars: ✭ 24 (+0%)
Mutual labels:  cran
vioplot
Development version of vioplot R package (CRAN maintainer)
Stars: ✭ 25 (+4.17%)
Mutual labels:  cran
xoai
OAI-PMH Java Toolkit
Stars: ✭ 28 (+16.67%)
Mutual labels:  repository
denxi
Denxi is a programming model for distributing data. It reduces the cost of producing package managers, storefronts, operating systems, and CI/CD systems.
Stars: ✭ 65 (+170.83%)
Mutual labels:  package-management
QuerySpecification
Abstract package for building query specifications in your domain model.
Stars: ✭ 18 (-25%)
Mutual labels:  repository
eyepetizer kotlin
一款仿开眼短视频App,分别采用MVP、MVVM两种模式实现。一、组件化 + Kotlin + MVP + RxJava + Retrofit + OkHttp 二、组件化 + Kotlin + MVVM + LiveData + DataBinding + Coroutines + RxJava + Retrofit + OkHttp
Stars: ✭ 83 (+245.83%)
Mutual labels:  repository
apm.js
JavaScript library for the Aragon Package Manager
Stars: ✭ 16 (-33.33%)
Mutual labels:  package-management
gsrd
GitHub Starred Repos Downloader
Stars: ✭ 23 (-4.17%)
Mutual labels:  repository

cranlike

Tools for CRAN-like Repositories

Project Status: Active - The project has reached a stable, usable state and is being actively developed. R build status CRAN RStudio mirror downloads Coverage status

A set of functions to manage CRAN-like repositories efficiently. This package is an alternative to tools::write_PACKAGES. The goal is to make updates to the repository easier and faster, without the need of scanning all the package files.

cranlike keeps the package data in a SQLite database, in addition to the PACKAGES* files. This database is the canonical source of the package data. It can be updated quickly, to add and remove packages. The PACKAGES* files are generated from the database.

Installation

install.packages("cranlike")

Usage

library(cranlike)

Setting up a repository

create_empty_PACKAGES creates an empty CRAN-like repository in the specified directory. It creates the SQLite database (if it does not exist), and also the PACKAGES* files.

update_PACKAGES is similar, but it also scans the directory for package files, and adds them to the database. Use this function on an existing CRAN-like repository. It creates and updates the database, and then the PACKAGES* files.

Adding and removing packages

add_PACKAGES adds one or more package files to the repository. The files must already exist in the directory. The database is created if needed, and then updated with the new packages. Then the PACKAGES* files will be re-generated.

remove_PACKAGES removes one or more package files from the repository. It first removes them from the database, and then removes the files from the directory. Finally, it re-generates the PACKAGES* files.

Listing packages

package_versions lists all packages in the repository. It uses the SQLite database instead of parsing the PACKAGES* files, so it is much faster.

License

GPL Version 2 or higher © R Consortium

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].