DheerajAgarwal / rgdax

Wrapper for Coinbase pro (erstwhile GDAX) Cryptocurrency exchange
Other
33 stars 16 forks source link

parse_response query argument #21

Closed southernt closed 2 years ago

southernt commented 2 years ago

getting error when running public_info():

Error in build_url(utils::modifyList(old, new)) : is.character(query) is not TRUE

This error goes away and the public_info() starts working appropriately for me when I set query = NA_character instead of NA inside of the parse_response() function.

Using R 4.1.0 & rgdax 1.2.1 on Mac

DheerajAgarwal commented 2 years ago

Agreed. There has been some changes with NA which has caused a lot of functions to misbehave. I have changed the query = NULL for consistency with changes else where. Testing it locally works. I have pushed the code changes to dev branch