[Rprotobuf-yada] strategy for releasing (e.g. what to do about windows)

Romain Francois romain.francois at dbmail.com
Mon Nov 9 17:05:26 CET 2009


On 11/09/2009 04:51 PM, Dirk Eddelbuettel wrote:
>
>
> On 9 November 2009 at 15:53, Romain Francois wrote:
> | Now requiring Rcpp>= 0.6.7
> |
> | It does not compile, but I guess this is the part you want to fix:
>
> Exactly. Done as r90.
>
> | In the long run, we definitely should use some class encapsulation,
> | rather than plain old SEXP stuff.
> |
> | But right I'm invoking the "it works" excuse, so I'd prefer to write
> | unit tests that stress it out, and then refactor so that we know quickly
> | what we break.
> |
> | That's also why I'd like to release before integrating saptarshi's proto
> | file
>
> Ok.  Tests would indeed be good.
>
> | I don't like or care about windows, but I want this package to be used ...
> |
> | We can release saying : right now it only works on unix systems, but
> | we'd appreciate help to make a windows binary. Maybe Brian Ripley would
> | care to help us, like he does with the XML package IIRC
>
> Works for me. RProtoBuf is for 'real' computers anyway. If someone wants it
> on Windows (and someone will) they can come and offer help.  Let's not waste
> time there now for a 0.1 CRAN release.

Alright. There are a few more things I'd like to do before release, but 
we're not far.

> | Of course not. It does not recurse at all, it just replaces the "virtual
> | path" with the "physical path", paste with the file name and check if it
> | is there.
>
> So if '/' is virtual, why would it not work on Windows? How can we tell
> without testing?

I've replaced the DiskSourceTree with an RSourceTree class which does no 
such mappings and just use the path verbatim, since we take care of 
making the full path on the R side.

Later, we can do funnies like file = "http://somewhere/something.proto" 
and control how we want to stream in the file.

> |>  I think we should respond to an env var RPROTO_TREE_TOP (or some other name)
> |>  and search from there.  Given a dir, we can walk it in either OS.  Doing more
> |>  in a portable manner is an attempt at suicide....
> |
> | I'd prefer avoiding yet another environment variable.
>
> I misunderstood the issue so the suggestion is moot. No env var needed.
>
> Dirk

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw : celebrating R commit #50000
`- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc



More information about the Rprotobuf-yada mailing list