
and - Construct Natural-Language Lists with Internationalization
Construct language-aware lists. Make "and"-separated and "or"-separated lists that automatically conform to the user's language settings.
Last updated
i18ninternationalizationtranslation
5.79 score 20 stars 5 dependents 6 scripts 1.0k downloads
ipa - Convert Between Phonetic Alphabets
Converts character vectors between phonetic representations. Supports IPA (International Phonetic Alphabet), X-SAMPA (Extended Speech Assessment Methods Phonetic Alphabet), and ARPABET (used by the CMU Pronouncing Dictionary).
Last updated
5.55 score 11 stars 1 dependents 43 scripts 221 downloads
player - Play Games in the Console
Games that can be played in the R console. Includes coin flip, hangman, jumble, magic 8 ball, poker, rock paper scissors, shut the box, spelling bee, and 2048.
Last updated
5.41 score 10 stars 103 scripts 182 downloads
crossmap - Apply Functions to All Combinations of List Elements
Provides an extension to the 'purrr' family of mapping functions to apply a function to each combination of elements in a list of inputs. Also includes functions for automatically detecting output type in mapping functions, finding every combination of elements of lists or rows of data frames, and applying multiple models to multiple subsets of a dataset.
Last updated
functional-programmingtidyverse
5.16 score 20 stars 12 scripts 334 downloads
fracture - Convert Decimals to Fractions
Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.
Last updated
cpp
4.82 score 22 stars 1 dependents 7 scripts 258 downloads
plu - Dynamically Pluralize Phrases
Converts English phrases to singular or plural form based on the length of an associated vector. Contains helper functions to create natural language lists from vectors and to include the length of a vector in natural language.
Last updated
natural-languageplural
4.38 score 8 stars 2 dependents 2 scripts 225 downloads
fauxnaif - Convert Values to NA
Provides a replacement for dplyr::na_if(). Allows you to specify multiple values to be replaced with NA using a single function.
Last updated
4.28 score 2 stars 19 scripts 379 downloads
tblcheck - Grade Tables in Learning Exercises
'tblcheck' extends 'gradethis' with functions that inspect data frame or tibble objects to make it easier for teachers to check that student tables meet expectations.
Last updated
autogradinggradethislearnrtablestibbles
4.18 score 10 stars 7 scripts
incase - Pipe-Friendly Vector Replacement with Case Statements
Offers a pipe-friendly alternative to the 'dplyr' functions case_when() and if_else(), as well as a number of user-friendly simplifications for common use cases. These functions accept a vector as an optional first argument, allowing conditional statements to be built using the 'magrittr' dot operator. The functions also coerce all outputs to the same type, meaning you no longer have to worry about using specific typed variants of NA or explicitly declaring integer outputs, and evaluate outputs somewhat lazily, so you don't waste time on long operations that won't be used.
Last updated
magrittrmagrittr-pipesrecode-valuestidyverse
4.08 score 8 stars 9 scripts 232 downloads
nombre - Number Names
Converts numeric vectors to character vectors of English number names. Provides conversion to cardinals, ordinals, numerators, and denominators. Supports negative and non-integer numbers.
Last updated
natural-language
4.02 score 13 stars 16 scripts 200 downloads
twenty48 - Play a Game of 2048 in the Console
Generates a game of 2048 that can be played in the console. Supports grids of arbitrary sizes, undoing the last move, and resuming a game that was exited during the current session.
Last updated
3.88 score 5 stars 1 dependents 203 downloads
stringstatic - Dependency-Free String Operations
Provides drop-in replacements for functions from the 'stringr' package, with the same user interface. These functions have no external dependencies and can be copied directly into your package code using the 'staticimports' package.
Last updated
3.74 score 11 stars 1 scripts 199 downloads