Git Product home page Git Product logo

Comments (8)

chrispyles avatar chrispyles commented on September 18, 2024 1

Thanks for the fix @mfansler! @joelostblom can you check if this now works for you on Windows?

from otter-grader.

joelostblom avatar joelostblom commented on September 18, 2024 1

Thank you @mfansler and @chrispyles ! I don't have a windows machine myself, but today I tried installing r-ottr on a student's windows machine with R 4.1 and it worked without issues. I haven't tried the full environment from scratch yet, but I'm assuming that will work well now that there is no longer a conflict with ottr and R 4.1. Thanks again!

from otter-grader.

chrispyles avatar chrispyles commented on September 18, 2024

@joelostblom yes ottr should be compatible with any version of R v4. Where do you see it pinned to >=4.2? The recipe doesn't specify a version for r-base

from otter-grader.

joelostblom avatar joelostblom commented on September 18, 2024

That's odd, a few of my students who are on Windows encountered the following issue, which makes it seem like ottr require >=4.2. Reading the error message again, I realize that maybe it is the first issue of not finding base R 4.3 that leads to the second issue. I will try with a few student in class tomorrow to see if it works when we specify R =4.1 on windows

image

from otter-grader.

joelostblom avatar joelostblom commented on September 18, 2024

I just tried this with a student on their windows machine using R>=4.1 and I see the same error for ottr although the R version is now found correctly. This is the full env file https://github.ubc.ca/MDS-2023-24/DSCI_531_viz-1_students/blob/c8cc61534ec0d4b103d9888a572a3fcf84da90b5/environment.yaml

from otter-grader.

chrispyles avatar chrispyles commented on September 18, 2024

The environment.yml file link is on a github enterprise server which I can't log in to; can you share its contents here?

It looks like there was a bot-created PR in the feedstock repo to make r-ottr compatible with r-base 4.3, but I didn't think it would make it stop accepting lower versions. conda-forge/r-ottr-feedstock#1

from otter-grader.

joelostblom avatar joelostblom commented on September 18, 2024

My bad, here is the full env, it is quite extensive and could probably be reproduced with a subset of these packages but I don't have access to a windows machine to test:

name: '531'
channels:
    - conda-forge
    - r
    - defaults
dependencies:
    - python=3.11.*
    - pip
    - ipykernel
    - nb_conda_kernels
    - otter-grader=5.2.2
    - altair=5.1.2
    - vl-convert-python  # For saving altair charts as static images
    - vegafusion  # For working with charts > 5,000 graphical objects
    - vegafusion-python-embed  # Same as the previous one
    - vegafusion-jupyter  # For working with charts > 100,000 graphical objects
    - vega_datasets  # Altair example data
    - scipy
    - matplotlib
    - panel
    - r-base>=4.1
    - r-essentials
    - r-devtools
    - r-gert
    - r-usethis
    - r-testthat
    - r-startup
    - r-rmarkdown
    - r-stringi
    - r-tidyverse
    - r-hmisc
    - r-rjson
    - r-ottr
    - r-ggally
    - r-ggthemes
    - r-cowplot
    - r-irkernel

from otter-grader.

mfansler avatar mfansler commented on September 18, 2024

Conda R packages build against a specific R version, even if there is no constraint in the recipe. Conda Forge currently defaults to building for R 4.2 and 4.3, plus 4.1 only for Windows (which, yes, is stuck due to outdated build tools). With a pure R ("noarch") package like this, the configuration doesn't build a Windows version and therefore skips the R 4.1 build.

I've added a customization to the build variants (done through a conda_build_config.yaml) to explicitly include a R 4.1 build. It should be available in a couple hours.

from otter-grader.

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.