[R] data.table and R package check
Witold E Wolski
wewolski at gmail.com
Fri Mar 14 13:15:57 CET 2014
Hi,
using data.table in package code i.e
setkey(aligtable,transition_group_id,align_origfilename)
aligtable = aligtable[CJ(unique(transition_group_id),
unique(align_origfilename))]
When I do run R package check I got warnings such as:
convert2msExperiment: no visible binding for global variable
'transition_group_id'
.... and more and more and MORE
I can't suppress those warnings by putting transition_group_id into
quotes because
this would break this code:
aligtable = aligtable[CJ(unique(transition_group_id),
unique(align_origfilename))]
Any alternatives?
regards
--
Witold Eryk Wolski
More information about the R-help
mailing list