Re: [R-pkg-devel] data function from utils package

2016-08-17 Thread Hana Sevcikova
Another option is to put an R file of the same name as your dataset into the "data" directory and specify how your data should be read. I use it whenever I need to overwrite other arguments from the default read.table. If you have e.g. mydata.csv, a file mydata.R would contain this line: myda

Re: [R-pkg-devel] Is it possible to protect a word from the spell checker?

2016-03-01 Thread Hana Sevcikova
If it's in the DESCRIPTION file put the word into quotes. Hana On 01/03/2016 08:47, Michael Dewey wrote: The spell checker is correct they are not correctly spelled English words but names. I searched the Writing R Extensions manual but did not find any solution. I know it is only a NOTE not mor

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Hana Sevcikova
Alexandra, I got the same error for this line of code: e <- new.env() data("mydataset", envir=e) As you said it doesn't appear for R 3.2.1. I don't know why that should be wrong and would be interested to know, but my hack is this: e <- new.env() do.call("data", list("mydataset", envir=e))