Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Data downloading uses base get instead of httr::GET #82

Open
tomsmekens opened this issue Dec 13, 2021 · 0 comments
Open

Data downloading uses base get instead of httr::GET #82

tomsmekens opened this issue Dec 13, 2021 · 0 comments

Comments

@tomsmekens
Copy link

tomsmekens commented Dec 13, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant