Git Product home page Git Product logo

Comments (3)

burchill avatar burchill commented on June 19, 2024

So it looks like we've found ourselves what could be a rlang bug. The issue doesn't seem to be in my code (whew, close one). Check this out and tell me if you get the same type of error:

fn <- function(expr) {
  rlang::enquo(expr)
}
fn({
  t <- "time"
  t2 <- rlang::sym(t)
  rlang::quo(!!t2)
})

It looks like it has something to do with enquo() trying to turn an expression with the bang-bang operator into a quosure. This definitely isn't the behavior I would expect from rlang, so we'd better file an issue with their repo. Unless you'd like to do it yourself, I'll file a bug report with them and see if I can get to the bottom of it.

Thanks for tagging me on the issue, I'm blown away by how Henrik keeps on packing amazing features into his code (to the point where it seems like they're hard to keep track of!). I've actually been looking for a good progress tracker (for a new package I've been working on), so the progressr package seems great to know about as well.

I think the use cases for catchr are being chipped away a little bit as time goes on by future and other packages, but I still plan on maintaining it, especially while people continue to use it. Thanks for bringing this bug to my attention, and feel free to bring up any other problems/improvements you run into!

from catchr.

burchill avatar burchill commented on June 19, 2024

Can you try installing the dev version (devtools::install_github("burchill/catchr", ref="devel")) and see if this problem still exists for you/if you have any other problems?

If it seems good, I'll release a new version with the fix.

from catchr.

yogat3ch avatar yogat3ch commented on June 19, 2024

Seems to work fine now! Much gratitude to you for rolling out the fix so quickly and to Lionel for giving guidance on the rlang behavior that was creating the issue!

from catchr.

Related Issues (3)

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.