-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
21 convert data from answercode to answer #26
Conversation
@PietrH can I test this ? |
PS it works |
Thanks for having a look at it Sander, I'm not ready with this branch yet. I've added a todo list to this PR. Sorry it's been dragging on. Do you have any experience writing tests with testthat? |
Sorry no experience with testthat, however I'm willing to learn. |
No worries, we can get together about that at some point. There is some information about it in the R packages book: https://r-pkgs.org/testing-basics.html |
I'll take care of the unit tests for this PR though, don't worry! |
thanks |
The failure state when you enter the wrong username isn't very elegant: get_records(access_token = get_access_token(username = "[email protected]"))
#>Error: access_token is not a string (a length one character vector). |
Select fields are recoded, currently |
I've decided tests are for a seperate PR, in the context of #7 because it'll require a bit more tooling. I'd like to avoid mocking or vcr if at all possible. |
This reverts commit c9ffd00.
|
Issue for optionally returning verbatim field names as iAsset: #28 |
I'm interpreting this as a positive review, and merging to main. If it's broken, please open an issue. |
Todo
select_inspectors
is recoded- [ ] Add tests forget_records()
especially regarding recodingFALSE