Skip to content
Prev 2228 / 12125 Next

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

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 the cause of the failure?

You should anyway use seq_len(nofiles) or seq_along(files) instead of 
1:nofiles, or check the  number of files found.

G?ran
On 2017-12-20 11:11, Blume Christine wrote: