Dear all,
I am checking a package with DESCRIPTION dependencies:
Depends:
R (>= 4.1.0)
Imports:
keras,
R6,
reticulate,
tensorflow
I am getting a note:
? checking for detritus in the temp directory ... NOTE
Found the following files/directories:
?__autograph_generated_file3jcyufy7.py?
?__autograph_generated_file4blbq_bi.py?
?__autograph_generated_file6dur53sj.py?
?__autograph_generated_filerj3ohibl.py? ?__pycache__?
I have found these previous discussions, but they seem different from my case.
https://stat.ethz.ch/pipermail/r-package-devel/2020q3/005698.html
https://stat.ethz.ch/pipermail/r-package-devel/2021q1/006477.html
https://stat.ethz.ch/pipermail/r-package-devel/2019q4/004626.html
https://stat.ethz.ch/pipermail/r-package-devel/2020q4/006161.html
I think the temp files are from tensorflow. There is a vignette in the package that constructs a keras
Model. Is it possible to avoid the check NOTE in my package?
Kind Regards,
Pantelis
[R-pkg-devel] R CMD check: checking for detritus in the temp directory
3 messages · pik@pp@@devei m@iii@g oii gm@ii@com, Ivan Krylov
2 days later
? Thu, 8 Jun 2023 14:34:03 +0200 <pikappa.devel at gmail.com> ?????:
I think the temp files are from tensorflow. There is a vignette in the package that constructs a keras Model. Is it possible to avoid the check NOTE in my package?
Other CRAN packages seem to remove these files (generated by tensorflow.autograph) manually: https://github.com/cran/vetiver/blob/35b24768cf0e84fab96610e001bba377dc777953/tests/testthat/setup.R#L13 https://github.com/cran/reservr/blob/98628416ba8d6a5f8f4c93682328f6a171bcd86d/tests/testthat/test-zzz.R#L6
Best regards, Ivan
Thanks a lot; I am going to try this out. Kind Regards, Pantelis -----Original Message----- From: Ivan Krylov <krylov.r00t at gmail.com> Sent: Sunday, June 11, 2023 12:41 PM To: pikappa.devel at gmail.com Cc: r-package-devel at r-project.org Subject: Re: [R-pkg-devel] R CMD check: checking for detritus in the temp directory ? Thu, 8 Jun 2023 14:34:03 +0200 <pikappa.devel at gmail.com> ?????:
I think the temp files are from tensorflow. There is a vignette in the package that constructs a keras Model. Is it possible to avoid the check NOTE in my package?
Other CRAN packages seem to remove these files (generated by tensorflow.autograph) manually: https://github.com/cran/vetiver/blob/35b24768cf0e84fab96610e001bba377dc777953/tests/testthat/setup.R#L13 https://github.com/cran/reservr/blob/98628416ba8d6a5f8f4c93682328f6a171bcd86d/tests/testthat/test-zzz.R#L6 -- Best regards, Ivan