Displaying 1 result from an estimated 1 matches for "optimizedcode".
2006 Aug 29
0
'CanMakeUseOf' field [was ".. Add 'fields' argument ..]
...eUseOf field
is added, then why would one choose to use Suggests at all? That is, is
there an advantage to requiring that the user have a package available
(to pass R CMD check) even if they do not need to load it to get
functionality?
I occasionally write functions of the form:
if (require(pkg)) optimizedCode() else regularCode()
which works better for users who have installed additional packages, but
does not fail if the user has not. Such a field would be a nice addition
to inform users that getting an additional package might be
advantageous.
Cheers,
Robert
-----Original Message-----
From: r-devel-...