Git Product home page Git Product logo

Comments (4)

nfultz avatar nfultz commented on June 16, 2024

from werner.

aaronrudkin avatar aaronrudkin commented on June 16, 2024

Since I just recursively process the source, I was thinking about doing it by waiting until the current parser hits a *apply call, and then extracting the second argument as though it were a function.

Edit: That won't quite work since people might do the argument by name instead of by order. So it's a little more complicated, but similar premise.

In addition, I currently don't care about anonymous or (not sure the proper name in R) inner functions, so if it ends up being something of the format vapply(junk_data, function(x) { x^3 + 1 }, numeric(1)) I don't really care. I just want to make sure I'm intercepting vapply(junk_data, some_other_package_function, numeric(1)) calls -- and I should be reasonably able to do so. Going forward it would be interesting to actually support nesting in the resulting data structure though!

from werner.

nfultz avatar nfultz commented on June 16, 2024

from werner.

aaronrudkin avatar aaronrudkin commented on June 16, 2024

match.fun didn't work for me (not sure what context I needed that I'm missing) but getAnywhere worked okay -- there are still a few weird issues but it solved the ones I was thinking of.

from werner.

Related Issues (11)

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.