| 1 | # renv warns when large number of files found in total |
| 2 | |
| 3 | Code |
| 4 | . <- dependencies() |
| 5 | Output |
| 6 | A large number of files (7 in total) have been discovered. |
| 7 | It may take renv a long time to scan these files for dependencies. |
| 8 | Consider using .renvignore to ignore irrelevant files. |
| 9 | See `?renv::dependencies` for more information. |
| 10 | Set `options(renv.config.dependencies.limit = Inf)` to disable this warning. |
| 11 | |
| 12 | Finding R package dependencies ... Done! |
| 13 | |
| 14 | # renv warns when large number of files found in one directory |
| 15 | |
| 16 | Code |
| 17 | . <- dependencies() |
| 18 | Output |
| 19 | A large number of files (11 in total) have been discovered. |
| 20 | It may take renv a long time to scan these files for dependencies. |
| 21 | Consider using .renvignore to ignore irrelevant files. |
| 22 | See `?renv::dependencies` for more information. |
| 23 | Set `options(renv.config.dependencies.limit = Inf)` to disable this warning. |
| 24 | |
| 25 | Finding R package dependencies ... Done! |
| 26 | WARNING: One or more problems were discovered while enumerating dependencies. |
| 27 | |
| 28 | # <wd-name> --- |
| 29 | Error: directory contains 12 files; consider ignoring this directory |
| 30 | |
| 31 | Please see `?renv::dependencies` for more information. |
| 32 | |
| 33 | |
| 34 | # dependencies() notifies the user if directories contain lots of files |
| 35 | |
| 36 | Code |
| 37 | . <- renv_snapshot_dependencies(project) |
| 38 | Output |
| 39 | |
| 40 | NOTE: Dependency discovery took XXXX seconds during snapshot. |
| 41 | Consider using .renvignore to ignore files, or switching to explicit snapshots. |
| 42 | See `?renv::dependencies` for more information. |
| 43 | |
| 44 | - <wd>/data: 200 files |
| 45 | |
| 46 |