Skip to content

Respecting exclude and include.only #84

@cgoo4

Description

@cgoo4

This is a very helpful package I wish I'd discovered earlier!

Whilst a user of conflict_scout() is more likely to pair this with conflict_prefer*, could it respect the exclude and include.only arguments in library()?

library(dplyr)
library(xts, exclude = "first")

funs <- ls("package:xts")
funs[funs %in% c("first", "last")]
#> [1] "last"

conflicted::conflict_scout()
#> 4 conflicts:
#> * `filter`: dplyr, stats
#> * `first` : xts, dplyr
#> * `lag`   : dplyr, stats
#> * `last`  : xts, dplyr

Created on 2023-01-22 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions