You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running R3.5.1 on macOS Mojave 10.14.1, whenever I run dir_info("plot/", recursive = TRUE, type = "file") the outputted tibble throws an error when I try and str().
This means I'm unable to pass the tibble into dplyr and so on. If I drop the size column, it all starts working again.
In trying to chase the bug down I did find this commit, in the bench package which "seems" to be the same issue: r-lib/bench@c16bd36
Explicitly take drop0trailing as an argument to format methods. In R 3.5 format() is called with drop0trailing in str, causing an error due to duplicated arguments.
Hope this helps,
Thanks, Chris
The text was updated successfully, but these errors were encountered:
Hi there,
Running R3.5.1 on macOS Mojave 10.14.1, whenever I run
dir_info("plot/", recursive = TRUE, type = "file")
the outputted tibble throws an error when I try andstr()
.> str(get_plots) Classes ‘tbl’, ‘tbl_df’ and 'data.frame': 23861 obs. of 18 variables: $ path : 'fs_path' chr "plot/blur/beetlebum0001.png" "plot/blur/beetlebum0002.png" "plot/blur/beetlebum0003.png" "plot/blur/beetlebum0004.png" ... $ type : Factor w/ 8 levels "any","block_device",..: 7 7 7 7 7 7 7 7 7 7 ... $ size :Error in format.default(res, scientific = scientific, digits = digits, : formal argument "drop0trailing" matched by multiple actual arguments
This means I'm unable to pass the tibble into dplyr and so on. If I drop the size column, it all starts working again.
In trying to chase the bug down I did find this commit, in the
bench
package which "seems" to be the same issue:r-lib/bench@c16bd36
Explicitly take drop0trailing as an argument to format methods. In R 3.5 format() is called with drop0trailing in str, causing an error due to duplicated arguments.
Hope this helps,
Thanks, Chris
The text was updated successfully, but these errors were encountered: