Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tidyverse/vroom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3ded2a1c04d4c70f465ebbb61ca07b7e8a372587
Choose a base ref
..
head repository: tidyverse/vroom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bdecf47fb36cffea2632a31cd2eeff805d75840d
Choose a head ref
Showing with 2 additions and 0 deletions.
  1. +2 −0 R/path.R
2 changes: 2 additions & 0 deletions R/path.R
Original file line number Diff line number Diff line change
@@ -140,6 +140,8 @@ standardise_one_path <- function (path, write = FALSE) {
stop("Can only read from, not write to, .zip", call. = FALSE)
}

path <- enc2utf8(path)

switch(compression,
gz = gzfile(path, ""),
bz2 = bzfile(path, ""),