Skip to content

Commit

Permalink
fix #189
Browse files Browse the repository at this point in the history
eblondel committed Mar 15, 2022
1 parent eda36d3 commit 84a07c2
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions R/ISOAbstractObject.R
Original file line number Diff line number Diff line change
@@ -1048,11 +1048,15 @@ ISOAbstractObject <- R6Class("ISOAbstractObject",

if(inspire){
if(!is.null(inspireValidator) && is(inspireValidator, "INSPIREMetadataValidator")){
inspireReport <- inspireValidator$getValidationReport(obj = self)
isValid <- list(
ISO = isValid,
INSPIRE = inspireReport
)
if(inspireValidator$running){
inspireReport <- inspireValidator$getValidationReport(obj = self)
isValid <- list(
ISO = isValid,
INSPIRE = inspireReport
)
}else{
self$WARN(sprintf("INSPIRE Metadata validator service (%s) is not running", inspireValidator$url))
}
}else{
self$WARN("No INSPIRE Metadata validator set, aborting INSPIRE metadata validation!")
}
2 changes: 1 addition & 1 deletion R/geometa.R
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
#' Package: \tab geometa\cr
#' Type: \tab Package\cr
#' Version: \tab 0.6-7\cr
#' Date: \tab 2022-02-14\cr
#' Date: \tab 2022-03-15\cr
#' License: \tab MIT\cr
#' LazyLoad: \tab yes\cr
#' }
2 changes: 1 addition & 1 deletion man/geometa.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84a07c2

Please sign in to comment.