ba_check.RdChecks if a BrAPI server can be reached given the connection details.
ba_check(con = NULL, verbose = TRUE, brapi_calls = "any")
| con | brapi_connection object |
|---|---|
| verbose | logical; default TRUE |
| brapi_calls | character vector; default: any. Use to check if one or more calls are implemented by the server according to the calls url. |
logical
Raises errors.
Other brapiutils: as.ba_db,
ba_can_internet, ba_connect,
ba_db, ba_login,
ba_logout, is.ba_con,
print.ba_con,
print.ba_db_list
if (interactive()) { library(brapi) # make sure you are connected to the internet con <- ba_db()$sweetpotatobase ba_check(con) }