EVL()
, a family of functions like NVL()
, that treat any object of length 0 as NULL
.
once()
, a purrr
-style adverb that wraps a function to only evaluate the first time it’s called with a given configuration of arguments.
persistEval()
and persistEvalQ()
to retry evaluating a given expression a specified number of times.
forkTimeout()
, don’t collect a process twice. Thanks to Tomas Kalibera for suggesting the fix..Deprecate_once()
calls .Deprecated()
, passing all its arguments through, but only the first time it’s called.
.Deprecate_method()
calls .Deprecated()
, but only if a method has been called by name, i.e., .
forkTimeout()
evaluates an expression with a hard time limit (except on Windows) by forking a process. Unlike setTimeLimit()
, it enforces the limit even on native code.
ult()
is a convenience function that extracts or replaces elements of a list indexed from the end.
statnet.common
now depends on >= 3.5 due to what appears to be a method dispatching bug in earlier versions.
The package no longer Enhances coda
.
despace()
removes whitespace from a string.
Pseudo-methods colMeans.mcmc.list()
, sweep.mcmc.list()
, and lapply.mcmc.list()
(migrated from the ergm
package).
filter_rhs.formula()
selectively deletes terms in on the RHS of a formula.
eval_lhs.formula()
extracts the LHS of the formula and evaluates it in the specified environment.
NVL2()
and NVL3()
for flexible substitution of null values.
message_print()
formats its arguments as if for print()
or show()
methods, but then prints to stderr like message()
.
paste.and()
now takes an additional con=
argument, allowing a conjunction other than “and” to be used.
ERRVL()
now uses lazy evaluation and lets the user dot-substitute the previous argument’s try-error into the next argument.
Printing for control lists now works for function arguments.
A number of improvements to rle
methods.
term.list.formula()
→ list_rhs.formula()
append.rhs.formula()
→ append_rhs.formula()
nonsimp.update.formula()
→ nonsimp_update.formula()
The package now uses Roxygen
for documentation.
term.list.formula()
output format has been changed, since support of attributes on symbols is being deprecated.
A library of methods has been added for the base rle
class, implementing concatenation, compaction, and a number of binary operations.
all_same()
has been moved from ergm and renamed to all_identical()
.
A new assignment method NVL()<-
overwrites a variable if its value is NULL.
A set of classes and functions for manipulating and efficiently performing calculations on dense matrices or vectors with weighted rows or elements (possibly on the log scale) has been added.
New control parameter helper function, control.remap() has been added. Autodetection of function names by set.control.class()
and check.control.class()
has been deprecated and now results in a warning.
Improvements to the compressed data frame code, including an order() generic.
Miscellaneous robustifications added.
Native routine registration has been added.
append.rhs.formula()
, vectors.namesmatch()
, term.list.formula()
, and ergm.update.formula()
(renamed to nosimp.update.formula()
) moved from ergm
.
Skye Bender-deMoll has been added as a contributor.
ERRVL()
moved from ergm
.
Some NAMESPACE
and other fixes to pass CRAN checks.
Updated e-mail address
Some improvements to opttest.
set.control.class()
, check.control.class()
, print.control.list()
); startup message framework; NVL()
; sort.data.frame()
; compress.data.frame()
; paste.and()
; citation utilities framework; and opttest()
framework.