It seems unnecessary to require only vectors for the 'used' parameter of Activity, and if it really is necessary it'd be nice to tell us this instead of failing without warning. While this can be fixed with an as.vector(unlist()) command, it seems silly.
See example below.
Error in value[[3L]](cond) :
Unexpected parameters in call to Activity.used().