[rkward-devel] R CMD check fails on packages requiring rkward

meik michalke meik.michalke at uni-duesseldorf.de
Thu Mar 15 12:28:17 UTC 2012


hi,

am Sonntag 11 März 2012, 09:45:45 schrieb Thomas Friedrichsmeier:
> One pretty reliable way of telling whether the code is really, really
> running in an rkward session is
>    is.loaded("rk.do.generic.request")
> So it would be possible to simply test for that condition inside
> rkward::q(), and call base::q(), if it is not met.

great, i added this to SVN already, and a package check now runs fine :-)

as a side-effect, roxyPackage gained the new option 'Rcmd.options', so in the 
meantime 'Rcmd.options=c(check="--no-examples")' could be used to circumvent 
the problem.

> (While at it, it might also make sense to add a similar check to
> .onAttach(), and issue a warning, when loading the package outside an rkward
> session).

i've just added that, and did some other few adjustments to the package 
(nothing which should affect its functionality, though).


viele grüße :: m.eik

-- 
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20120315/4159b87f/attachment.sig>


More information about the Rkward-devel mailing list