|
4 | 4 | writeLines(dr)
|
5 | 5 | Output
|
6 | 6 | here() starts at <project root>.
|
7 |
| - - This directory contains a file matching "[.]Rproj$" with contents matching "^Version: " in the first line |
| 7 | + - This directory contains a file matching '[.]Rproj$' with contents matching '^Version: ' in the first line |
8 | 8 | - Initial working directory: <working directory>
|
9 | 9 | - Current working directory: <working directory>
|
10 | 10 |
|
|
22 | 22 | Output
|
23 | 23 | here() starts at <project root>.
|
24 | 24 | - This directory and its parents do not satisfy any of the following criteria:
|
25 |
| - - contains a file ".here" |
26 |
| - - contains a file matching "[.]Rproj$" with contents matching "^Version: " in the first line |
27 |
| - - contains a file "DESCRIPTION" with contents matching "^Package: " |
28 |
| - - contains a file "remake.yml" |
29 |
| - - contains a file ".projectile" |
30 |
| - - contains a directory ".git" |
31 |
| - - contains a file ".git" with contents matching "^gitdir: " |
32 |
| - - contains a directory ".svn" |
| 25 | + - contains a file '.here' |
| 26 | + - contains a file matching '[.]Rproj$' with contents matching '^Version: ' in the first line |
| 27 | + - contains a file 'DESCRIPTION' with contents matching '^Package: ' |
| 28 | + - contains a file 'remake.yml' |
| 29 | + - contains a file '.projectile' |
| 30 | + - contains a directory '.git' |
| 31 | + - contains a file '.git' with contents matching '^gitdir: ' |
| 32 | + - contains a directory '.svn' |
33 | 33 | ! Call `here::i_am()` in your scripts and reports, or use `set_here()` to create a `.here` file
|
34 | 34 | - Initial working directory: <working directory>
|
35 | 35 | - Current working directory: <working directory>
|
|
0 commit comments