Package: FastUtils 0.2.1

FastUtils: Fast, Readable Utility Functions

A wide variety of tools for general data analysis, wrangling, spelling, statistics, visualizations, package development, and more. All functions have vectorized implementations whenever possible. Exported names are designed to be readable, with longer names possessing short aliases.

Authors:Qile Yang [cre, aut, cph]

FastUtils_0.2.1.tar.gz
FastUtils_0.2.1.zip(r-4.5)FastUtils_0.2.1.zip(r-4.4)FastUtils_0.2.1.zip(r-4.3)
FastUtils_0.2.1.tgz(r-4.4-x86_64)FastUtils_0.2.1.tgz(r-4.4-arm64)FastUtils_0.2.1.tgz(r-4.3-x86_64)FastUtils_0.2.1.tgz(r-4.3-arm64)
FastUtils_0.2.1.tar.gz(r-4.5-noble)FastUtils_0.2.1.tar.gz(r-4.4-noble)
FastUtils_0.2.1.tgz(r-4.4-emscripten)FastUtils_0.2.1.tgz(r-4.3-emscripten)
FastUtils.pdf |FastUtils.html
FastUtils/json (API)

# Install 'FastUtils' in R:
install.packages('FastUtils', repos = c('https://qile0317.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/qile0317/fastutils/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

71 exports 2 stars 1.48 score 116 dependencies 2 scripts 419 downloads

Last updated 30 days agofrom:00fd8c5b1a. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 17 2024
R-4.5-win-x86_64NOTESep 17 2024
R-4.5-linux-x86_64NOTESep 17 2024
R-4.4-win-x86_64NOTESep 17 2024
R-4.4-mac-x86_64NOTESep 17 2024
R-4.4-mac-aarch64NOTESep 17 2024
R-4.3-win-x86_64NOTESep 17 2024
R-4.3-mac-x86_64NOTESep 17 2024
R-4.3-mac-aarch64NOTESep 17 2024

Exports:addboundclosestWordcolToRownamescreateHashcreateMutatorcreatePkgLoaderdivideencloseencloseBrenumerateitevalTextfindMissingRdSectionsfixColnamesfmrsgetAvgHexgetChargetFailStrgetfirstgetfirst.defaultgetlastgetlast.defaultgetPkgKeywordsgetPlotDimsgetUniquePairsUpTogreplDirindinitDataFrameWithColnamesinitEmptyTableinitListinitTestthatinitVisBoundisCamelCaseisEvenisOddisPascalCaseisSnakeCaseisVoweljoinRegexlistFilesmultiplymutateToRownamesnamedNumericToTablepiaprependIndefArticlequietlyremoveVdiffrNewSnapShotsrmByNamermnsrownamesToColscaleHexsetColnamessetNamessetRownamessplitCamelsplitPascalsplitSnakestartsWithVowelstoppstripSpacessubstrEndsubtracttableToNumerictest_quietly_thattrySplitWordsvalval1validateObjectwarningpzipit

Dependencies:askpassassertthatbase64encBiocManagerbrewbriobslibcachemcallrclicliprcolorspacecommonmarkcpp11crayoncredentialscurldescdevtoolsdiffobjdigestdownlitdplyrellipsisevaluatefansifarverfastmapfontawesomefsgenericsgertggplot2ghgitcredsgluegtablehashhighrhtmltoolshtmlwidgetshttpuvhttr2iniisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimeminiUImunsellnlmeopensslpillarpkgbuildpkgconfigpkgdownpkgloadpraiseprettyunitsprocessxprofvispromisespspurrrR6raggrappdirsrcmdcheckRColorBrewerRcpprematch2remotesrlangrmarkdownroxygen2rprojrootrstudioapirversionssassscalessessioninfoshinysourcetoolsstringistringrsyssystemfontstestthattextshapingtibbletidyselecttinytexurlcheckerusethisutf8vctrsviridisLitewaldowhiskerwithrxfunxml2xopenxtableyamlzip

Installing FastUtils

Rendered frominstall.Rmdusingknitr::rmarkdownon Sep 17 2024.

Last update: 2024-07-29
Started: 2024-05-26

Readme and manuals

Help Manual

Help pageTopics
Add Two Objectsadd
Bound a Number within a Rangebound
Find the Closest Word in a Set to a Given WordclosestWord
Convert a Column to Row NamescolToRownames
Create a Hash TablecreateHash
Create a Mutator FunctioncreateMutator
Create Package Loader FunctioncreatePkgLoader
Divide Two Numbersdivide
Enclose String with Specified Charactersenclose
Enclose String with BracketsencloseBr
Enumerate Elements with Indicesenumerateit
evaluates a string as R code, and stops if an error occursevalText
Find Missing Sections in Rd FilesfindMissingRdSections fmrs
Fix Column NamesfixColnames
Compute the Average of Hex ColorsgetAvgHex
Get a Character at a Specific IndexgetChar
Get Failure Message as a charactergetFailStr
Get the First Elements of a Vector or Listgetfirst getfirst.default
Get the Last Elements of a Vector or Listgetlast getlast.default
Get Keywords from R Package DocumentationgetPkgKeywords
Get the dimensions of a ggplot ObjectgetPlotDims
Generate Unique Pairs Up To a NumbergetUniquePairsUpTo
Search for a Pattern in Files within a DirectorygreplDir
Get Index from Enumerated Elementind
Initialize a DataFrame with Column NamesinitDataFrameWithColnames
Initialize an Empty TableinitEmptyTable
Initialize a ListinitList
Initialize Testthat FilesinitTestthat
Initialize a VectorinitV
Check if a Number is within a RangeisBound
Check if String is camelCaseisCamelCase
Check if a Number is EvenisEven
Check if a Number is OddisOdd
Check if String is PascalCaseisPascalCase
Check if String is snake_caseisSnakeCase
Check if a Character is a VowelisVowel
Join regex expressions by unionjoinRegex
List Only Files in a DirectorylistFiles
Multiply Two Numbersmultiply
Mutate columns to Row NamesmutateToRownames
Convert Named Numeric Vector to TablenamedNumericToTable
Prepend an Indefinite Article to a Stringpia prependIndefArticle
Suppress Messages and Outputquietly
Remove New Snapshots from vdiffr TestsremoveVdiffrNewSnapShots rmns
Remove Elements with Specified Name RegexrmByName
Convert Row Names to a ColumnrownamesToCol
Scale the Brightness of a Hex ColorscaleHex
Set Column NamessetColnames
Set Names of an ObjectsetNames
Set Row NamessetRownames
Split CamelCase or PascalCase StringssplitCamel splitPascal
Split Snake Case StringsplitSnake
Check if a String Starts with a VowelstartsWithVowel
Custom Stop Function Without Callstopp
Remove Spaces from a StringstripSpaces
Extract Substring from Start to End DifferencesubstrEnd
Subtract Two Numberssubtract
Convert a Table to NumerictableToNumeric
Run a Testthat test Quietlytest_quietly_that
Try to Split Words Based on Naming ConventiontrySplitWords
Get Value from Enumerated Element by Indexval
Get First Value from Enumerated Elementval1
Validate ObjectvalidateObject
Custom Warning Function Without Callwarningp
Zip Multiple Vectors or Listszipit