ba_check: ba_check

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/ba_check.R

Description

Checks if a BrAPI server can be reached given the connection details.

Usage

1
ba_check(con = NULL, verbose = TRUE, brapi_calls = "any")

Arguments

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.

Details

Raises errors.

Value

logical

Author(s)

Reinhard Simon

See Also

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

Examples

1
2
3
4
5
6
7
8
9
if (interactive()) {
  library(brapi)

  # make sure you are connected to the internet

  con <- ba_db()$testserver

  ba_check(con)
}

CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.