Coder Social home page Coder Social logo

Comments (5)

Bisaloo avatar Bisaloo commented on September 26, 2024 2

I'm happy to do the temporary fixing as described (unless you can think of a better solution?).

No better solution, this sounds like the most sensible option.

Perhaps just opening an issue describing what needs to be done and what the blocker is?

Yes, this sounds good. Although the multiline description felt a bit strange anyways so maybe keeping the # nolint comments there is also an acceptable solution long-term 🤷.

from epinowcast.

Bisaloo avatar Bisaloo commented on September 26, 2024 1

My apologies for breaking this 😞. I see you already self-assigned but let me know if I should deal with it myself since I'm the one who caused it.

For a potential long-term solution, I see there is already a report for this in testthat bug tracker: r-lib/testthat#1900.

#343 should help with the second part but has been stuck for a little while. Let's continue the discussion there on how to move forward.

from epinowcast.

seabbs avatar seabbs commented on September 26, 2024

This shows up as a warning for a new snapshot for snapshots that have a testthat message with a linebreak. Solution for now is to remove those line breaks (and use nolint) and then check the status of all snapshots. I think as part of this we should also look at making warnings cause errors in our CI so that we can more easily detect this in the future.

from epinowcast.

seabbs avatar seabbs commented on September 26, 2024

Oh no it's my bad. I knew this was a problem but completely lost track of it and forgot to document it. I'm happy to do the temporary fixing as described (unless you can think of a better solution?).

Do you have a suggestion for recording that this needs to be fixed once r-lib/testthat#1900 is resolved? Perhaps just opening an issue describing what needs to be done and what the blocker is?

from epinowcast.

seabbs avatar seabbs commented on September 26, 2024

#343 should help with the second part but has been stuck for a little while. Let's continue the discussion there on how to move forward.

Also yes definitely and I am happy with the proposed solution.

FYI having this in place was really helpful for #407 as that needed to not change the environment variables outside of the tests.

from epinowcast.

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.