cli - Helpers for Developing Command Line Interfaces
A suite of tools to build attractive command line interfaces ('CLIs'), from semantic elements: headings, lists, alerts, paragraphs, etc. Supports custom themes via a 'CSS'-like language. It also contains a number of lower level 'CLI' elements: rules, boxes, trees, and 'Unicode' symbols with 'ASCII' alternatives. It support ANSI colors and text styles as well.
Last updated
cli
20.17 score 729 stars 18k dependents 6.5k scripts 2.1M downloadspak - Another Approach to Package Installation
The goal of 'pak' is to make package installation faster and more reliable. In particular, it performs all HTTP operations in parallel, so metadata resolution and package downloads are fast. Metadata and package files are cached on the local disk as well. 'pak' has a dependency solver, so it finds version conflicts before performing the installation. This version of 'pak' supports CRAN, 'Bioconductor' and 'GitHub' packages as well.
Last updated
16.17 score 821 stars 376 dependents 682 scripts 323k downloadszip - Cross-Platform 'zip' Compression
Cross-Platform 'zip' Compression Library. A replacement for the 'zip' function, that does not require any additional external tools on any platform.
Last updated
15.75 score 100 stars 1.1k dependents 1.2k scripts 351k downloadsps - List, Query, Manipulate System Processes
List, query and manipulate all system processes, on 'Windows', 'Linux' and 'macOS'.
Last updated
14.71 score 83 stars 1.8k dependents 82 scripts 1.1M downloadsprettyunits - Pretty, Human Readable Formatting of Quantities
Pretty, human readable formatting of quantities. Time intervals: '1337000' -> '15d 11h 23m 20s'. Vague time intervals: '2674000' -> 'about a month ago'. Bytes: '1337' -> '1.34 kB'. Rounding: '99' with 3 significant digits -> '99.0' p-values: '0.00001' -> '<0.0001'. Colors: '#FF0000' -> 'red'. Quantities: '1239437' -> '1.24 M'.
Last updated
14.53 score 134 stars 3.8k dependents 836 scripts 752k downloadsremotes - R Package Installation from Remote Repositories, Including 'GitHub'
Download and install R packages stored in 'GitHub', 'GitLab', 'Bitbucket', 'Bioconductor', or plain 'subversion' or 'git' repositories. This package provides the 'install_*' functions in 'devtools'. Indeed most of the code was copied over from 'devtools'.
Last updated
14.43 score 355 stars 116 dependents 77 scripts 375k downloadsprocessx - Execute and Control System Processes
Tools to run system processes in the background. It can check if a background process is running; wait on a background process to finish; get the exit status of finished processes; kill background processes. It can read the standard output and error of the processes, using non-blocking connections. 'processx' can poll a process for standard output or error, with a timeout. It can also poll several processes at once.
Last updated
14.24 score 247 stars 1.7k dependents 7 scripts 1.2M downloadscrayon - Colored Terminal Output
The crayon package is now superseded. Please use the 'cli' package for new projects. Colored terminal output on terminals that support 'ANSI' color and highlight codes. It also works in 'Emacs' 'ESS'. 'ANSI' color support is automatically detected. Colors and highlighting can be combined and nested. New styles can also be created easily. This package was inspired by the 'chalk' 'JavaScript' project.
Last updated
14.23 score 324 stars 5.3k dependents 19 scripts 1.1M downloadspkgbuild - Find Tools Needed to Build R Packages
Provides functions used to build R packages. Locates compilers needed to build R packages on various platforms and ensures the PATH is configured appropriately so R can use them.
Last updated
14.20 score 77 stars 942 dependents 157 scripts 825k downloadscallr - Call R from R
It is sometimes useful to perform a computation in a separate R process, without affecting the current R process at all. This packages does exactly that.
Last updated
14.10 score 304 stars 1.4k dependents 7 scripts 1.1M downloads
progress - Terminal Progress Bars
Configurable Progress bars, they may include percentage, elapsed time, and/or the estimated completion time. They work in terminals, in 'Emacs' 'ESS', 'RStudio', 'Windows' 'Rgui' and the 'macOS' 'R.app'. The package also provides a 'C++' 'API', that works with or without 'Rcpp'.
Last updated
13.67 score 474 stars 3.5k dependents 22 scripts 710k downloadsdesc - Manipulate DESCRIPTION Files
Tools to read, write, create, and manipulate DESCRIPTION files. It is intended for packages that create or manipulate other packages.
Last updated
13.47 score 126 stars 1.2k dependents 3 scripts 873k downloadsotel - OpenTelemetry R API
High-quality, ubiquitous, and portable telemetry to enable effective observability. OpenTelemetry is a collection of tools, APIs, and SDKs used to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior. This package implements the OpenTelemetry API: <https://opentelemetry.io/docs/specs/otel/>. Use this package as a dependency if you want to instrument your R package for OpenTelemetry.
Last updated
13.00 score 22 stars 4.0k dependents 55 scripts 1.1M downloadspkgconfig - Private Configuration for 'R' Packages
Set configuration options on a per-package basis. Options set by a given package only apply to that package, other packages are unaffected.
Last updated
12.80 score 42 stars 12k dependents 1 scripts 1.4M downloadsrcmdcheck - Run 'R CMD check' from 'R' and Capture Results
Run 'R CMD check' from 'R' and capture the results of the individual checks. Supports running checks in the background, timeouts, pretty printing and comparing check results.
Last updated
12.60 score 124 stars 152 dependents 153 scripts 140k downloadsgh - 'GitHub' 'API'
Minimal client to access the 'GitHub' 'API'.
Last updated
githubgithub-api
12.44 score 232 stars 808 scripts 194k downloadslpSolve - Interface to 'Lp_solve' v. 5.5 to Solve Linear/Integer Programs
Lp_solve is freely available (under LGPL 2) software for solving linear, integer and mixed integer programs. In this implementation we supply a "wrapper" function in C and some R functions that solve general linear/integer problems, assignment problems, and transportation problems. This version calls lp_solve version 5.5.
Last updated
12.02 score 21 stars 481 dependents 1.5k scripts 75k downloadsgitcreds - Query 'git' Credentials from 'R'
Query, set, delete credentials from the 'git' credential store. Manage 'GitHub' tokens and other 'git' credentials. This package is to be used by other packages that need to authenticate to 'GitHub' and/or other 'git' repositories.
Last updated
credentialscredentials-helpergitgithub
12.01 score 30 stars 437 dependents 7 scripts 143k downloadsarchive - Multi-Format Archive and Compression Support
Bindings to 'libarchive' <http://www.libarchive.org> the Multi-format archive and compression library. Offers R connections and direct extraction for many archive formats including 'tar', 'ZIP', '7-zip', 'RAR', 'CAB' and compression formats including 'gzip', 'bzip2', 'compress', 'lzma' and 'xz'.
Last updated
compressionconnectionslibarchivecpp
11.87 score 148 stars 29 dependents 758 scripts 12k downloadsnanoparquet - Read and Write 'Parquet' Files
Self-sufficient reader and writer for flat 'Parquet' files. Can read most 'Parquet' data types. Can write many 'R' data types, including factors and temporal types. See docs for limitations.
Last updated
parquetcpp
11.82 score 86 stars 40 dependents 526 scripts 23k downloadsbrio - Basic R Input Output
Functions to handle basic input output, these functions always read and write UTF-8 (8-bit Unicode Transformation Format) files and provide more explicit control over line endings.
Last updated
11.62 score 59 stars 548 dependents 1 scripts 535k downloadssessioninfo - R Session Information
Query and print information about the current R session. It is similar to 'utils::sessionInfo()', but includes more information about packages, and where they were installed from.
Last updated
11.53 score 80 stars 244 dependents 5 scripts 184k downloadsurlchecker - Run CRAN URL Checks from Older R Versions
Provide the URL checking tools available in R 4.1+ as a package for earlier versions of R. Also uses concurrent requests so can be much faster than the serial versions.
Last updated
10.63 score 45 stars 147 dependents 23 scripts 135k downloads
rversions - Query 'R' Versions, Including 'r-release' and 'r-oldrel'
Query the main 'R' 'SVN' repository to find the versions 'r-release' and 'r-oldrel' refer to, and also all previous 'R' versions and their release dates.
Last updated
10.63 score 43 stars 145 dependents 70 scripts 130k downloadsfilelock - Portable File Locking
Place an exclusive or shared lock on a file. It uses 'LockFile' on Windows and 'fcntl' locks on Unix-like systems.
Last updated
10.58 score 44 stars 1.0k dependents 2 scripts 95k downloadsrematch2 - Tidy Output from Regular Expression Matching
Wrappers on 'regexpr' and 'gregexpr' to return the match results in tidy data frames.
Last updated
10.35 score 46 stars 197 dependents 328k downloadspkgcache - Cache 'CRAN'-Like Metadata and R Packages
Metadata and package cache for CRAN-like repositories. This is a utility package to be used by package management tools that want to take advantage of caching.
Last updated
10.32 score 30 stars 7 dependents 423 scripts 6.2k downloadskeyring - Access the System Credential Store from R
Platform independent 'API' to access the operating system's credential store. Currently supports: 'Keychain' on 'macOS', Credential Store on 'Windows', the Secret Service 'API' on 'Linux', and simple, platform independent stores implemented with environment variables or encrypted files. Additional storage back-ends can be added easily.
Last updated
keyringsecuritylibsecretglib
10.24 score 203 stars 83 dependents 7 scripts 18k downloadspkgdepends - Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain a consistent set of packages to install. Download packages, and install them. It supports packages on 'CRAN', 'Bioconductor' and other 'CRAN-like' repositories, 'GitHub', package 'URLs', and local package trees and files. It caches metadata and package files via the 'pkgcache' package, and performs all 'HTTP' requests, downloads, builds and installations in parallel. 'pkgdepends' is the workhorse of the 'pak' package.
Last updated
10.13 score 135 stars 4 dependents 87 scripts 4.8k downloadsrematch - Match Regular Expressions with a Nicer 'API'
A small wrapper on 'regexpr' to extract the matches and captured groups from the match of a regular expression to a character vector.
Last updated
10.04 score 1.0k dependents 132 scripts 541k downloadsparsedate - Recognize and Parse Dates in Various Formats, Including All ISO 8601 Formats
Parse dates automatically, without the need of specifying a format. Currently it includes the git date parser. It can also recognize and parse all ISO 8601 formats.
Last updated
9.65 score 65 stars 28 dependents 584 scripts 5.6k downloadsdotenv - Load Environment Variables from '.env'
Load configuration from a '.env' file, that is in the current working directory, into environment variables.
Last updated
9.32 score 102 stars 7 dependents 1.6k scripts 4.1k downloads
cranlogs - Download Logs from the 'RStudio' 'CRAN' Mirror
'API' to the database of 'CRAN' package downloads from the 'RStudio' 'CRAN mirror'. The database itself is at <http://cranlogs.r-pkg.org>, see <https://github.com/r-hub/cranlogs.app> for the raw 'API'.
Last updated
9.17 score 89 stars 10 dependents 497 scripts 3.2k downloads
rhub - Tools for R Package Developers
R-hub v2 uses GitHub Actions to run 'R CMD check' and similar package checks. The 'rhub' package helps you set up R-hub v2 for your R package, and start running checks.
Last updated
9.02 score 368 stars 1 dependents 230 scripts 3.2k downloadsxopen - Open System Files, 'URLs', Anything
Cross platform solution to open files, directories or 'URLs' with their associated programs.
Last updated
9.00 score 34 stars 151 dependents 130k downloadsxmlparsedata - Parse Data of 'R' Code as an 'XML' Tree
Convert the output of 'utils::getParseData()' to an 'XML' tree, that one can search via 'XPath', and easier to manipulate in general.
Last updated
xml
8.87 score 24 stars 40 dependents 74k downloadspingr - Check if a Remote Computer is Up
Check if a remote computer is up. It can either just call the system ping command, or check a specified TCP port.
Last updated
dnsis-onlinepingtcpglibc
8.39 score 38 stars 17 dependents 2 scripts 32k downloadsavailable - Check if the Title of a Package is Available, Appropriate and Interesting
Check if a given package name is available to use. It checks the name's validity. Checks if it is used on 'GitHub', 'CRAN' and 'Bioconductor'. Checks for unintended meanings by querying 'Wiktionary' and Wikipedia.
Last updated
unconfunconf17
8.34 score 145 stars 4 dependents 140 scripts 759 downloadswhoami - Username, Full Name, Email Address, 'GitHub' Username of the Current User
Look up the username and full name of the current user, the current user's email address and 'GitHub' username, using various sources of system and configuration information.
Last updated
8.29 score 20 stars 30 dependents 47 scripts 11k downloadscyclocomp - Cyclomatic Complexity of R Code
Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program's source code. It was developed by Thomas J. McCabe, Sr. in 1976.
Last updated
code-analysiscomplexity-measure
8.27 score 6 stars 14 dependents 49 scripts 38k downloadswebfakes - Fake Web Apps for HTTP Testing
Create a web app that makes it easier to test web clients without using the internet. It includes a web app framework with path matching, parameters and templates. Can parse various 'HTTP' request bodies. Can send 'JSON' data or files from the disk. Includes a web app that implements the 'httpbin.org' web service.
Last updated
7.96 score 62 stars 1 dependents 27k downloadspkgsearch - Search and Query CRAN R Packages
Search CRAN metadata about packages by keyword, popularity, recent activity, package name and more. Uses the 'R-hub' search server, see <https://r-pkg.org> and the CRAN metadata database, that contains information about CRAN packages. Note that this is _not_ a CRAN project.
Last updated
rankingsearch-engine
7.75 score 111 stars 20 dependents 7 scripts 5.6k downloadsdebugme - Debug R Packages
Specify debug messages as special string constants, and control debugging of packages via environment variables.
Last updated
debugging-tool
7.56 score 153 stars 5 dependents 1 scripts 6.3k downloadsclisymbols - Unicode Symbols at the R Prompt
A small subset of Unicode symbols, that are useful when building command line applications. They fall back to alternatives on terminals that do not support Unicode. Many symbols were taken from the 'figures' 'npm' package (see <https://github.com/sindresorhus/figures>).
Last updated
7.43 score 84 stars 23 dependents 9.4k downloadsprettycode - Pretty Print R Code in the Terminal
Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.
Last updated
7.43 score 106 stars 4 dependents 3.0k downloadsprompt - Dynamic 'R' Prompt
Set the 'R' prompt dynamically, from a function. The package contains some examples to include various useful dynamic information in the prompt: the status of the last command (success or failure); the amount of memory allocated by the current 'R' process; the name of the R package(s) loaded by 'pkgload' and/or 'devtools'; various 'git' information: the name of the active branch, whether it is dirty, if it needs pushes pulls. You can also create your own prompt if you don't like the predefined examples.
Last updated
6.99 score 232 stars 1 dependents 140 scripts 350 downloadswebdriver - 'WebDriver' Client for 'PhantomJS'
A client for the 'WebDriver' 'API'. It allows driving a (probably headless) web browser, and can be used to test web applications, including 'Shiny' apps. In theory it works with any 'WebDriver' implementation, but it was only tested with 'PhantomJS'.
Last updated
6.98 score 72 stars 1 dependents 136 scripts 2.2k downloadsasciicast - Create 'Ascii' Screen Casts from R Scripts
Record 'asciicast' screen casts from R scripts. Convert them to animated SVG images, to be used in 'README' files, or blog posts. Includes 'asciinema-player' as an 'HTML' widget, and an 'asciicast' 'knitr' engine, to embed 'ascii' screen casts in 'Rmarkdown' documents.
Last updated
6.76 score 245 stars 1 scripts 3.4k downloadsotelsdk - R SDK and Exporters for OpenTelemetry
OpenTelemetry is a collection of tools, APIs, and SDKs used to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior. This package contains the OpenTelemetry SDK, and exporters. Use this package to export traces, metrics, logs from instrumented R code. Use the otel package to instrument your R code for OpenTelemetry.
Last updated
protobufcurlcpp
6.62 score 18 stars 12 scripts 21k downloadsdatadict - Validate Data Against a 'data-dict.yaml' Data Dictionary
A data dictionary describes a collection of related tables: their columns, types, constraints, relationships, and glossary. Validate a dataset against its dictionary and read the findings as an HTML report. Reference: <https://data-dict.tidyverse.org>.
Last updated
6.55 score 110 stars 12 scripts 425 downloadssecret - Share Sensitive Information in R Packages
Allow sharing sensitive information, for example passwords, 'API' keys, etc., in R packages, using public key cryptography.
Last updated
6.42 score 102 stars 65 scripts 395 downloadsrcorpora - A Collection of Small Text Corpora of Interesting Data
A collection of small text corpora of interesting data. It contains all data sets from 'dariusk/corpora'. Some examples: names of animals: birds, dinosaurs, dogs; foods: beer categories, pizza toppings; geography: English towns, rivers, oceans; humans: authors, US presidents, occupations; science: elements, planets; words: adjectives, verbs, proverbs, US president quotes.
Last updated
6.21 score 43 stars 31 scripts 1.7k downloadstracer - Slick Call Stacks
Better looking call stacks after an error.
Last updated
6.16 score 35 stars 41 scripts 361 downloadscliapp - Create Rich Command Line Applications
Create rich command line applications, with colors, headings, lists, alerts, progress bars, etc. It uses CSS for custom themes. This package is now superseded by the 'cli' package. Please use 'cli' instead in new projects.
Last updated
6.08 score 61 stars 396 scripts 871 downloadsshinytoastr - Notifications from 'Shiny'
Browser notifications in 'Shiny' apps, using 'toastr': <https://github.com/CodeSeven/toastr#readme>.
Last updated
5.79 score 3 stars 9 dependents 64 scripts 1.2k downloadsliteq - Lightweight Portable Message Queue Using 'SQLite'
Temporary and permanent message queues for R. Built on top of 'SQLite' databases. 'SQLite' provides locking, and makes it possible to detect crashed consumers. Crashed jobs can be automatically marked as "failed", or put in the queue again, potentially a limited number of times.
Last updated
5.72 score 58 stars 1 dependents 491 downloadscleancall - C Resource Cleanup via Exit Handlers
Wrapper of .Call() that runs exit handlers to clean up C resources. Helps managing C (non-R) resources while using the R API.
Last updated
5.40 score 21 stars 1 dependents 649 downloadskeypress - Wait for a Key Press in a Terminal
Wait for a single key press at the 'R' prompt. This works in terminals, but does not currently work in the 'Windows' 'GUI', the 'macOS' 'GUI' ('R.app'), in 'Emacs' 'ESS', in an 'Emacs' shell buffer or in 'R Studio'. In these cases 'keypress' stops with an error message.
Last updated
5.24 score 23 stars 5 dependents 7 scripts 700 downloadstsitter - Tree-Sitter Parsing Tools
Common tree-sitter parsing tools for R. It is meant to be used by other packages that specialize in particular languages and file formats.
Last updated
5.23 score 6 stars 35 scripts 292 downloadsshowimage - Show an Image on an 'R' Graphics Device
Sometimes it is handy to be able to view an image file on an 'R' graphics device. This package just does that. Currently it supports 'PNG' files.
Last updated
4.79 score 8 stars 2 dependents 2.6k downloadsfranc - Detect the Language of Text
With no external dependencies and support for 335 languages; all languages spoken by more than one million speakers. 'Franc' is a port of the 'JavaScript' project of the same name, see <https://github.com/wooorm/franc>.
Last updated
4.52 score 30 stars 22 scripts 491 downloadscranlike - Tools for 'CRAN'-Like Repositories
A set of functions to manage 'CRAN'-like repositories efficiently.
Last updated
package-managementrepository
4.41 score 26 stars 4 scripts 610 downloadsdisposables - Create Disposable R Packages for Testing
Create disposable R packages for testing. You can create, install and load multiple R packages with a single function call, and then unload, uninstall and destroy them with another function call. This is handy when testing how some R code or an R package behaves with respect to other packages.
Last updated
4.03 score 12 stars 7 scripts 1.8k downloadsoskeyring - Raw System Credential Store Access from R
Aims to support all features of the system credential store, including non-portable ones. Supports 'Keychain' on 'macOS', and 'Credential Manager' on 'Windows'. See the 'keyring' package if you need a portable 'API'.
Last updated
4.00 score 7 stars 1.4k downloadssimplegraph - Simple Graph Data Types and Basic Algorithms
Simple classic graph algorithms for simple graph classes. Graphs may possess vertex and edge attributes. 'simplegraph' has no dependencies and it is written entirely in R, so it is easy to install.
Last updated
3.78 score 2 stars 1 dependents 444 downloadssankey - Illustrate the Flow of Information or Material
Plots that illustrate the flow of information or material.
Last updated
3.35 score 3 stars 15 scripts 660 downloadsrstack - Stack Data Type as an 'R6' Class
An extremely simple stack data type, implemented with 'R6' classes. The size of the stack increases as needed, and the amortized time complexity is O(1). The stack may contain arbitrary objects.
Last updated
3.18 score 1 dependents 7 scripts 374 downloads