Man pages for s-fleck/sfmisc
Add commonly used utility functions to an R package

all_are_distinctTest if all elements of a vector are unique
all_are_identicalTest if all elements of a vector are identical
as_scalarConvert vector if identical elements to scalar
assertAssert a condition
assert_allAssert all elements of a vector or list are 'TRUE'
assert_namespaceAssert a package is installed
camelCaseTurn a character vector to camelCase
commaCollapse text vectors with a comma
commasetCollapse text vectors with a comma (no duplicates)
compactRemove NULLs from an object (usually a list)
dupesReturn (unique) duplicated elements of a vector or rows of a...
equalishCheck for equality within a tolerance level
fmt_classFormat class of an object
is_blankCheck if a String is Blank
is_candidate_keyTest if a Vector or Combination of Vectors is a Candidate Key
is_emptyCheck if Object has length 0
is_equal_lengthCheck if Objects have the same length
is_errorConvenient predicate functions
is_integerishCheck if Object is Integer-like
is_scalar_boolCheck if Object is a Boolean
path_tidyClean up paths to make them comparable, inspired by...
ptruncPaste and Truncate
rd_describe_strCreate description string for listlike R objects Rd...
sfmisc-packagePrivate utility functions
url_tidyClean up urls to make them comparable
use_sfmiscUse sfmisc functions in current package
validateSimple data validation
walkApply a function to each element of a list or vector (without...
s-fleck/sfmisc documentation built on Nov. 21, 2023, 12:29 a.m.