[R-pkg-devel] How to remove rJava from Ecfun when it's not called directly or indirectly
Hello, All: "R CMD check Ecfun_0.2-4.tar.gz" fails under Windows 10 with "Error: package or namespace load failed for 'Ecfun': .onLoad failed in loadNamespace() for 'rJava'". However, I cannot find where Ecfun calls rJava. This is in: https://github.com/sbgraves237/Ecfun I get nothing from "grep 'rJava'" in the DESCRIPTION and NAMESPACE files plus in the man and R subdirectories. I ran tools:package_dependencies recursively starting with Ecfun until I got all NULLs and could not find rJava anywhere. Thanks, Spencer Graves 00install.out * installing *source* package 'Ecfun' ... ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location *** arch - i386 Error: package or namespace load failed for 'Ecfun': .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'C:/Program Files/R/R-4.0.2/library/rJava/libs/i386/rJava.dll': LoadLibrary failure: %1 is not a valid Win32 application. Error: loading failed Execution halted *** arch - x64 ERROR: loading failed for 'i386' * removing 'C:/Users/spenc/Documents/R/Ecfun/Ecfun.Rcheck/Ecfun' 00check.log * using log directory 'C:/Users/spenc/Documents/R/Ecfun/Ecfun.Rcheck' * using R version 4.0.2 (2020-06-22) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Ecfun/DESCRIPTION' ... OK * this is package 'Ecfun' version '0.2-4' * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Ecfun' can be installed ... ERROR Installation failed. See 'C:/Users/spenc/Documents/R/Ecfun/Ecfun.Rcheck/00install.out' for details. * DONE Status: 1 ERROR __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Static vignettes / bibtex warning in Debian
That WARNING is unlikely to be related to the vignette. The problem is that you have Depends/Imports/Suggests for some R package that does the same for the bibtex package (possibly with one ore more other indirect steps). Since this is only on one platform, it's probably not something you need to worry about: that other package has probably been updated to drop the bibtex dependence, but Debian hasn't got the update yet. I don't know how you determine which is the "guilty" package. Maybe there are more hints in the check log? Duncan Murdoch On 10/10/2020 12:53 p.m., Candia, Julian (NIH/NCI) [E] via R-package-devel wrote: Hello, I’m trying to include a static vignette by embedding a pdf document in latex. The procedure is very simple and is discussed here: http://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package It essentially boils down to creating a .Rnw file with the following content: \documentclass{article} \usepackage{pdfpages} %\VignetteIndexEntry{author2019mypaper} \begin{document} \includepdf[pages=-, fitpaper=true]{mypaper.pdf} \end{document} I built and checked the package with no issues. However, upon uploading to CRAN, Debian generates 1 warning: Flavor: r-devel-linux-x86_64-debian-gcc Check: package dependencies, Result: WARNING Requires (indirectly) orphaned package: 'bibtex' I don’t know how to go around this issue. Essentially: how to add a static (pdf) vignette to a package that will pass all CRAN checks? Your advice is much appreciated. Thanks, Julián [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Static vignettes / bibtex warning in Debian
Hello, I’m trying to include a static vignette by embedding a pdf document in latex. The procedure is very simple and is discussed here: http://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package It essentially boils down to creating a .Rnw file with the following content: \documentclass{article} \usepackage{pdfpages} %\VignetteIndexEntry{author2019mypaper} \begin{document} \includepdf[pages=-, fitpaper=true]{mypaper.pdf} \end{document} I built and checked the package with no issues. However, upon uploading to CRAN, Debian generates 1 warning: Flavor: r-devel-linux-x86_64-debian-gcc Check: package dependencies, Result: WARNING Requires (indirectly) orphaned package: 'bibtex' I don’t know how to go around this issue. Essentially: how to add a static (pdf) vignette to a package that will pass all CRAN checks? Your advice is much appreciated. Thanks, Julián [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel