Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running "Manipulating Data with dplyr" under Getting and Cleaning Data #514

Closed
smallpotatopublichealth opened this issue Jan 31, 2023 · 3 comments

Comments

@smallpotatopublichealth

I got this error message when running the lesson:

| Attempting to load lesson dependencies...

| Package ‘dplyr’ loaded correctly!

Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, :
(C:/Users/user/AppData/Local/R/win-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
In addition: Warning message:
tbl_df() was deprecated in dplyr 1.0.0.
ℹ Please use tibble::as_tibble() instead.
ℹ The deprecated feature was likely used in the swirl package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

@joakimlinde
Copy link

I have the same problem with swirl when trying to run the 'Manipulating Data with dplyr' section. I get the following error message from swirl (on a mac):

library(swirl)

| Hi! I see that you have some variables saved in your workspace.
| To keep things running smoothly, I recommend you clean up before
| starting swirl.

| Type ls() to see a list of the variables in your workspace.
| Then, type rm(list=ls()) to clear your workspace.

| Type swirl() when you are ready to begin.

swirl()

| Welcome to swirl! Please sign in. If you've been here before,
| use the same name as you did then. If you are new, call yourself
| something unique.

What shall I call you?

| Please choose a course, or type 0 to exit swirl.

1: Getting and Cleaning Data
2: R Programming
3: Take me to the swirl course repository!

Selection: 1

| Please choose a lesson, or type 0 to return to course menu.

1: Manipulating Data with dplyr
2: Grouping and Chaining with dplyr
3: Tidying Data with tidyr
4: Dates and Times with lubridate

Selection: 1

| 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
In addition: Warning message:
tbl_df() was deprecated in dplyr 1.0.0.
ℹ Please use tibble::as_tibble() instead.
ℹ The deprecated feature was likely used in the swirl package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this
warning was generated.

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

@krogersmith
Copy link

I have the same issue:
Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, :
(/usr/local/lib/R/site-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.

@ncarchedi
Copy link
Member

This should be fixed now, but please let me know if not: #517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants