Some `.DollarNames` methods not supplying default `pattern` · Issue #749 · REditorSupport/vscode-R · GitHub
Skip to content

Some .DollarNames methods not supplying default pattern #749

Description

@renkun-ken

#660 uses .DollarNames to provide names for completion items as used below:

The usage here will break if the .DollarNames method does not supply a default pattern.

An example is Rcpp:::.DollarNames.C++Object:

https://github.com/RcppCore/Rcpp/blob/9633169d6a7fda656e7752ab32acbad51554358f/R/02_completion.R#L39-L42

where pattern has no default value.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions