Giter Club home page Giter Club logo

Comments (5)

eirini-zormpa avatar eirini-zormpa commented on July 23, 2024

Thank you so much for the heads-up @ndporter ✨ Those examples would be super useful, could you explain what you mean when you say you're having trouble upgrading? Are you having issues with installing the latest lubridate version or are you having issues with pull requests etc. on GitHub?

from r-socialsci.

zkamvar avatar zkamvar commented on July 23, 2024

I'm just popping in to comment that this is a perfect illustration of a situation where The Workbench is helpful.

The 2020 bug is in version 1.8, not 1.9.

The reason I know is because this is built with version 1.9: https://preview.carpentries.org/r-socialsci/02-starting-with-data.html#cb67 (as recorded in the renv.lock file for r-socialsci) and it shows the correctly parsed years:

output block with the dates "2012-07-31" "2014-08-09" "2016-04-30"

To test the differences, I ran the following to download a copy of the lesson and roll back the version of lubridate (without affecting my own global version)

# download the beta test from GitHub to my computer and open it
usethis::create_from_github("fishtree-attempt/r-socialsci")
# roll back lubridate to version 1.8.0
sandpaper::pin_version("[email protected]")
# preview the lesson
sandpaper::serve()

output block with the dates "2020-07-31" "2020-08-09" "2020-04-30"

from r-socialsci.

ndporter avatar ndporter commented on July 23, 2024

Perfect. I was going to try and do something similar once I wasn't mid-workshop but you beat me to it (and I do love the workbench version). At any rate, that is right and we do need to eventually adjust the lesson (maybe just remove that bit, since it's inconsistent)?

from r-socialsci.

juanfung avatar juanfung commented on July 23, 2024

closing as this should be resolved by move to workbench, unless anyone thinks an edit is needed?

from r-socialsci.

eirini-zormpa avatar eirini-zormpa commented on July 23, 2024

sounds good to me!

from r-socialsci.

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.