Skip to content

Commit

Permalink
fix yaml issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarchedi authored Mar 23, 2023
1 parent 42323dc commit 53dff26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
Output: 'Now, put an exclamation point (!) before is.na() to change all of the TRUEs to FALSEs and all of the FALSEs to TRUEs, thus telling us what is NOT NA: !is.na(c(3, 5, NA, 10)).'
CorrectAnswer: "!is.na(c(3, 5, NA, 10))"
AnswerTests: omnitest('!is.na(c(3, 5, NA, 10))')
Hint: !is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.

This comment has been minimized.

Copy link
@efjacobi

efjacobi Apr 10, 2023

This appears to be the fix to the error I keep getting when I try to load Coursera swirl 'Getting and Cleaning Data/Manipulating Data with dplyr'. How do I make it effective so I can complete the course?

Sincerely, efjacobi

This comment has been minimized.

Copy link
@RishavDaredevil

RishavDaredevil Jun 10, 2023

hi were you able to fix the error?-

Dplyr lesson : Swirl use obsolete command. tbl_df() is deprecated as of dplyr 1.0.0. Please use tibble::as_tibble() instead

Hint: '!is.na(c(3, 5, NA, 10)) will negate the previous command, thus telling us what is NOT NA.'

- Class: cmd_question
Output: 'Okay, ready to put all of this together? Use filter() to return all rows of cran for which r_version is NOT NA. Hint: You will need to use !is.na() as part of your second argument to filter().'
Expand Down

1 comment on commit 53dff26

@Trekerj
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still getting the warning on the tbl_df() command and of course if the tibble::as_tibble() it's flagged as an incorrect answer.
If there is someone else who can address this please let me know and I be glad to reach out.

Please sign in to comment.