On 28/09/2014 14:09, Duncan Murdoch wrote:
On 28/09/2014, 8:47 AM, Viechtbauer Wolfgang (STAT) wrote:
Suppose I have a function funcA() in package pkgA that requires function
funcB() from another package pkgB under certain circumstances. Those
circumstances are rare though, so I put package pk
On 28/09/2014, 8:47 AM, Viechtbauer Wolfgang (STAT) wrote:
> Suppose I have a function funcA() in package pkgA that requires function
> funcB() from another package pkgB under certain circumstances. Those
> circumstances are rare though, so I put package pkgB under 'Suggests', and
> use this in
Suppose I have a function funcA() in package pkgA that requires function
funcB() from another package pkgB under certain circumstances. Those
circumstances are rare though, so I put package pkgB under 'Suggests', and use
this in funcA() when those circumstances do arise:
if (require("pkgB", qui