checkNamespace
now uses find.package
instead of .packages
function. The latter is known to be expansive. This improves the speed of this function in large library system.strUniquefy
: takes a string or numeric vector and found all duplicated elements and add an index to the end to make sure all elements are unique..packages(TRUE)
method in checkNamespace
to find installed packages.spsOption
has a new argument .list
: set more than one options a time by passing a list of options and their values to it.simpleStack
, a simple stack data structure with methods in R6 class. Methods include pop
, push
and more.historyStack
, a stack data structure to store history steps in R6 class. Similar to browser, word editor or image editor history, stored data can be moved forward or backward by step(s).inc
, mult
, divi
, which are equivalent of 1 += 1
, 1 *= 2
, i /= 2
in other programming languages.timeout
, run expressions with time limits.checkNameSpace
has new arguments, time_out
and on_timeout
. This handles if the installed package list to large and waiting time is too long. Instead of waiting, when times out, directly return all checking packages as missing, but can be customize to other behavior as well.emptyIsFalse
now named notFalsy
and its opposite is isFalsy
, old name emptyIsFalse
still reminds in the package.emptyIsFalse
.quiet
now can mute message
and warning
in addition to print
, cat
.checkNameSpace
so it does not actually load the package namespace files. This has reduced RAM usage a lot.msg
’s .other_color
argument default has changed to NULL
. When it is NULL
, use no color decoration.
remove_ANSI
now works on a vector of characters.