[rkward-devel] first RKWard enhancer on CRAN

meik michalke meik.michalke at uni-duesseldorf.de
Thu Sep 29 17:26:48 UTC 2011


hi,

am Mittwoch 14 September 2011 (18:42) schrieb Thomas Friedrichsmeier:
> 2. Having to specify all the <about> information as the very first step
> may  look a bit scary. It would be nice, if this could be simplified some
> further.

this is completely optional now for skeleton creation, so about=NULL is ok. it 
will skip the creation of the DESCRIPTION file and therefore the package 
cannot be built, though.

> 3. .tar.gzipping the created folder should be easy enough, but just to
> make  this really obvious, I suggest wrapping this step into an additional
> function rk.create.package() (or rk.package.plugin(), or whatever).

there is now rk.build.plugin(). i also changed the return value of 
rk.plugin.skeleton() from invisible(NULL) to the plugin directory, to make 
this possible:

  plugin.dir <- rk.plugin.skeleton("MyPlugin", dialog=my.dialog)
  rk.build.plugin(plugin.dir)

> Later, that function could also be extended to do some checks on the package
> (e.g. for completeness of <about>-info, existence of automated tests,
> etc.).

i implemented some simple checking for package validity on the R level now 
already (check=TRUE), but the rest is yet to come.


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/20110929/f051d1cf/attachment.sig>


More information about the Rkward-devel mailing list