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
Would it be possible to pass missing values without error? For example, if I pass a character vector of paths that includes an NA, I'd prefer if the NA was returned. As a comparison, this is the behavior for the functions in the R.utils package.
> p <- c("../../tmp", NA)
> suppressPackageStartupMessages(library("R.utils"))
> getAbsolutePath(p)
../../tmp <NA>
"/tmp" NA
> library("fs")
> packageVersion("fs")
[1] ‘1.1.0.9000’
> path_abs(p)
Error in if (any(double_dots)) { : missing value where TRUE/FALSE needed
The text was updated successfully, but these errors were encountered:
Would it be possible to pass missing values without error? For example, if I pass a character vector of paths that includes an
NA
, I'd prefer if theNA
was returned. As a comparison, this is the behavior for the functions in the R.utils package.The text was updated successfully, but these errors were encountered: