Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Göran Broström
On 2017-12-20 18:54, Dirk Eddelbuettel wrote: On 20 December 2017 at 15:32, Göran Broström wrote: | > Or can someone tell me how to install the package using R devel on Linux? | | Good question (which I missed). I do it like this: | | (i) Download and unpack the tarball R-devel in ~/src/ |

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Dirk Eddelbuettel
On 20 December 2017 at 15:32, Göran Broström wrote: | > Or can someone tell me how to install the package using R devel on Linux? | | Good question (which I missed). I do it like this: | | (i) Download and unpack the tarball R-devel in ~/src/ | (ii) ./configure and make | (iii) Start R-devel

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Blume Christine
eorgi Boshnakov [mailto:georgi.boshna...@manchester.ac.uk] Gesendet: Mittwoch, 20. Dezember 2017 14:49 An: Göran Broström; r-package-devel@r-project.org; Blume Christine Betreff: RE: [R-pkg-devel] Debian: example file is no longer read correctly The package on CRAN doesn't use tempdir() to change d

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Göran Broström
On 2017-12-20 15:32, Göran Broström wrote: On 2017-12-20 11:11, Blume Christine wrote: Dear all, [...] Or can someone tell me how to install the package using R devel on Linux? Good question (which I missed). I do it like this: (i) Download and unpack the tarball R-devel in ~/sr

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Göran Broström
On 2017-12-20 11:11, Blume Christine wrote: Dear all, [...] Or can someone tell me how to install the package using R devel on Linux? Good question (which I missed). I do it like this: (i) Download and unpack the tarball R-devel in ~/src/ (ii) ./configure and make (iii) Start R-dev

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Georgi Boshnakov
;- as.character(result_RA$Lflex_starttime) } nparACT_result <- nparACT_result if (plot == T) { nparACT_auxfunctions2$nparACT_plot_hraverage_GA_loop(matrix_hraverage) } return(nparACT_result) } -Original Message- From: R-package-devel [mailto:r-package-de

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Göran Broström
On 2017-12-20 12:14, Göran Broström wrote: Christine, the error message from CRAN/r-devel-linux suggests that the error comes from your function nparACT_flex_loop . There your code below is embedded in a loop: for (zz in 1:nofiles) If nofiles == 0 (no found files), this loop is still ex

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Göran Broström
Christine, the error message from CRAN/r-devel-linux suggests that the error comes from your function nparACT_flex_loop . There your code below is embedded in a loop: for (zz in 1:nofiles) If nofiles == 0 (no found files), this loop is still executed (R is not Fortran). Maybe this is th

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Iñaki Úcar
2017-12-20 11:11 GMT+01:00 Blume Christine : > Dear all, > > I guess I need your help again. With debian my package (nparACT) gives an > error message that seems to be related to loading the data: > > Warning in is.na(data$activity) : > is.na() applied to non-(list or vector) of type 'NULL'

[R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Blume Christine
Dear all, I guess I need your help again. With debian my package (nparACT) gives an error message that seems to be related to loading the data: Warning in is.na(data$activity) : is.na() applied to non-(list or vector) of type 'NULL' Error in 1:a : argument of length 0 Although I have