Comments (7)
I think I have an idea, I'll take a look at this later today and update here
from dsbox.
Are you observing this when running locally or on the deployed tutorial here?
from dsbox.
Give it a try here. I think the gradethis update solved the issue.
from dsbox.
Ok I think that's because we're using grade_code()
there that seems too strict a check for this, especially without scaffolding. I can change that to be something more flexible, but good to know that odd error is gone now.
from dsbox.
Ok that particular one is fixed. I'll close this now but opened #11 for other places where grade_code()
might be too restrictive
from dsbox.
Sorry, the issue is also occurring with the exercises snap-insta-var, advfront2-var, and polviews2-var. The error occurs when, for example, the solution specifies case_when() but the user inputs if_else(), or vice versa.
I can try to fix these myself if you explain the line identical(as.character(.result[1,10]), "720")
that you added to grade_result in the last commit. The gradethis demo examples nearly all use .result
objects that refer to basic things like integers. So I'm not sure what .result
is in a more complex example, and how to check it.
from dsbox.
Nevermind, figured it out. Will work on fixes for the remaining exercises.
from dsbox.
Related Issues (12)
- La Quinta + Denny's + Evals HOT 1
- grade_code() might be too strict in many cases HOT 1
- 07-exploregss.Rmd modeling exercise missing solution HOT 1
- Rebuild in R 3.5 HOT 1
- Unable to install tutorial "demar01/penguinsbox" HOT 2
- problema en la instalación de penguinsbox HOT 1
- Move `master` branch to `main` HOT 1
- Exercise set ups in dcbikeshare HOT 1
- 'accidents' data dictionary doesn't specify levels for `urban_rural`
- Package ‘dsbox’ is not available for latest R version HOT 1
- Write docs for dennys and laquinta
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsbox.