[R-pkg-devel] About dataset in my own package

2020-04-06 Thread jared_wood
Dear all, I have three datasets (drugbank.rda edgar.rda mala.rda) in my package and I put them in the document folder which called “data”. And I just use the dataset in the function. However, here comes a note: drugbank_disease_gene: no visible binding for global variable 'drugbank'

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Jeff Newmiller
One could take the position that the library and require functions were a mistake to begin with and that all contributed packages should be accessed using ::... or one could recognize that these functions are an expected feature of R at this point and then it is not defensible to ban the propos

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Duncan Murdoch
On 06/04/2020 11:25 a.m., Stefan Lenz IMBI wrote: Yes, as I wrote earlier, I would like to imitate the behaviour of loading an R package juliaUsing("SomeJuliaPackage") # exports myJuliaFunction myJuliaFunction() like R: library("MyRPackage") # exports myRFunction myRFunction() I coul

Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-06 Thread renozao
Hi, following up on this. Has anybody encountered this issue or could give some insights on it? Is there anything I can do here, except avoiding using Matrix in the union class? Thanks [[alternative HTML version deleted]] __ R-package-devel@r-p

Re: [R-pkg-devel] attach

2020-04-06 Thread Duncan Murdoch
On 06/04/2020 10:59 a.m., Ben Bolker wrote: Fair enough. I'm going to derail/repurpose this thread to ask a couple of questions about attach(). I have often used with() for situations where I want to evaluate a bunch of expressions with the elements of a parameter vector, e.g. inside a

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Stefan Lenz IMBI
Yes, as I wrote earlier, I would like to imitate the behaviour of loading an R package juliaUsing("SomeJuliaPackage") # exports myJuliaFunction myJuliaFunction() like R: library("MyRPackage") # exports myRFunction myRFunction() I could return an environment, such that the call becomes at

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Stefan Lenz IMBI
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 f

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Duncan Murdoch
On 06/04/2020 10:49 a.m., Dirk Eddelbuettel wrote: 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, plea

[R-pkg-devel] attach

2020-04-06 Thread Ben Bolker
Fair enough. I'm going to derail/repurpose this thread to ask a couple of questions about attach(). I have often used with() for situations where I want to evaluate a bunch of expressions with the elements of a parameter vector, e.g. inside a gradient function for deSolve::ode(). However,

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Dirk Eddelbuettel
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. Tru

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Ben Bolker
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. cheers Ben Bolker On Mon, Apr 6, 2020 at 8:28 AM S

[R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Stefan Lenz IMBI
Dear all, I just submitted the new package "JuliaConnectoR" to CRAN. (See https://github.com/stefan-m-lenz/JuliaConnectoR ) The submission does not pass the automatic checks because of two notes (see below). One note is simply that I am a new submitter. The other note is because of the the use of