In a commit to "fix issues for CRAN Registration", in the function get_me located in utils.R, a GET function call was inadvertently changed to get; GET is from the httr package and is used for downloading URLs, whereas get is a base function with a completely different purpose, namely to get a variable from a specified environment. A mishap when applying code style settings?
Context
I tried using both kobo_datasets and kobo_data_downloader with the current version. They worked in an older version I downloaded from mrdwab/koboloadeR.
Problem
Error message.
Expected result
Downloading of the data/listing of the datasets, which worked in version 0.1.2.
Current result
invalid 'envir' argument
Possible Fix
In utils.R, in function get_me, change get to httr::GET.
In a commit to "fix issues for CRAN Registration", in the function
get_me
located inutils.R
, aGET
function call was inadvertently changed toget
;GET
is from thehttr
package and is used for downloading URLs, whereasget
is abase
function with a completely different purpose, namely to get a variable from a specified environment. A mishap when applying code style settings?Context
I tried using both
kobo_datasets
andkobo_data_downloader
with the current version. They worked in an older version I downloaded from mrdwab/koboloadeR.Problem
Error message.
Expected result
Downloading of the data/listing of the datasets, which worked in version 0.1.2.
Current result
invalid 'envir' argument
Possible Fix
In
utils.R
, in functionget_me
, changeget
tohttr::GET
.