Include the sequence.R file in the data directory
tomsing1 opened this issue · 1 comments
tomsing1 commented
The authors include a small set of example peptides sequences, which is great. The source
code includes the data in two forms: the binary data/sequence.rda
and the plain
data-raw/sequence.R
file with the code that generates the former.
The sequence.R
file can be included in the data
directory directly and will be
sourced automatically when then data("sequence")
call is executed. There is no need
for the binary file (or the data-raw
directory). See the ?data
help page for details.
When the sequence.R
file is placed into the data
directory, it is sourced and there is no need for the devtools::use_data(sequence)
call.
Line 17 in 33103cd