Skip to content

Commit

Permalink
use r+f string
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Mar 8, 2021
1 parent 3994a58 commit de3bca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre_commit/languages/r.py
Expand Up @@ -91,8 +91,8 @@ def install_environment(
shutil.copy(prefix.path('renv.lock'), env_dir)
cmd_output_b(
'Rscript', '--vanilla', '-e',
f"""\
prefix_dir <- "{os.path.normpath(prefix.prefix_dir)}"
fr"""
prefix_dir <- "{prefix.prefix_dir}"
missing_pkgs <- setdiff(
"renv", unname(installed.packages()[, "Package"])
)
Expand Down

0 comments on commit de3bca2

Please sign in to comment.