Please check out the recent thread "Proper CRAN way - How to handle dependency 
of java jar file?” About a week ago - I asked essentially the same questions.

Cheers,

Rainer



> On 3 Jul 2020, at 10:15, Paul SAVARY <paul.sav...@univ-fcomte.fr> wrote:
> 
> 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 parameter in the function calling another 
> R package making the same computation but more slowly. It would be best for 
> users without java on their computer.
> Besides, I could allow users to download the external java code from a stable 
> url, and include in the R function all the arguments to launch this java code 
> (wrapper for the java code). When downloaded, the jar file should be copied 
> directly into the extdata directory in the user computer if possible.
> 
> Does it seem feasible to you? 
> 
> Many thanks 
> Regards
> Paul
> 
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Orcid ID: 0000-0002-7490-0066

Department of Evolutionary Biology and Environmental Studies
University of Zürich
Office Y34-J-74
Winterthurerstrasse 190
8075 Zürich
Switzerland

Office: +41 (0)44 635 47 64
Cell:           +41 (0)78 630 66 57
email:      rainer.k...@uzh.ch
                rai...@krugs.de
Skype:     RMkrug

PGP: 0x0F52F982




        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to