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

Error in filter () I'm in need of a solution to the code below: rlang::last_trace() <error/rlang_error> Error in filter(): ℹ In argument: state == 30. Caused by error: ! object 'state' not found --- Backtrace: ▆ 1. ├─dplyr::filter(nagsedemograph, state == 30) 2. └─dplyr:::filter.data.frame(nagsedemograph, state == 30) 3. └─dplyr:::filter_rows(.data, dots, by) 4. └─dplyr:::filter_eval(...) 5. ├─base::withCallingHandlers(...) 6. └─mask$eval_all_filter(dots, env_filter) 7. └─dplyr (local) eval() Run rlang::last_trace(drop = FALSE) to see 3 hidden frames. #624

Open
Seyitosin opened this issue Apr 17, 2023 · 0 comments

Comments

@Seyitosin
Copy link

Please briefly describe your problem and what output you expect.

  • Include a link to page, and reference the exercise number (if applicable).

  • If it is a typo, include the quoted text where it occurs.

  • If code is producing an error, include both the code and the error message, as well as the
    output of sessionInfo().

@Seyitosin Seyitosin changed the title Error in filter () Error in filter () I'm in need of a solution to the code below: Apr 17, 2023
@Seyitosin Seyitosin changed the title Error in filter () I'm in need of a solution to the code below: Error in filter () I'm in need of a solution to the code below: rlang::last_trace() <error/rlang_error> Error in filter(): ℹ In argument: state == 30. Caused by error: ! object 'state' not found --- Backtrace: ▆ 1. ├─dplyr::filter(nagsedemograph, state == 30) 2. └─dplyr:::filter.data.frame(nagsedemograph, state == 30) 3. └─dplyr:::filter_rows(.data, dots, by) 4. └─dplyr:::filter_eval(...) 5. ├─base::withCallingHandlers(...) 6. └─mask$eval_all_filter(dots, env_filter) 7. └─dplyr (local) eval() Run rlang::last_trace(drop = FALSE) to see 3 hidden frames. Apr 17, 2023
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