Skip to content

with_package does not clean up Depends #261

@sebffischer

Description

@sebffischer
print("survival" %in% .packages())
#> [1] FALSE
withr::with_package("penalized", 1)
#> [1] 1
print("survival" %in% .packages())
#> [1] TRUE

Created on 2024-06-27 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions