[rkward-devel] first RKWard enhancer on CRAN

meik michalke Meik.Michalke at uni-duesseldorf.de
Wed Sep 14 15:22:02 UTC 2011


hi,

Am Dienstag, 13. September 2011, 19:59:50 schrieb Thomas Friedrichsmeier:
> Either way, you can access the project web space as
> sftp://USERNAME,rkward@web.sourceforge.net/home/groups/r/rk/rkward/htdocs/

ok, that will work.

btw., can we safely remove the "delete_this_folder..." folder there?

> I'm not sure, what this is for, but I guess it's probably meant for
> complete GUIs. Also, I'm not sure, whether I understand the description
> correctly, but it sounds to me like this would require a custom makefile
> in all cases?

i read it as "if there's a makefile it does this, otherwise it just doesn't". 
but i'll try to shed some light on this.

> Ok, ideally, in the mid term, we should have (a) script(s) that developers
> can use to add / update / remove packages in the repository in a mostly
> automated fashion. How much of that does your roxyPackage-package cover,
> yet?

in theory it can do all of that, except for uploading to the repo. the problem 
is that in order to create a usable PACKAGES file for the actual repo, all 
packages which should be available must be present in the scanned folder. so 
you'd either have to run the command on the server, or have an up-to-date 
local copy of the full repo. my guess is that we should probably assign one 
person as the repository maintainer, and since i was volunteering for that in 
good old GHNS times, i'd offer myself for this job, too ;-) so developers 
would just need to provide me with the package source file and i'll sync it 
with the repository.

actually CRAN works similar: you upload your package to an incoming FTP folder 
and send an e-mail. each package is then manually checked and released.

then, you wouldn't need roxyPackage as a plugin developer, because 
rk.plugin.skeleton() in rkwarddev already creates R package skeletons, so once 
you tar.gzipped the reated root folder, you'd have an installable package 
source archive.

try this, it only takes a minute:

1. in RKWard:
  library(rkwarddev)
  ?rk.plugin.skeleton
then just execute the first example, so /tmp/SquaretheCircle is created.

2. in a shell:
  cd /tmp/
  R CMD build SquaretheCircle

3. that's it. you can then install the created plugin package:
  R CMD INSTALL SquaretheCircle_0.1-3.tar.gz
or add it to the repo.

between 1. and 2., you would usually work on the plugin files. the second 
example in ?rk.plugin.skeleton shows how to create a skeleton with a more 
predefined layout.


viele grüße :: m.eik

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


More information about the Rkward-devel mailing list