Skip to content

Commit

Permalink
fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Feb 9, 2023
1 parent 727f706 commit 0e349bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: geonapi
Type: Package
Title: 'GeoNetwork' API R Interface
Version: 0.6-1
Date: 2022-08-19
Version: 0.6-2
Date: 2023-02-09
Authors@R: c(person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "emmanuel.blondel1@gmail.com", comment = c(ORCID = "0000-0002-5870-5762")))
Maintainer: Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Description: Provides an R interface to the 'GeoNetwork' API (<https://geonetwork-opensource.org/#api>) allowing to upload and publish metadata in a 'GeoNetwork' web-application and expose it to OGC CSW.
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
## [geonapi 0.6-2](https://github.com/eblondel/geonapi) | [![CRAN_Status_Badge](https://img.shields.io/badge/CRAN-unavailable-red.svg)](https://github.com/eblondel/geonapi)

**Enhancements**

* [#26](https://github.com/eblondel/geonapi/issues/26) Improve error handling for metadata upload

## [geonapi 0.6-1](https://cran.r-project.org/package=geonapi) | [![CRAN_Status_Badge](https://img.shields.io/badge/CRAN-published-blue.svg)](https://cran.r-project.org/package=geonapi)

**Corrections**

* [#25](https://github.com/eblondel/geonapi/issues/25) Upgrade roxygen2 7.2.1 to fix html issues

## [geonapi 0.6](https://cran.r-project.org/package=geonapi) | [![CRAN_Status_Badge](https://img.shields.io/badge/CRAN-published-blue.svg)](https://cran.r-project.org/package=geonapi)
## [geonapi 0.6](https://cran.r-project.org/src/contrib/Archive/geonapi/geonapi_0.6.tar.gz) | [![CRAN_Status_Badge](https://img.shields.io/badge/CRAN-published-blue.svg)](https://cran.r-project.org/src/contrib/Archive/geonapi/geonapi_0.6.tar.gz)

**New features**

Expand Down
1 change: 0 additions & 1 deletion R/GNOpenAPIManager.R
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ GNOpenAPIManager <- R6Class("GNOpenAPIManager",
out <- response
}else{
self$ERROR(sprintf("Error while uploading metadata - %s", message_for_status(status_code(req))))
self$ERROR(content(req))
}
if(isTempFile) unlink(file)
return(out)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
===========

[![Build Status](https://github.com/eblondel/geonapi/actions/workflows/r-cmd-check.yml/badge.svg?branch=master)](https://github.com/eblondel/geonapi/actions/workflows/r-cmd-check.yml)
[![Github_Status_Badge](https://img.shields.io/badge/Github-0.6--1-blue.svg)](https://github.com/eblondel/geonapi)
[![Github_Status_Badge](https://img.shields.io/badge/Github-0.6--2-blue.svg)](https://github.com/eblondel/geonapi)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/geonapi)](https://cran.r-project.org/package=geonapi)
[![CRAN checks](https://cranchecks.info/badges/worst/geonapi)](https://cran.r-project.org/web/checks/check_results_geonapi.html)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1345012.svg)](https://doi.org/10.5281/zenodo.1345012)
Expand Down

0 comments on commit 0e349bd

Please sign in to comment.