Debian Codegraph @

tests/testthat/_snaps/path.md

raw symbols SCIP
1 # path / errors on paths which are too long
2
3 Code
4 path(paste(rep("a", 1e+05), collapse = ""))
5 Condition
6 Error in `path_tidy()`:
7 ! Total path length must be less than PATH_MAX: <path-max>
8 Code
9 do.call(path, as.list(rep("a", 1e+05)))
10 Condition
11 Error in `path_tidy()`:
12 ! Total path length must be less than PATH_MAX: <path-max>
13
14 # path_rel / works for POSIX paths
15
16 Code
17 path_rel(c("a", "a/b", "a/b/c"), c("a/b", "a"))
18 Condition
19 Error:
20 ! `start` must be a single path to a starting directory.
21