[R-pkg-devel] inconsistent between windows and debian

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 24 12:11:57 CEST 2018



On 24.04.2018 06:01, Xubo Yue wrote:
>    Hey
> 
> I just got feedback from CRAN auto-checking and find a wired thing
> 
> package brainKCCA_0.1.0.tar.gz does not pass the incoming checks
> automatically, please see the following pre-tests:
> Windows: <https://win-builder.r-project.org/incoming_pretest/
> brainKCCA_0.1.0_20180424_040017/Windows/00check.log>
> Status: 3 NOTEs
> Debian: <https://win-builder.r-project.org/incoming_pretest/
> brainKCCA_0.1.0_20180424_040017/Debian/00check.log>
> Status: 1 ERROR, 1 NOTE
> 
> Why Windows and Debian have inconsistent result?

Well, you write to

paste(filePath, "\\",  "temp", sep=""))

and shoudl rather use file.path as the "\" will be part of the filename 
in Linux and a directory separator in Windows?

Best,
Uwe Ligges


> 
> PS. The error in debian is
> 
> Error in oro.nifti::readNIfTI(fname = file.path(imgPath,
> paste(niiFile1[i],  :
>    File(s) not found!
> Calls: nii2RData -> <Anonymous>
> Execution halted
> * checking PDF version of manual ... OK
> * DONE
> Status: 1 ERROR, 1 NOTE
> 
> While in windows, there is no error
> 
> * checking examples ...
> ** running examples for arch 'i386' ... [250s] NOTE
> Examples with CPU or elapsed time > 10s
>                            user system elapsed
> multipleRegion_plot     190.35   1.92  205.61
> summary_kcca              1.40   0.17   14.79
> permkCCA_multipleRegion   1.19   0.11   14.51
> nii2RData                 0.40   0.20   13.84
> ** running examples for arch 'x64' ... [79s] NOTE
> Examples with CPU or elapsed time > 10s
>                           user system elapsed
> multipleRegion_plot     18.36   2.06   33.66
> permkCCA_multipleRegion  1.47   0.20   14.88
> summary_kcca             1.48   0.16   14.85
> nii2RData                0.62   0.23   14.09
> * checking PDF version of manual ... OK
> * DONE
> Status: 3 NOTEs
> 
> Anyone can provide some suggestions?
> 
> Thanks!
> 
>



More information about the R-package-devel mailing list