Code Monkey home page Code Monkey logo

Comments (6)

profandyfield avatar profandyfield commented on July 17, 2024

looks like learnr is trying to process text in a hint as though it were code when rendering the tutorial, which it shouldn't do (or maybe it should ... in which case I need to rewrite my hints).

from discovr.

profandyfield avatar profandyfield commented on July 17, 2024

I've just pushed an update of tutorial 1 with some edits to hints. Any chance you could do a forced reinstall and see what happens when try to run tutorial 1 again. Everything works fine for me, but ...

from discovr.

poldrack avatar poldrack commented on July 17, 2024

different error now:

label: met_name-hint-1
Quitting from lines 401-404 (discovr_01.Rmd) 
Error in parse(text = x, srcfile = src) : 
  <text>:4:0: unexpected end of input
2: 
3: name <- 
  ^
Calls: sourceWithProgress ... <Anonymous> -> parse_all -> parse_all.character -> parse
Execution halted

from discovr.

poldrack avatar poldrack commented on July 17, 2024

BTW - now when I restart Rstudio it automatically starts the tutorial window. is there a way to clear that out?

from discovr.

profandyfield avatar profandyfield commented on July 17, 2024

turns out I hadn't put library(learnr) in the setup code chunk of each tutorial. That's why hints were being processed as code. It's been a long few weeks ...

I've just pushed updates to all tutorials, so if you reinstall, hopefully you're good to go. Thanks for spotting this problem and pointing it out.

To stop the tutorial there's a red stop button in the tutorial window which should deactivate it and take you back to the list of available tutorials.

from discovr.

poldrack avatar poldrack commented on July 17, 2024

from discovr.

Related Issues (19)

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.