Skip to content

Commit

Permalink
convert slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Mar 8, 2021
1 parent 50c1653 commit 3994a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/r.py
Expand Up @@ -92,7 +92,7 @@ def install_environment(
cmd_output_b(
'Rscript', '--vanilla', '-e',
f"""\
prefix_dir <- "{prefix.prefix_dir}"
prefix_dir <- "{os.path.normpath(prefix.prefix_dir)}"
missing_pkgs <- setdiff(
"renv", unname(installed.packages()[, "Package"])
)
Expand Down

0 comments on commit 3994a58

Please sign in to comment.