GGIR uses some code which does not play nice with some file paths on Windows
(e.g., those produced by tempdir()
). This function converts between a
file path to the format that works with GGIR.
translate_filepath(path)
The file or folder path to convert.
The same file path with \\
replaced with /
Other helper functions:
build_meta()
,
collate_outputs()
,
find_problem_files()
example_path <- tempdir()
translate_filepath(example_path)
#> [1] "/tmp/Rtmp1Fike6"