Skip to content
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

Bugfix & tests for fetch_survey() when include_* = NA, closes #272 #277

Merged
merged 2 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

- Refactored code for checking arguments and errors, thanks to @jmobrien (#263)

- Fixed bug in `fetch_survey()` for `include_* = NA`, thanks to @jmobrien (#277)

# qualtRics 3.1.6

- Add `fetch_distribution_history()` and `list_distribution_links()` for more handling of distribution data, thanks to @chrisumphlett and @dsen6644 (#221, #239)
Expand Down
5 changes: 3 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ create_raw_payload <-

# Make list of params, dropping NULL's:
params <-
purrr::compact(
list(...)
purrr::discard(
list(...),
is.null
)

# Selectively mark length-1 parameters for unboxing, following the API scheme:
Expand Down
Loading