[Rcpp-devel] Fwd: latest incompatible changes for package developers?
Romain Francois
romain at r-enthusiasts.com
Fri Nov 16 23:54:08 CET 2012
Le 16/11/12 23:51, baptiste auguie a écrit :
> Hi Romain, Dirk, all,
>
> Thanks for the quick replies. I think the list problem was due to a
> change in my gmail address (from "googlemail"); still puzzling that I
> didn't get a warning.
>
> Hopefully someone can figure out why a function that returned an arma
> matrix has now become a vector: I've posted a minimal package on dropbox,
>
> https://dl.dropbox.com/u/352834/cda_1.2.1.tar.gz
>
> with a test in inst/testing that used to return a 3x3 matrix (Euler
> rotation), now a vector after the Rcpp update.
>
>
> The lesson for me is that I should really get into a proper testing
> framework. In the meantime, I'll be writing a few tests with Hadley's
> testthat.
>
> All the best,
>
> baptiste
I'm looking at this issue now. Thanks for providing the example with
euler. This is helpful.
> On 17 November 2012 11:20, Romain Francois <romain at r-enthusiasts.com
> <mailto:romain at r-enthusiasts.com>> wrote:
>
> First time I see this email.
>
> Sorry your package does not work.
>
> R CMD check --no-vignettes worked. (this is how I tested), but
> indeed something in the vignette makes it crash. I guess I should
> check the vignettes too :/
>
> I get an error in demo(dimer_linear)
>
> regarding something that does not look like it is related to Rcpp,
> in this mdply call :
>
> comparison <- mdply(params, onedimer, .progress="none")
>
> Not sure what the next steps are ...
>
> Romain
>
> Le 16/11/12 22:56, baptiste auguie a écrit :
>
> Hi,
>
> Forwarded to you directly just in case it never makes it to the
> list for
> whatever reason (shouldn't I get an error message if it it is
> bounced?)
>
> Best,
>
> baptiste
>
> ---------- Forwarded message ----------
> From: *baptiste auguie* <baptiste.auguie at gmail.com
> <mailto:baptiste.auguie at gmail.com>
> <mailto:baptiste.auguie at gmail.__com
> <mailto:baptiste.auguie at gmail.com>>>
> Date: 17 November 2012 09:29
> Subject: Fwd: latest incompatible changes for package developers?
> To: rcpp-devel <rcpp-devel at r-forge.wu-wien.__ac.at
> <mailto:rcpp-devel at r-forge.wu-wien.ac.at>
> <mailto:rcpp-devel at r-forge.wu-__wien.ac.at
> <mailto:rcpp-devel at r-forge.wu-wien.ac.at>>>
>
>
> Not sure what happened to this email I sent yesterday; I can't
> find it
> in the list archives?
>
> Thanks,
> b.
>
>
> ---------- Forwarded message ----------
> From: *baptiste auguie* <baptiste.auguie at gmail.com
> <mailto:baptiste.auguie at gmail.com>
> <mailto:baptiste.auguie at gmail.__com
> <mailto:baptiste.auguie at gmail.com>>>
> Date: 16 November 2012 09:18
> Subject: latest incompatible changes for package developers?
> To: rcpp-devel <rcpp-devel at lists.r-forge.r-__project.org
> <mailto:rcpp-devel at lists.r-forge.r-project.org>
> <mailto:rcpp-devel at lists.r-__forge.r-project.org
> <mailto:rcpp-devel at lists.r-forge.r-project.org>>>
>
>
> Dear list,
>
> I haven't yet had time to read much about the new exciting changes
> introduced in Rcpp 0.10, but I got an email from B. Ripley this
> morning
> warning me that my cda package* was broken as a result of this CRAN
> update. It uses modules and RcppArmadillo.
> Indeed, a quick glance at the broken demos after having updated the
> package suggest that most if not all my functions are currently
> broken.
> Is there a specific document I should read first to speed up this
> recovery and be compatible with the new version? How much change
> should
> I expect?
>
> Thanks.
> All the best,
>
> baptiste
>
> * https://github.com/baptiste/__cda
> <https://github.com/baptiste/cda>
> http://cran.r-project.org/web/__packages/cda/index.html
> <http://cran.r-project.org/web/packages/cda/index.html>
>
>
>
>
> --
> Romain Francois
> Professional R Enthusiast
> +33(0) 6 28 91 30 30 <tel:%2B33%280%29%206%2028%2091%2030%2030>
>
> R Graph Gallery: http://gallery.r-enthusiasts.__com
> <http://gallery.r-enthusiasts.com>
> `- http://bit.ly/SweN1Z : SuperStorm Sandy
>
> blog: http://romainfrancois.blog.__free.fr
> <http://romainfrancois.blog.free.fr>
> |- http://bit.ly/RE6sYH : OOP with Rcpp modules
> `- http://bit.ly/Thw7IK : Rcpp modules more flexible
>
>
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
R Graph Gallery: http://gallery.r-enthusiasts.com
`- http://bit.ly/SweN1Z : SuperStorm Sandy
blog: http://romainfrancois.blog.free.fr
|- http://bit.ly/RE6sYH : OOP with Rcpp modules
`- http://bit.ly/Thw7IK : Rcpp modules more flexible
More information about the Rcpp-devel
mailing list