R package for OpenSearch