Skip to content

Variables completion does not work inside dplyr join functions #8459

Closed

Description

@iagogv3

System details

RStudio Edition : Desktop
RStudio Version : 1.3.1093
OS Version      : Debian GNU/Linux 9.12 (stretch)
R Version       : 3.6.3

Steps to reproduce the problem

With dplyr library loaded starts to write any of the next lines:

band_members %>% inner_join(band_instruments %>% filter(name == "John"))
band_members %>% inner_join(band_instruments %>% select(name, plays))

You can change the function by mutate or others (I do not know the generality of this issue) and inner_join by full_join or any other dplyr::..._join.

Describe the problem in detail

When one has already written

band_members %>% inner_join(band_instruments %>% filter())
# or
band_members %>% inner_join(band_instruments %>% select())

with the cursor inside filter or select or any other similar function like mutate..., and starts to write the variable, it does not work the completion function that works outside join functions

Describe the behavior you expected

Variable names completion working inside join functions.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting a RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    autocompletion
    and removed on Nov 25, 2020
  2. ronblum commented on Nov 25, 2020

    @ronblum
    Contributor

    @iago-pssjd Thank you for raising this! Since the behavior is the same in standalone R, I'm marking this as an enhancement to review as a continue development of RStudio.

  3. github-actions commented on May 25, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  4. added
    stale
    on May 25, 2021
  5. iagogv3 commented on Jun 1, 2021

    @iagogv3
    Author

    This issue seems to be a bug, so it should not be closed

  6. removed
    stale
    on Jun 1, 2021
  7. added this to the Later milestone on Jun 1, 2021
  8. removed their assignment
    on Jan 16, 2023
  9. olivroy commented on Sep 8, 2023

    @olivroy
    Contributor

    Seems to work now! Or I misunderstood the problem. (2023.09.0.401)

  10. ronblum commented on Sep 8, 2023

    @ronblum
    Contributor

    @olivroy Thank you for noting this! I'll close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autocompletionenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions