A helper to circumvent R errors when deserializing large call objects from
Rds. Trims the number of arguments in a call object, and replaces the last
argument with a <truncated>
symbol.
truncate_call(call_obj, limit = 10000)
A (possibly large) call
object
A call
length limit to impose
The call_obj
with arguments trimmed