Re: [R-pkg-devel] Conditional use of suggested package in example code

2018-05-30 Thread Christian Sigg
Hi Martin Thank you for your reply. > On 30 May 2018, at 12:03, Martin Maechler wrote: > >> Christian Sigg >>on Wed, 30 May 2018 11:08:38 +0200 writes: > >> I am updating the ’nsprcomp’ package to follow the recommendations of >> Section 1.1.3.1 of the Writing R Extensions manual

Re: [R-pkg-devel] Conditional use of suggested package in example code

2018-05-30 Thread Martin Maechler
> Christian Sigg > on Wed, 30 May 2018 11:08:38 +0200 writes: > I am updating the ’nsprcomp’ package to follow the recommendations of Section 1.1.3.1 of the Writing R Extensions manual. > Before the update, the example code for the `nsprcomp` function looked like this:

[R-pkg-devel] Conditional use of suggested package in example code

2018-05-30 Thread Christian Sigg
I am updating the ’nsprcomp’ package to follow the recommendations of Section 1.1.3.1 of the Writing R Extensions manual. Before the update, the example code for the `nsprcomp` function looked like this: > library(MASS) > set.seed(1) > > # Regular PCA, with the tolerance set to return five PCs