[R-pkg-devel] Problems importing packages with SystemRequirements

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Tue Apr 28 14:08:03 CEST 2020



On 28.04.2020 09:28, fvafrcu using mailbox.org wrote:
> Dear Jeff,
> thanks for your reply,
> I exactly know, where gitr and whoami are called, since I constitently use the
> `::` operator to import from any dependency.
> I am pretty sure that I use those packages for intended purposes only.
> 
> Furthermore, CRAN reports issues for system calls (made by `git2r` and `whoami`, I guess)
> for my package on r-patched-solaris-x86 only, so I am not sure how to reproduce
> them.

Yes, but as SystemRequirements are not alsways fullfilled, you should 
test whether these are available before use.

Best,
Uwe Ligges



> Best,
> Dominik Cullmann
> 
> On Mon, Apr 27, 2020 23:34:40, Jeff Newmiller wrote:
>> Maybe your use of those packages represent use cases that are not tested by those packages. If you pare down your code that triggers these problems to small reproducible examples then you can contribute them to those packages?
>>
>> On April 27, 2020 11:05:49 PM PDT, fvafrcu using mailbox.org wrote:
>>> Dear All,
>>> I maintain a package that has issues
>>> `sh: whoami: not found` and `sh: git: not found`
>>> (see
>>> https://cran.r-project.org/web/checks/check_results_packager.html),
>>> albeit not having any (declared or undeclared) external
>>> dependencies -- no calls to system() or system2().
>>>
>>> It does import functions from CRAN packages `whoami` and `git2r`,
>>> though.
>>> Mysteriously to me, neither
>>> https://cran.r-project.org/web/checks/check_results_git2r.html
>>> nor
>>> https://cran.r-project.org/web/checks/check_results_whoami.html
>>> show any issues.
>>>
>>> Has anybody any clue why this is so?
>>>
>>> Thanks anyway,
>>> Dominik Cullmann
>>>
>>> ______________________________________________
>>> R-package-devel using r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>
>> -- 
>> Sent from my phone. Please excuse my brevity.
> 
>



More information about the R-package-devel mailing list