Skip to content

Commit

Permalink
fix rdoc and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Dec 30, 2024
1 parent 575d4bd commit 2952623
Show file tree
Hide file tree
Showing 18 changed files with 82 additions and 52 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export(ISOAbstractDataEvaluation)
export(ISOAbstractDataQuality)
export(ISOAbstractDistribution)
export(ISOAbstractExtent)
export(ISOAbstractFeatureCatalogue)
export(ISOAbstractFeatureType)
export(ISOAbstractFormat)
export(ISOAbstractGenericName)
Expand Down Expand Up @@ -404,7 +405,6 @@ export(ISOUsabilityElement)
export(ISOUsage)
export(ISOVectorSpatialRepresentation)
export(ISOVerticalExtent)
export(ISoAbstractFeatureCatalogue)
export(SWEAbstractDataComponent)
export(SWEAbstractEncoding)
export(SWEAbstractObject)
Expand Down
4 changes: 2 additions & 2 deletions R/GMLCompoundCRS.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#' @importFrom R6 R6Class
#' @export
#' @keywords ISO GML compound CRS
#' @return Object of \code{\link [R6]{R6Class}} for modelling an GMLCompoundCRS
#' @format \code{\link [R6]{R6Class}} object.
#' @return Object of \code{\link[R6]{R6Class}} for modelling an GMLCompoundCRS
#' @format \code{\link[R6]{R6Class}} object.
#'
#' @references
#' ISO 19136:2007 Geographic Information -- Geographic Markup Language.
Expand Down
4 changes: 2 additions & 2 deletions R/ISOAbstractFeatureCatalogue.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' ISoAbstractFeatureCatalogue
#' ISOAbstractFeatureCatalogue
#'
#' @docType class
#' @importFrom R6 R6Class
Expand All @@ -12,7 +12,7 @@
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
ISoAbstractFeatureCatalogue <- R6Class("ISoAbstractFeatureCatalogue",
ISOAbstractFeatureCatalogue <- R6Class("ISOAbstractFeatureCatalogue",
inherit = ISOAbstractCatalogue,
private = list(
xmlElement = "Abstract_FeatureCatalogue",
Expand Down
8 changes: 4 additions & 4 deletions R/ISODataQualityPositionalAccuracy.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#' @format \code{\link[R6]{R6Class}} object.
#'
#' @references
#' - ISO 19139 \url{https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_AbstractDQ_PositionalAccuracy}{element_AbstractDQ_PositionalAccuracy}
#' - ISO 19139 \url{https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_AbstractDQ_PositionalAccuracy}
#'
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19157/-/mdq/1.2/mdq/#element_AbstractDQ_PositionalAccuracy}{element_AbstractDQ_PositionalAccuracy}
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19157/-/mdq/1.2/mdq/#element_AbstractDQ_PositionalAccuracy}
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
Expand Down Expand Up @@ -61,9 +61,9 @@ ISOAbstractPositionalAccuracy <- R6Class("ISOAbstractPositionalAccuracy",
#' xml <- dq$encode()
#'
#' @references
#' - ISO 19139 \url{https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_DQ_AbsoluteExternalPositionalAccuracy}{element_DQ_AbsoluteExternalPositionalAccuracy}
#' - ISO 19139 \url{https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_DQ_AbsoluteExternalPositionalAccuracy}
#'
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19157/-/mdq/1.2/mdq/#element_DQ_AbsoluteExternalPositionalAccuracy}{element_DQ_AbsoluteExternalPositionalAccuracy}
#' - ISO 19115-3 \url{https://schemas.isotc211.org/19157/-/mdq/1.2/mdq/#element_DQ_AbsoluteExternalPositionalAccuracy}
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
Expand Down
2 changes: 1 addition & 1 deletion R/ISOFeatureTypeInfo.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ISOFeatureTypeInfo <- R6Class("ISOFeatureTypeInfo",
},

#'@description Set feature type Name
#'@param name object of class \link{ISOGenericName} or \link{character}
#'@param name object of class \link{ISOAbstractGenericName} or \link{character}
setFeatureTypeName = function(name){
if(!is(name, "ISOAbstractGenericName")){
name = ISOAbstractGenericName$new(value = name)
Expand Down
2 changes: 1 addition & 1 deletion R/ISOStandaloneQualityReportInformation.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ISOStandaloneQualityReportInformation <- R6Class("ISOStandaloneQualityReportInfo
},

#'@description set Report reference
#'@param reportReference object of class \link{ISOCiation}
#'@param reportReference object of class \link{ISOCitation}
setReportReference = function(reportReference){
if(!is(reportReference, "ISOCitation")){
stop("The argument should be an object of class 'ISOCitation'")
Expand Down
4 changes: 2 additions & 2 deletions man/GMLCompoundCRS.Rd

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

4 changes: 2 additions & 2 deletions man/ISOAbsoluteExternalPositionalAccuracy.Rd

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

4 changes: 2 additions & 2 deletions man/ISOAbstractPositionalAccuracy.Rd

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

2 changes: 1 addition & 1 deletion man/ISOFeatureTypeInfo.Rd

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

2 changes: 1 addition & 1 deletion man/ISOStandaloneQualityReportInformation.Rd

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

28 changes: 14 additions & 14 deletions man/ISoAbstractFeatureCatalogue.Rd

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

2 changes: 1 addition & 1 deletion man/geometa_coverage.Rd

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

14 changes: 12 additions & 2 deletions man/getISOMetadataSchemaFile.Rd

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

6 changes: 3 additions & 3 deletions man/getISOMetadataSchemas.Rd

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

11 changes: 0 additions & 11 deletions man/setISOMetadataNamespaces.Rd

This file was deleted.

12 changes: 10 additions & 2 deletions man/setISOMetadataSchemas.Rd

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

23 changes: 23 additions & 0 deletions man/setMetadataNamespaces.Rd

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

0 comments on commit 2952623

Please sign in to comment.