Skip to content

Commit

Permalink
use rlang to improve clarity of memoise
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 committed Aug 10, 2023
1 parent 79fd808 commit f34d5df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@

assign(x = "rds_from_url",
value = memoise::memoise(rds_from_url, ~ memoise::timeout(86400), cache = cache),
envir = parent.env(environment()))
envir = rlang::ns_env("nflreadr"))
assign(x = "csv_from_url",
value = memoise::memoise(csv_from_url, ~ memoise::timeout(86400), cache = cache),
envir = parent.env(environment()))
envir = rlang::ns_env("nflreadr"))
assign(x = "qs_from_url",
value = memoise::memoise(qs_from_url, ~ memoise::timeout(86400), cache = cache),
envir = parent.env(environment()))
envir = rlang::ns_env("nflreadr"))
assign(x = "raw_from_url",
value = memoise::memoise(raw_from_url, ~ memoise::timeout(86400), cache = cache),
envir = parent.env(environment()))
envir = rlang::ns_env("nflreadr"))
assign(x = "parquet_from_url",
value = memoise::memoise(parquet_from_url, ~ memoise::timeout(86400), cache = cache),
envir = parent.env(environment()))
envir = rlang::ns_env("nflreadr"))

}

Expand Down

0 comments on commit f34d5df

Please sign in to comment.