tests/testthat/_snaps/proj.md

proj_path() errors with absolute paths

Code
  proj_path(c("/a", "b", "/c"))
Condition
  Error:
  ! Paths must be relative to the active project
Code
  proj_path("/a", "b", "/c")
Condition
  Error:
  ! Paths must be relative to the active project
Code
  proj_path("/a", c("b", "/c"))
Condition
  Error:
  ! Paths must be relative to the active project


Try the usethis package in your browser

Any scripts or data that you put into this service are public.

usethis documentation built on July 9, 2023, 7:23 p.m.