[R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0
Stefan Lenz IMBI
|enz @end|ng |rom |mb|@un|-|re|burg@de
Mon Apr 6 17:10:52 CEST 2020
My case is a little bit different from the use of global variables for data described in the Stackoverflow post.
I import a data base which contains function names of Julia functions from a Julia package.
This is analogous to loading a package in R.
The goal is to make it possible to call Julia functions like R functions.
If you call library(...) in R then the functions contained in the package are also available in the global search path.
In this case it doesn't make sense to use "with".
I am open to suggestions how I can change it to make it better, but the goal is really to be able to write
juliaUsing("SomeJuliaPackage") # exports myJuliaFunction
same as you would write
library("MyRPackage") # exports myRFunction
Von: Dirk Eddelbuettel [edd using debian.org]
An: Ben Bolker [bbolker using gmail.com]
Kopie: Stefan Lenz IMBI [lenz using imbi.uni-freiburg.de], List r-package-devel [r-package-devel using r-project.org]
Datum: Mon, 6 Apr 2020 09:49:49 -0500
> On 6 April 2020 at 08:38, Ben Bolker wrote:
> | Just reply to the CRAN maintainers and explain this situation. It¨s
> | slightly buried, but the e-mail you received does say:
> | > If you are fairly certain the rejection is a false positive, please reply-all
> to this
> | > message and explain.
> True, but this misses the "Letter of the law" versus the "Spirit of the law".
> It might be worth mentioning that use of attach() is seen, to find one poor
> analogy, pretty much like use of global variables these days. "Just because
> you could does not mean you should".
> See e.g. one of the first google hits for 'r do not use attach' here:
Institut für Medizinische Biometrie und Statistik
Medizinische Fakultät / Universitätsklinikum Freiburg
Postadresse: Stefan-Meier-Str. 26, 79104 Freiburg
E-Mail: lenz using imbi.uni-freiburg.de
More information about the R-package-devel