pathJoin("my_base_path/helpers", "superfunction.R")
# 'my_base_path/helpers/superfunction.R'
base_dir <- "/home/tester/images"
out <- data.frame(filename = c("file1.png", "file2.png", "file3.png")) |>
dplyr::mutate(full_path = pathJoin(base_dir, filename))
Run the code above in your browser using DataLab