swirl_courses
swirl_courses copied to clipboard
Problem starting Manipulating Data with dplyr
HI, I can't start the course on manipulating data with deplyr.
This is what I get when trying to start it
| Attempting to load lesson dependencies...
| Package ‘dplyr’ loaded correctly!
Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, : (/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/swirl/Courses/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml) Scanner error: while scanning a tag at line 205, column 9 did not find expected whitespace or line break at line 205, column 19
| Leaving swirl now. Type swirl() to resume.
I have already tried this and this.
Anyone with another idea?
Hi,
From this post: https://github.com/swirldev/swirl_courses/issues/394 , i put a # in the 205 line in the lesson.yaml file and work fine!!!
Hope this help!
@josevillajulca, thank you so much! I'm an R newbie (for now) and this fixed the same issue for me.
Hi guys, I was also facing this issue, and I tried doing something similar to what @josevillajulca did, instead of commenting the whole line 205 (I don't know much of yaml but guessing it will probably make the Hint not appear in the course) I just put the whole text after "Hint" between quotation marks and it solved the issue for me:
Line 205 -> Hint: "!is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA."
Guessing the problem is because of the '!' but just throwing my 2 cents in this! 😄
Something small anyways, i was trying to find a solution and @josevillajulca 's works.
Hi,
From this post: #394 , i put a # in the 205 line in the lesson.yaml file and work fine!!!
Hope this help!
Resolved my issue as well
Hi Guys. So, I'm newbie here. This is my first participation here. First, Thank you for tips from ViniMig and anakeetkuma, but I did the following.
I put after Hint: the word "Try" and worked fine for me!
This should be fixed now: https://github.com/swirldev/swirl_courses/pull/517