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

Update lesson.yaml #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update lesson.yaml #516

wants to merge 1 commit into from

Conversation

ambuvjyn
Copy link

The solution to remove this error when loading this chapter. :

Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label, : (C:/Users/BSL CTCRI/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.

I think it's a typo, Just added Try in line 205.

Would be very useful for a lot of students who are new to this if you could rectify this.

Thanks and Regards

Ambu Vijayan

@joakimlinde
Copy link

I just ran into this issue as well and this proposed fix seems to resolve this issue for me too.

@JoeyW95
Copy link

JoeyW95 commented Mar 9, 2023

I also ran into this issue and it seemed to have fixed it.
However now I have a new issue below:

| Trying to install package ‘- Class: meta’ now...
Warning in install.packages :
package ‘- Class: meta’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

| Could not install package ‘- Class: meta’!
| | 0%Error in seq.default(0, 1, length.out = nrow(e$les)) :
argument 'length.out' must be of length 1

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

Any ideas on how to get around this?

@ambuvjyn
Copy link
Author

ambuvjyn commented Mar 10, 2023

Could you explain how this error happened?
This Class: meta package was an automated error or something you tried to install manually?

Also, can you try using this command to install manually from GitHub.

install.packages("remotes")
remotes::install_github("guido-s/meta", ref = "develop")

It's a beta version of the meta package. Maybe this would help.
Try and let us know.

@JoeyW95
Copy link

JoeyW95 commented Mar 10, 2023

Certaintly,
I tried your troubleshoot of

install.packages("remotes")
remotes::install_github("guido-s/meta", ref = "develop")

and installed all the packaged to the latest's versions and I am still running into the same error. This is an automated error that is happening, I am trying to complete a swirl() course, specifically the "Manipulating Data with dplyr" course. I keep getting this automated error

| Attempting to load lesson dependencies...

| This lesson requires the ‘- Class: meta’ package. Would you like me to install it for you now?

1: Yes
2: No

Selection: 1

| Trying to install package ‘- Class: meta’ now...
Warning in install.packages :
package ‘- Class: meta’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

| Could not install package ‘- Class: meta’!
| | 0%Error in seq.default(0, 1, length.out = nrow(e$les)) :
argument 'length.out' must be of length 1

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

I am running R version 4.2.2 (2022-10-31 ucrt) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
On windows.

@ambuvjyn
Copy link
Author

ambuvjyn commented Mar 10, 2023

I guess it's an R compatibility issue, I am using R version 4.2.1, and The swirl course works fine for me. You may have to try downgrading or just install the version i mentioned along with the version you have and point the R in Rstudio to this version for this course.

@JoeyW95
Copy link

JoeyW95 commented Mar 10, 2023

Ok thanks for your help ambuvjyn

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

Successfully merging this pull request may close these issues.

3 participants