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

Tests not working #2

Open
emmakarolina opened this issue Oct 12, 2017 · 2 comments
Open

Tests not working #2

emmakarolina opened this issue Oct 12, 2017 · 2 comments

Comments

@emmakarolina
Copy link
Collaborator

Chapter 3:
In "Creating a factor variable" tests cause errors, they need to be modified. Currently there are no tests used in the chapter.

@gdrouard
Copy link
Collaborator

gdrouard commented Oct 27, 2021

One test_function added but need to track the error message directly from datacamp as no error message has been detected in the script. Datacamp message :

Incorrect Submission
Your code contains an error that you should fix:
Error: factors are not allowed

@gdrouard
Copy link
Collaborator

Several things were checked and the problem seems to persist. However, this could be because the quantile() function does not take the crim variable as numeric (while it is apparently numeric). The latest commit is supposed to fix this and remove an unnecessary test_function. Need to be built on Datacamp teach for confirmation.

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

2 participants