Man pages for FastUtils
Fast, Readable Utility Functions

addAdd Two Objects
boundBound a Number within a Range
closestWordFind the Closest Word in a Set to a Given Word
colToRownamesConvert a Column to Row Names
createHashCreate a Hash Table
createMutatorCreate a Mutator Function
createPkgLoaderCreate Package Loader Function
divideDivide Two Numbers
encloseEnclose String with Specified Characters
encloseBrEnclose String with Brackets
enumerateitEnumerate Elements with Indices
evalTextevaluates a string as R code, and stops if an error occurs
FastUtils-packageFastUtils: Fast, Readable Utility Functions
findMissingRdSectionsFind Missing Sections in Rd Files
fixColnamesFix Column Names
getAvgHexCompute the Average of Hex Colors
getCharGet a Character at a Specific Index
getFailStrGet Failure Message as a character
getfirstGet the First Elements of a Vector or List
getlastGet the Last Elements of a Vector or List
getPkgKeywordsGet Keywords from R Package Documentation
getPlotDimsGet the dimensions of a ggplot Object
getUniquePairsUpToGenerate Unique Pairs Up To a Number
greplDirSearch for a Pattern in Files within a Directory
indGet Index from Enumerated Element
initDataFrameWithColnamesInitialize a DataFrame with Column Names
initEmptyTableInitialize an Empty Table
initListInitialize a List
initTestthatInitialize Testthat Files
initVInitialize a Vector
isBoundCheck if a Number is within a Range
isCamelCaseCheck if String is camelCase
isEvenCheck if a Number is Even
isOddCheck if a Number is Odd
isPascalCaseCheck if String is PascalCase
isSnakeCaseCheck if String is snake_case
isVowelCheck if a Character is a Vowel
joinRegexJoin regex expressions by union
listFilesList Only Files in a Directory
multiplyMultiply Two Numbers
mutateToRownamesMutate columns to Row Names
namedNumericToTableConvert Named Numeric Vector to Table
prependIndefArticlePrepend an Indefinite Article to a String
quietlySuppress Messages and Output
removeVdiffrNewSnapShotsRemove New Snapshots from vdiffr Tests
rmByNameRemove Elements with Specified Name Regex
rownamesToColConvert Row Names to a Column
scaleHexScale the Brightness of a Hex Color
setColnamesSet Column Names
setNamesSet Names of an Object
setRownamesSet Row Names
splitCamelSplit CamelCase or PascalCase Strings
splitSnakeSplit Snake Case String
startsWithVowelCheck if a String Starts with a Vowel
stoppCustom Stop Function Without Call
stripSpacesRemove Spaces from a String
substrEndExtract Substring from Start to End Difference
subtractSubtract Two Numbers
tableToNumericConvert a Table to Numeric
test_quietly_thatRun a Testthat test Quietly
trySplitWordsTry to Split Words Based on Naming Convention
valGet Value from Enumerated Element by Index
val1Get First Value from Enumerated Element
validateObjectValidate Object
warningpCustom Warning Function Without Call
zipitZip Multiple Vectors or Lists
FastUtils documentation built on Sept. 11, 2024, 5:13 p.m.