Activity class requires un-named list for 'used' without any documentation of such behavior

Description

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.

> Activity(used=list(a='syn123',b='syn245'))
Error in value[[3L]](cond) :
Unexpected parameters in call to Activity.used().
> Activity(used=list('syn123','syn245'))

Executed:
Used:
syn123
syn245

Environment

None

Status

Assignee

Unassigned

Reporter

Sara Gosline

Labels

None

Validator

Kenneth Daily

Release Version History

None

Priority

Major
Configure