Re: [R-pkg-devel] Where do demos fit in?

2017-10-20 Thread Peter Carbonetto
Hi Neal, Re-using demos for your package tests is a great idea, and should be done more often. However, I tend to agree with IƱaki---I generally prefer vignettes to demos. I wanted to point out that you could take a similar strategy to what you suggested, but using a vignette instead of a demo.

Re: [R-pkg-devel] Help with Devtools Error

2017-10-20 Thread Thierry Onkelinx
Dear Adrian, Answering this would be much easier when you have access to the code. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team Biometrie & Kwaliteit

Re: [R-pkg-devel] Help with Devtools Error

2017-10-20 Thread Joris Meys
Dear Adrian, I think the problem is rather obvious: plotMDS cannot be found. So if this is a function of your own package, you forgot to export it. If it's a function from another package, the package isn't loaded so it should be added as Depends, Imports or Suggests. And when added as Suggests, y

[R-pkg-devel] Help with Devtools Error

2017-10-20 Thread Adrian Cunningham
Hello, I hope that this email finds you all well. Any help with the following error messages that I am getting when I run devtools::check() on my package would be greatly appreciated. I think that it is a Namespace error - but when I try to export my function, it doesn't pass the install check of