Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@IndrajeetPatil
Copy link
Collaborator

Closes #1508

# SPECIAL usage is detected
expect_lint("library(magrittr)\n1:3 %>% mean()", NULL, linter)
# dataset is detected
expect_lint("library(dplyr)\nstarwars", NULL, linter)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AshesITR AshesITR merged commit 55c3eed into main Sep 23, 2022
@AshesITR AshesITR deleted the 1508_datasets branch September 23, 2022 18:16
MichaelChirico added a commit that referenced this pull request Sep 24, 2022
Follow-up to #1549, the `Items` column has a funny format for some objects, per `?data`:

```
Where the datasets have a different name from the
argument that should be used to retrieve them the index will have
an entry like ‘beaver1 (beavers)’ which tells us that dataset
‘beaver1’ can be retrieved by the call ‘data(beaver)’.
```
IndrajeetPatil added a commit that referenced this pull request Sep 24, 2022
* Slightly improve dataset symbol detection

Follow-up to #1549, the `Items` column has a funny format for some objects, per `?data`:

```
Where the datasets have a different name from the
argument that should be used to retrieve them the index will have
an entry like ‘beaver1 (beavers)’ which tells us that dataset
‘beaver1’ can be retrieved by the call ‘data(beaver)’.
```

* add test

Co-authored-by: Indrajeet Patil <[email protected]>
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

Successfully merging this pull request may close these issues.

unused_import_linter finds only functions?

3 participants