NEWS.md

brapi 0.9.5

brapi 0.0.9.9036

brapi 0.0.9.9016 2017-09-17

brapi 0.0.9.9015

NEW Sandbox testing server

To eaes local testing the package has was a companion package with a localized simple testing server implementing the BrAPI v1 protocol. Since Feb 2018 it is discontinued.

The server must be started in a R session separate from the one use for the BrAPI calls. The server uses by default the port 2021. This can be changed by using the port parameter: brapi::mock_server(80).

This server was discontinued.

Optionally: authenticate yourself

con = ba_connect(user = "user", password = "password") %>% ba_login()

ba_crops(con) # which crops are available

ba_calls(con) # which calls are available

```

NEW: Testing the calls

BrAPI calls are now being extensively tested using the testthat framework. The local tests are being executed against the local mock_server instance. If not present a warning message will be displayed.

Quick start in RStudio: Ctrl + Shift + T

NEW: return tables

brapi 0.0.9.9014 2017-02-02



c5sire/brapi documentation built on Oct. 17, 2019, 11:45 a.m.