Skip to content
Permalink
Browse files

fix partial match problem in as.list, use all.names instead of all, b…

…ump version
  • Loading branch information
sckott committed Feb 7, 2019
1 parent d25e537 commit b20a2d5ffd0f65175dee4d84aa9573f3652df1d2
Showing with 2 additions and 2 deletions.
  1. +1 −1 DESCRIPTION
  2. +1 −1 R/configuration.R
@@ -8,7 +8,7 @@ Description: Record test suite 'HTTP' requests and replays them during
real 'HTTP' responses on disk in 'cassettes'. Subsequent 'HTTP' requests
matching any previous requests in the same 'cassette' use a cached
'HTTP' response.
Version: 0.2.2.9311
Version: 0.2.2.9312
Authors@R: c(person("Scott", "Chamberlain", role = c("aut", "cre"),
email = "sckott@protonmail.com", comment = c(ORCID="0000-0003-1444-9135")))
URL: https://github.com/ropensci/vcr/ (devel)
@@ -119,7 +119,7 @@ vcr_configure <- function(
log_opts <- merge_list(log_opts,
list(file = "vcr.log", log_prefix = "Cassette", date = TRUE))

calls <- as.list(environment(), all = TRUE)
calls <- as.list(environment(), all.names = TRUE)
for (i in seq_along(calls)) {
vcr_c[[names(calls)[i]]] <- calls[[i]]
}

0 comments on commit b20a2d5

Please sign in to comment.
You can’t perform that action at this time.