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.09 score 729 stars 18k dependents 5.5k scripts 2.1M 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
16.45 score 356 stars 120 dependents 8.1k scripts 366k 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
16.31 score 324 stars 5.6k dependents 2.2k 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
16.00 score 474 stars 3.6k dependents 4.5k scripts 721k 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
15.76 score 304 stars 1.4k dependents 553 scripts 1.1M 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.70 score 100 stars 1.1k dependents 1.2k scripts 349k downloadsps - List, Query, Manipulate System Processes
List, query and manipulate all system processes, on 'Windows', 'Linux' and 'macOS'.
Last updated
15.23 score 83 stars 1.8k dependents 425 scripts 1.1M 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
15.11 score 126 stars 1.2k dependents 484 scripts 788k 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.9k dependents 884 scripts 704k 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
14.33 score 80 stars 246 dependents 6.9k scripts 168k 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
14.29 score 821 stars 374 dependents 287k 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.29 score 247 stars 1.7k dependents 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.23 score 77 stars 956 dependents 160 scripts 838k 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
13.86 score 30 stars 440 dependents 774 scripts 132k 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.10 score 22 stars 4.1k 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.81 score 42 stars 13k dependents 1 scripts 1.3M 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.44 score 126 stars 151 dependents 167 scripts 132k 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
12.35 score 59 stars 546 dependents 59 scripts 488k 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
12.17 score 203 stars 86 dependents 872 scripts 17k 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 502 dependents 1.5k scripts 73k 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.97 score 87 stars 47 dependents 637 scripts 23k 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 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
11.75 score 44 stars 1.2k dependents 132 scripts 89k downloadsrematch2 - Tidy Output from Regular Expression Matching
Wrappers on 'regexpr' and 'gregexpr' to return the match results in tidy data frames.
Last updated
10.99 score 46 stars 195 dependents 46 scripts 315k downloadsgh - 'GitHub' 'API'
Minimal client to access the 'GitHub' 'API'.
Last updated
githubgithub-api
10.42 score 232 stars 181k 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.31 score 45 stars 146 dependents 23 scripts 129k 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.23 score 30 stars 6 dependents 378 scripts 7.0k 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.01 score 1.1k dependents 127 scripts 513k 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
9.75 score 43 stars 144 dependents 122k 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.63 score 65 stars 27 dependents 584 scripts 5.5k downloadsxopen - Open System Files, 'URLs', Anything
Cross platform solution to open files, directories or 'URLs' with their associated programs.
Last updated
9.56 score 34 stars 153 dependents 39 scripts 120k 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
9.29 score 110 stars 19 dependents 376 scripts 5.5k 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.26 score 102 stars 6 dependents 1.6k scripts 4.2k 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 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
9.14 score 38 stars 17 dependents 126 scripts 28k 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
9.10 score 24 stars 41 dependents 17 scripts 72k 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 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.39 score 145 stars 4 dependents 157 scripts 761 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.21 score 20 stars 30 dependents 47 scripts 9.5k 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.20 score 6 stars 14 dependents 49 scripts 32k 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.97 score 84 stars 23 dependents 46 scripts 7.0k 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.76 score 62 stars 1 dependents 21k 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.68 score 106 stars 4 dependents 16 scripts 3.4k downloadsdebugme - Debug R Packages
Specify debug messages as special string constants, and control debugging of packages via environment variables.
Last updated
debugging-tool
7.54 score 153 stars 5 dependents 1 scripts 6.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 142 scripts 407 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.99 score 72 stars 1 dependents 145 scripts 2.1k 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.61 score 245 stars 14 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.57 score 18 stars 14 scripts 16k 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.46 score 102 stars 70 scripts 405 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
6.20 score 59 stars 1 dependents 30 scripts 384 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.16 score 43 stars 28 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.07 score 61 stars 388 scripts 740 downloadsshinytoastr - Notifications from 'Shiny'
Browser notifications in 'Shiny' apps, using 'toastr': <https://github.com/CodeSeven/toastr#readme>.
Last updated
5.67 score 3 stars 8 dependents 65 scripts 912 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 6 scripts 577 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 248 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.10 score 21 stars 1 dependents 2 scripts 554 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.86 score 8 stars 2 dependents 9 scripts 3.1k 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 433 downloadszstd - Zstandard Compression
Compress and decompress data with the 'Zstandard' algorithm <https://meta.github.io/zstd/>, a fast lossless compression format. Works on raw vectors in memory and on files, and can create and extract 'zstd' compressed 'tar' archives. Supports compression levels, multithreaded compression, long distance matching, content checksums, and training dictionaries for better compression of small, similar inputs.
Last updated
libzstd
4.06 score 57 scripts 185 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
3.98 score 12 stars 7 scripts 1.6k 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 401 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
3.73 score 7 stars 6 scripts 1.5k downloadscranlike - Tools for 'CRAN'-Like Repositories
A set of functions to manage 'CRAN'-like repositories efficiently.
Last updated
package-managementrepository
3.72 score 26 stars 4 scripts 623 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 467 downloads