Skip to content
Prev 5272 / 12125 Next

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

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 proposed approach of importing names as Stefan wants to. I don't think it is fair to require this higher level of specificity just because it involves use of attach.

That said, another feature of R packages is the integrated help system... importing Julia functions wholesale may lead to problems with consistency in navigating the help files. IMO it may be justifiable to ban this particular syntactic convenience to maintain some separation in the minds of users looking for help on these new functions, since the syntactic and semantic structure of functions from another language may not align well with normal R functions. But I am not familiar with Julia or Stefan's package or the support it brings in this area... I just disagree with banning a "library" lookalike function "just because" it happens to involve attach.
On April 6, 2020 8:40:12 AM PDT, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: