yell_if_missing | R Documentation |
yell_if_missing(
url,
un,
pw,
pid = NULL,
fid = NULL,
iid = NULL,
did = NULL,
eid = NULL
)
url |
A URL (character) |
un |
A username (character) |
pw |
A password (character) |
pid |
A project ID (numeric, optional) |
fid |
A form ID (character, optional) |
iid |
A submission instance ID (character, optional) |
did |
An Entity List (dataset) name (character, optional) |
eid |
An Entity UUID (character, optional) |
This is a helper function to pat down ruODK
functions
for missing credentials and stop with a loud but informative yell.
Other ru_settings:
odata_svc_parse()
,
parse_odkc_version()
,
ru_settings()
,
ru_setup()
,
semver_gt()
,
semver_lt()
,
yell_if_error()
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("", "", "", "", "", "", "", ""))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.