swirldev / swirl_courses

:mortar_board: A collection of interactive courses for the swirl R package.
http://swirlstats.com
Other
4.3k stars 7.25k forks source link

This question does not work in R 4.3.1 #522

Open dancrosby opened 1 year ago

dancrosby commented 1 year ago

https://github.com/swirldev/swirl_courses/blob/201ccea9d40bd16a3ffa77e5c01e795880793116/R_Programming/Logic/lesson.yaml#L146

I get: Error in TRUE && c(TRUE, FALSE, FALSE) : 'length = 3' in coercion to 'logical(1)'

Possibly related to: https://stackoverflow.com/questions/72848442/r-warning-lengthx-2-1-in-coercion-to-logical1

dancrosby commented 1 year ago

This error also prevents the user from skipping the question, thus they cannot continue with the course.
image

deem-lab commented 1 year ago

Swirl is great, but I have the same issue. In the short term, a patch that allows a user to skip the question would be great. If the concept is important and useful, another way to demonstrate the logic expression would be helpful in the long term.

matias-lee commented 1 year ago

Same issue. Hopefully swirl updates the issue soon!

stuc1fer commented 1 year ago

Same issue.

palekelpie commented 1 year ago

I've also run into the same issue. Additionally, skip() isn't working either. Because of this I can't finish the lesson.

CristinaIDSilva commented 1 year ago

hello, I managed to get around this problem, doing this specific module in Coursera Lab Sandbox.

Mutengooo commented 11 months ago

same problem am facing here... am using the latest version of rstudio and R... am not able to go to the next round even after typing next()

| Keep trying! Or, type info() for more options.

| As you'll see, the && version of AND works differently. Type: TRUE && | c(TRUE, FALSE, FALSE)

TRUE && c(TRUE, FALSE, FALSE) Error in TRUE && c(TRUE, FALSE, FALSE) : 'length = 3' in coercion to 'logical(1)'

skip() Error in TRUE && c(TRUE, FALSE, FALSE) : 'length = 3' in coercion to 'logical(1)'

| Leaving swirl now. Type swirl() to resume.