Open bleach opened 1 year ago
Has this been added? I can't access this lesson for the same error so I'm quite stuck..
Has this been added? I can't access this lesson for the same error so I'm quite stuck..
@kommaqueen no, it has not been fixed, but you can fix it on your machine yourself by finding where swirl is installed and editing the file swirl/Courses/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml
and adding single quotes to line 205, and add single quotes so it looks like this:
Hint: '!is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.'
You should only need to add single quotes; the line should look exactly as above minus the quotes.
This fixes an error that prevents me from loading the "Manipulating Data with dplyr" lesson in the "Getting and Cleaning Data" course.
I'm not the only one suffering from this; it also closes #504 #502 #498
Previously I saw this error:
Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, : (/home/gdb/R/x86_64-pc-linux-gnu-library/4.2/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
It looks as though beginning a string with a '!' became problematic. Fixed by adding single quotes.
@
Has this been added? I can't access this lesson for the same error so I'm quite stuck..
@kommaqueen no, it has not been fixed, but you can fix it on your machine yourself by finding where swirl is installed and editing the file
swirl/Courses/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/lesson.yaml
and adding single quotes to line 205, and add single quotes so it looks like this:
Hint: '!is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.'
You should only need to add single quotes; the line should look exactly as above minus the quotes.
This fixes an error that prevents me from loading the "Manipulating Data with dplyr" lesson in the "Getting and Cleaning Data" course.
I'm not the only one suffering from this; it also closes #504 #502 #498
Previously I saw this error:
Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, : (/home/gdb/R/x86_64-pc-linux-gnu-library/4.2/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
It looks as though beginning a string with a '!' became problematic. Fixed by adding single quotes.
Your answere was quite helpful!
This fixes an error that prevents me from loading the "Manipulating Data with dplyr" lesson in the "Getting and Cleaning Data" course.
I'm not the only one suffering from this; it also closes #504 #502 #498
Previously I saw this error:
Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, : (/home/gdb/R/x86_64-pc-linux-gnu-library/4.2/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
It looks as though beginning a string with a '!' became problematic. Fixed by adding single quotes.