Skip to content

cannot dir_delete(test_path()) while running devtools::test() #48

@ambertin

Description

@ambertin

When running the following lines of code, devtools::test() fails with this error:

screen shot 2019-03-04 at 7 08 18 pm

dir <- test_path() # "tests/testthat"
temp <- sandbox(dir)

Why is test_path() an invalid directory to delete? Is there a function that dir_delete can be replaced with in sandbox that will allow us to delete test_path()?

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