New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path_abs should take start argument #87

Closed
hadley opened this Issue Mar 14, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@hadley
Copy link
Member

hadley commented Mar 14, 2018

To match path_rel()

path_abs <- function(path, start = ".") {
  if (is_absolute_path(path)) {
    path
  } else {
    fs::path_abs(path(start, path))
  }
}

@jimhester jimhester closed this in 0cccfea Mar 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment