Abort on missing ODK Central credentials (url, username, password).
Source:R/ru_setup.R
yell_if_missing.Rd
Details
This is a helper function to pat down ruODK
functions
for missing credentials and stop with a loud but informative yell.
See also
Other ru_settings:
odata_svc_parse()
,
parse_odkc_version()
,
ru_settings()
,
ru_setup()
,
semver_gt()
,
semver_lt()
,
yell_if_error()
Examples
testthat::expect_error(yell_if_missing("", "username", "password"))
testthat::expect_error(yell_if_missing("url", "", "password"))
testthat::expect_error(yell_if_missing("url", "username", ""))
testthat::expect_error(yell_if_missing(NULL, "", ""))
testthat::expect_error(yell_if_missing("", "", ""))
testthat::expect_error(yell_if_missing("", "", "", ""))
testthat::expect_error(yell_if_missing("", "", "", "", ""))
testthat::expect_error(yell_if_missing("", "", "", "", "", ""))
testthat::expect_error(yell_if_missing("", "", "", "", "", "", ""))
testthat::expect_error(yell_if_missing("", "", "", "", "", "", "", ""))