ropensci / babette

babette is an R package to work with BEAST2
https://docs.ropensci.org/babette
GNU General Public License v3.0
44 stars 6 forks source link

Fix 'Package babette_2.3.tar.gz has been built for Windows - with a WARNING' #100

Closed richelbilderbeek closed 2 years ago

richelbilderbeek commented 3 years ago

Email title: Package babette_2.3.tar.gz has been built for Windows - with a WARNING

Dear package maintainer,

this notification has been generated automatically.
Your package babette_2.3.tar.gz did pass 'R CMD check' only with WARNING(s).
R version 4.1.1 (2021-08-10)

All the best,
Uwe Ligges
(Maintainer of binary packages for Windows)

Attached log:

* using log directory 'd:/Rcompile/CRANpkg/local/4.1/babette.Rcheck'
* using R version 4.1.1 (2021-08-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'babette/DESCRIPTION' ... OK
* this is package 'babette' version '2.3'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'babette' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [4s] OK
* checking Rd files ... [1s] OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... [3s] OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking re-building of vignette outputs ... [6s] WARNING
Error(s) in re-building vignettes:
--- re-building 'demo.Rmd' using rmarkdown
Quitting from lines 21-34 (demo.Rmd) 
Error: processing vignette 'demo.Rmd' failed with diagnostics:
Files found in beautier folder. 
beautier_folder: C:\Users\CRAN\AppData\Local/beautier/beautier/Cache 
length(list.files(beautier_folder))): 3 
head(list.files(beautier_folder)): C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file13670ff35c02,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file178c45757dd,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/fileb9f87bd32678
--- failed re-building 'demo.Rmd'

--- re-building 'examples.Rmd' using rmarkdown
Quitting from lines 20-22 (examples.Rmd) 
Error: processing vignette 'examples.Rmd' failed with diagnostics:
Files found in beautier folder. 
beautier_folder: C:\Users\CRAN\AppData\Local/beautier/beautier/Cache 
length(list.files(beautier_folder))): 3 
head(list.files(beautier_folder)): C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file13670ff35c02,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file178c45757dd,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/fileb9f87bd32678
--- failed re-building 'examples.Rmd'

--- re-building 'nested_sampling.Rmd' using rmarkdown
Quitting from lines 20-22 (nested_sampling.Rmd) 
Error: processing vignette 'nested_sampling.Rmd' failed with diagnostics:
Files found in beautier folder. 
beautier_folder: C:\Users\CRAN\AppData\Local/beautier/beautier/Cache 
length(list.files(beautier_folder))): 3 
head(list.files(beautier_folder)): C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file13670ff35c02,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file178c45757dd,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/fileb9f87bd32678
--- failed re-building 'nested_sampling.Rmd'

--- re-building 'step_by_step.Rmd' using rmarkdown
Quitting from lines 20-23 (step_by_step.Rmd) 
Error: processing vignette 'step_by_step.Rmd' failed with diagnostics:
Files found in beautier folder. 
beautier_folder: C:\Users\CRAN\AppData\Local/beautier/beautier/Cache 
length(list.files(beautier_folder))): 3 
head(list.files(beautier_folder)): C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file13670ff35c02,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file178c45757dd,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/fileb9f87bd32678
--- failed re-building 'step_by_step.Rmd'

--- re-building 'tutorial.Rmd' using rmarkdown
Quitting from lines 21-23 (tutorial.Rmd) 
Error: processing vignette 'tutorial.Rmd' failed with diagnostics:
Files found in beautier folder. 
beautier_folder: C:\Users\CRAN\AppData\Local/beautier/beautier/Cache 
length(list.files(beautier_folder))): 3 
head(list.files(beautier_folder)): C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file13670ff35c02,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/file178c45757dd,C:\Users\CRAN\AppData\Local/beautier/beautier/Cache/fileb9f87bd32678
--- failed re-building 'tutorial.Rmd'

SUMMARY: processing the following files failed:
  'demo.Rmd' 'examples.Rmd' 'nested_sampling.Rmd' 'step_by_step.Rmd'
  'tutorial.Rmd'

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... OK
* DONE
Status: 1 WARNING
richelbilderbeek commented 3 years ago

It appears at each start of each vignette there are files found. On Windows only. The error cannot be reproduced with rhub.

Time to be more ruthless ...

richelbilderbeek commented 2 years ago

Works nowadays:-)