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

Mistake in code in Exercise 9.4 #81

Open
one0rb opened this issue Jul 4, 2024 · 0 comments
Open

Mistake in code in Exercise 9.4 #81

one0rb opened this issue Jul 4, 2024 · 0 comments

Comments

@one0rb
Copy link

one0rb commented Jul 4, 2024

I believe one of the lines of code you gave as the answer to Exercise 9.4 has a small typo in it.

You give a model answer as length(unique(symbols) == 1) but that doesn't return a logical as needed for the exercise.

I think you just have one of the brackets in the wrong place and it should be length(unique(symbols)) == 1.

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

1 participant