Hi Michael,
in the data() function you have to use the name of the rda file, not the
name of the dataset you need.
So say you have the datasets validity and data2 in a file called
alldata.rda, you need to do:
data(alldata)
and that will make both validity and data2 available to the user.
imho
At the moment my package (metap) has a number of small data-sets each as
a separate .rda file. It works fine. I thought it would be neater to put
them all into one file which I called data.rda (original choice of name
there).
Now when I do R CMD build metap
it fails when trying to build the