I see this pattern in multiple places in the code:
url <- paste0(something, something_else)
raw <- httr::GET(url)
...
In general, I think it's a good idea to avoid using variable names that conflict with other names in the package environment, especially those in packages like base that are loaded by default. I have seen it lead to strange situations, especially when combined with libraries like ggplot2 or data.table that use non-standard evaluation.
I think you should change all those raw to raw_response or something like that.
I see this pattern in multiple places in the code:
In general, I think it's a good idea to avoid using variable names that conflict with other names in the package environment, especially those in packages like
base
that are loaded by default. I have seen it lead to strange situations, especially when combined with libraries likeggplot2
ordata.table
that use non-standard evaluation.I think you should change all those
raw
toraw_response
or something like that.