Skip to content

How to play more nicely with file path expansion? #7

Description

@jennybc

In a recent twitter-storm about project-based thinking and file paths, a really good point was raised that I too have felt (sorry, I can't find the tweet now).

RStudio, for example, does tab completion on filenames within a Project, which is very handy.

But then here::here() expects the path parts separated out into a character vector.

Is there a way to have our cake and eat it too? Could the relative paths produced by RStudio be acceptable to here::here()? Or could there be a helper function or add-in that converts these easy-to-get paths into the proper form?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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