[R-pkg-devel] package upload failing with note about 'calibre' files in temp dirs

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Fri Jul 23 17:51:40 CEST 2021


On 23/07/2021 11:36 a.m., Skye Bender-deMoll wrote:
> Dear CRAN devs
> 
> I've recently run into some testing issues when attempting to release
> fixes for the ndtv package on CRAN.
> 
> 1) I have examples in documentation that test the ability of the package
> to export files, but the creation of these files then results in a NOTE
> from testing.
> 
> For example:
>   > export.dot(net,file="testNet.dot")
> 
> 
> Flavor: r-devel-linux-x86_64-debian-gcc
> Check: for non-standard things in the check directory, Result: NOTE
>     Found the following files/directories:
>       'testNet.dot' 'toy_epi_sim.net'

You can write to the directory given by tempdir().  You may still get a 
note if you don't delete the files when you're done with them.

No idea about the other issue.

Duncan Murdoch

> 
> Is there a recommended path/location that I can dependably write to that
> won't cause testing issues?
> 
> 
> 2) I'm getting a NOTE about tmp files that don't seem to be generated by
> my package:
> 
> Flavor: r-devel-linux-x86_64-debian-gcc
> Check: for detritus in the temp directory, Result: NOTE
>     Found the following files/directories:
>       'calibre_5.12.0_tmp_0xdbyqv2' 'calibre_5.12.0_tmp_1jl8jqpk'
>       'calibre_5.12.0_tmp_5y0ez9_o' 'calibre_5.12.0_tmp_74yrardi'
>       'calibre_5.12.0_tmp_94i7al75' 'calibre_5.12.0_tmp_ddddnxrg'
>       'calibre_5.12.0_tmp_kspp394a' 'calibre_5.12.0_tmp_llj3v9l1'
>       'calibre_5.12.0_tmp_n41oxz8a' 'calibre_5.12.0_tmp_nqsnylff'
>       'calibre_5.12.0_tmp_o8q1up25' 'calibre_5.12.0_tmp_ou7_bpv1'
>       'calibre_5.12.0_tmp_vcw1hd1w' 'calibre_5.12.0_tmp_xh0gp8d4'
> 
> I don't have any source code in my package that includes these file
> names, and searching on the web, it seems like it must be a reference to
> the a debian package for a "powerful and easy to use e-book manager"
> https://packages.debian.org/testing/calibre ?  This seems very unrelated
> to the functionality of the ndtv package, any ideas where these files
> are comming from?
> 
> Thanks for your help!
> best,
>    -skye
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list