Open ambuvjyn opened 1 year ago
I just ran into this issue as well and this proposed fix seems to resolve this issue for me too.
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?
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.
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.
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.
Ok thanks for your help ambuvjyn
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