Releases: KWB-R/kwb.utils
Releases · KWB-R/kwb.utils
Release v0.15.0
kwb.utils v0.15.0
- add loadFunctions() with private function
- mergeEnvironments()
- add callWithData() with private functions
- splitIntoIdenticalRows(),
- rbindFirstRows(),
- seqAlongRows(),
- nDims(),
- expandToVector()
- multiColumnLookup()
- allow to lookup more than one value column
- add arguments "drop", "includeKeys"
- findPartialDuplicates()
- reimplement the function in order to fix a 🐛
- use catAndRun() within sourceScripts()
Full Changelog: v0.14.0...v0.15.0
Release v0.14.0
kwb.utils 0.14.0 2023-04-15
- add assignObjects()
- add catchWarning()
- add createFunctionAssignObjects()
- add createFunctionExtdataFile()
- add directoryName()
- add extdataFile()
- add fullWinPath()
- add getListNode()
- add hasZeroLength()
- add maxStringLength()
- add stopFormatted()
- improve implementation of hsAddMissingCols()
- export noSuchElements()
- improve extractSubstring()
- subexpressionMatches(): rename arg "regularExpression" to "pattern", improve
- add nameElements()
- parallelNonNA(): use class of input vector "a" as class of output vector
- fix bug in catAndRun(): show an appropriate time unit, not always "seconds"
Release v0.12.0
- add argument "deuOnly" to substSpecialChars()
- add function clipMatrix()
- add argument "rng" to inRange()
- add arguments "sep", "simple" to makeUnique()
- substSpecialChars(): fix bug, substitute also colon with underscore
- extractRowRanges():
- let it work also for vector of character
- rename argument "columnName" to "column", add argument "starts", change
order of arguments
Release v0.11.0
New function: argsCsv()
v0.10.0
Release v0.8.0
- add:
matrixToDataFrame()
- add (private):
get_cache_dir()
,set_cache_dir()
- add:
readLinesWithEncoding()
, moved fromfakin.path.app::read_lines()
get_cached()
: add argument "dbg"; returnNULL
if file does not existlastElement()
: do not usetail()
for lists, usex[[length(x)]]
insteadorderBy()
: allow to order by multiple columnspreparePdf()
: set paper to "special" if width or height are setreadDictionary()
: add arguments "fileEncoding", "...", pass on to
readLinesWithEncoding()
writeDictionary()
: check "file" argument. Do not check the file path unless
"file" is of class character (and not a connection)
Relase v0.7.0
New functions:
backspace()
createAccessor()
createStorage()
left()
listToDepth()
objectToText()
orderBy()
repeated()
reproducibleSample()
right()
space()
substSpecialChars()
textToObject()
New generic (S3) function:
print.repro_sample()
Changes:
listToDepth()
: Avoid endless recursion by checking for empty directory names, add argument "template"hsSubstSpecChars()
: Add upper case umlauts, rename to substSpecialChars(), make deprecated`.askForPassword()
: Set default "NULL" for argument "account"; return invisibleassignGlobally()
: Make deprecated and do not use internally any moregetPassword()
: Return invisiblehsPrepPdf()
: Do not use internally any morewarningDeprecated()
: Add argument "parentheses"
Release v0.6.0
New generic list function:
listToDepth()
New small helper functions:
backspace()
left()
orderBy()
repeated()
right()
space()
Release v0.5.1
- Fix bug in
moveColumnsToFront()
: keep data frame structure in case that the data frame has only one column createMatrix()
: Set defaults forname.row
andname.col
toNULL
(was:""
)
Release v0.5.0
- new: toPdf()
- new: assertFinalSlash()
- new private functions:
- cache_and_return()
- clear_cache()
- get_cached()
- get_cached_file()
- run_cached()
- objectToText()
- textToObject()