powered by
Replace extension '.bk'
sub_bk(path, replacement = "", stop_if_not_ext = TRUE)
String with extension '.bk'.
Replacement of '.bk'. Default replaces by nothing.
If replacement != "", whether to error if replacement is not an extension (starting with a '.').
replacement != ""
String with extension '.bk' replaced by replacement.
replacement
# NOT RUN { path <- "toto.bk" sub_bk(path) sub_bk(path, ".rds") # }
Run the code above in your browser using DataLab