prep_windows_path_for_unix: Convert windows file paths

View source: R/prep_windows_path_for_unix.R

prep_windows_path_for_unixR Documentation

Convert windows file paths

Description

If you've copied a file path to the windows clipboard, call this function without any arguments to both return a path with correct slashes, as well as copy that path to the clipboard for an easy paste.

Usage

prep_windows_path_for_unix(path = "clipboard")

Arguments

path

[character] a filepath to convert

Value

correctly formatted filepath ('\' becomes '/')


epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.