Git Product home page Git Product logo

Comments (10)

coatless avatar coatless commented on May 21, 2024 1

I think this issue can be closed out of the Rcpp tracker as the project has taken root over at Rcpp11/attributes.

Please close. (Tagging #506)

from rcpp.

romainfrancois avatar romainfrancois commented on May 21, 2024

@jjallaire what would you think about factoring (part of) attributes in a standalone R package.

from rcpp.

jjallaire avatar jjallaire commented on May 21, 2024

I think that's a reasonable idea, but it is going to make maintaining and
updating Rcpp on CRAN more complicated (i.e. might require more
synchronized releases like the recent Rcpp & RcppArmadillo one).

Is there another way to allow Rcpp to use attributes in it's implementation
such as arranging for Makevars to call an R script to pre-process source
files? If so that might be the best of both worlds.

On Sat, Nov 9, 2013 at 2:15 AM, Romain François [email protected]:

@jjallaire https://github.com/jjallaire what would you think about
factoring (part of) attributes in a standalone R package.


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28121747
.

from rcpp.

romainfrancois avatar romainfrancois commented on May 21, 2024

chicken and the egg problem, if attributes are in Rcpp and we need attributes to build Rcpp, then we need Rcpp to build Rcpp ...

from rcpp.

jjallaire avatar jjallaire commented on May 21, 2024

I'm thinking that you might have an R script within the package that could
be sourced and invoked by Makevars. i.e. you could have an R code
dependency but not a package dependency on the attributes implementation.

That might be impossible or undesirable for many reasons I'm not
considering though.

On Sun, Nov 10, 2013 at 8:41 AM, Romain François
[email protected]:

chicken and the egg problem, if attributes are in Rcpp and we need
attributes to build Rcpp, then we need Rcpp to build Rcpp ...


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28150768
.

from rcpp.

romainfrancois avatar romainfrancois commented on May 21, 2024

Working on this separately on the https://github.com/RcppCore/attributes repo.

from rcpp.

jjallaire avatar jjallaire commented on May 21, 2024

I'm wondering if factoring attributes into their own package will force users of Rcpp to do this:

LinkingTo: Rcpp, attributes

Is that correct? If so I think that's an unfortunate side effect of splitting them out. I continue to think that if there is a way to keep the code inside Rcpp but still achieve the extensibility and Rcpp build enhancements you are seeking that would be best.

from rcpp.

romainfrancois avatar romainfrancois commented on May 21, 2024

Not sure we would need to add attributes to LinkingTo. I certainly would not like that either.

One of the reason I'd like attributes to be apart is that the Rcpp package is no longer the only Rcpp implementation. It would be nice to be able to benefit from changes in attributes from either Rcpp or Rcpp11, and perhaps Rcpp98

from rcpp.

jjallaire avatar jjallaire commented on May 21, 2024

I am less concerned about this now that I understand that libRcpp.so is
still around (I had previously thought that LinkingTo would imply a
build-time only dependency and that the user might need an extra Depends or
LinkingTo to pull in the attributes package explicitly).

On Fri, Nov 15, 2013 at 4:10 PM, Romain François
[email protected]:

Not sure we would need to add attributes to LinkingTo. I certainly would
not like that either.

One of the reason I'd like attributes to be apart is that the Rcpppackage is no longer the only
Rcpp implementation. It would be nice to be able to benefit from changes
in attributes from either Rcpp or Rcpp11, and perhaps Rcpp98


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-28603582
.

from rcpp.

romainfrancois avatar romainfrancois commented on May 21, 2024

I'm moving this to the next milestone. I think the "header mostly" feature on its own is enough material for a new release.

from rcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.