Skip to content

Can't style multiple files in different directories with style_file() #521

Closed

Description

@lorenzwalthert
withr::with_dir(
  "~/datasciencecoursera/styler",
  styler::style_file(c("R/utils-files.R", "tests/testthat/strict/strict-out.R"))
)
#> Styling  2  files:
#>  utils-files.R ✔ 
#>  strict-out.R
#> Warning in file(con, "r"): cannot open file 'strict-out.R': No such file or
#> directory
#> Error in file(con, "r"): cannot open the connection

Created on 2019-06-16 by the reprex package (v0.2.1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions