Commit 96a54f5
Fix 'folder' argument to
The call to `dir_ls` appears to be incorrect, in that it uses the
argument `type = 'folder'`. I do not know whether this was valid at
some point in the history of `fs::dir_ls`, but it is invalid now:
```
> fs::dir_ls('.', type = 'folder')
Error in match.arg(type, names(directory_entry_types), several.ok = TRUE) :
'arg' should be one of “any”, “unknown”, “file”, “directory”, “symlink”, “FIFO”, “socket”, “character_device”, “block_device”
> fs::dir_ls('.', type = 'directory')
R inst man man-roxygen pkgdown revdep
tests vignettes
```
I hit this bug by a route I now find difficult to reconstruct, but the
relevant error is in:
https://github.com/resampling-stats/resampling-with/runs/2308006707?check_suite_focus=true#step:7:5600dir_ls
1 parent 1aaaa99 commit 96a54f5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments