Re: [R-pkg-devel] Using ggplot2 within another package

2021-04-22 Thread Paul SAVARY
Hi Kevin, I was faced to the same problem and I used 'aes_string()' instead of 'aes()'. You can then just write the name of the columns containing the data to plot as character strings. Example: myPlot <- function(myData, ...) { # get ready ggplot(myData, aes_string(x = "myX", y =

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Paul SAVARY
be used because a text file is created in which \n are converted into \r\n, which does not make sens for a binary file. I hope it can help Cheers Paul Savary - PhD Student UMR 6049 ThéMA (Besançon), UMR 6282 Biogéosciences (Dijon), ARP-Astrance (Paris) Phone number : +33.6.30.97.34.27 Research

[R-pkg-devel] Making possible the use of external java codes by downloading it

2020-07-03 Thread Paul SAVARY
Hello everyone, I would like to include external java codes (.jar files) to a package in order to speed up some computations. However, this would increase the package size above 5 Mb and this code would not be working for users without java installation. Instead, I could include a default

Re: [R-pkg-devel] (SOLVED) Warning R-hub Windows Server 2008 : qpdf needed

2020-04-23 Thread Paul SAVARY
/status/graph4lg_0.5.0.tar.gz-6e69d658b38242d0a81efaae5d942be9) Best regards Paul - Mail original - De: "Gábor Csárdi" À: "Paul SAVARY" Cc: "r-package-devel" Envoyé: Mercredi 22 Avril 2020 18:54:32 Objet: Re: [R-pkg-devel] Warning R-hub Windows Server 20

[R-pkg-devel] Warning R-hub Windows Server 2008 : qpdf needed

2020-04-22 Thread Paul SAVARY
. It is, because I have Rtools. Rtools is in my environment path That's the first time I obtain this message, although I checked my package several times on Rhub. I do not obtain similar messages with other checking platforms. I thank you in advance Regards Paul Savary [[alternative

[R-pkg-devel] Error vignette rebuilding and package imports when re-submitting package

2020-04-15 Thread Paul SAVARY
’ ‘doBy’ ‘mclust’ All declared Imports should be used. Except Rdpack which is needed to build the vignette, I removed these packages. Finally, although I submit version 0.4.0, I receive checking errors relative to version 0.3.0. I thank you in advance for your feedbacks. Regards Paul Savary