Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 1, 2025
1 parent 2850996 commit a009400
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion R/ISOFeatureType19115_3.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @format \code{\link[R6]{R6Class}} object.
#'
#' @examples
#' \dontrun{
#' setMetadataStandard("19115-3") #required
#' #featuretype
#' md <- ISOFeatureType$new()
Expand Down Expand Up @@ -57,7 +58,7 @@
#' }
#' xml <- md$encode()
#' setMetadataStandard("19139")
#'
#' }
#' @references
#' - ISO 19110 - GFC 1.1 https://schemas.isotc211.org/19110/gfc/1.1/gfc/#element_FC_FeatureType
#'
Expand Down
9 changes: 6 additions & 3 deletions R/ISOInstrumentationEventType.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
#' @format \code{\link[R6]{R6Class}} object.
#'
#' @examples
#' md <- ISOInstrumentationEventType$new()
#'
#' \dontrun{
#' setMetadataStandard("19115-3")
#' md <- ISOInstrumentationEventType$new("type")
#' setMetadataStandard("19139")
#' }
#' @references
#' - 19139 \url{https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi/#element_MI_InstrumentationEventTypeCode}
#'
Expand All @@ -32,7 +35,7 @@ ISOInstrumentationEventType <- R6Class("ISOInstrumentationEventType",
#'@param xml object of class \link[XML]{XMLInternalNode-class}
#'@param value value
#'@param description description
initialize = function(xml = NULL, value = NULL, description = NULL){
initialize = function(xml = NULL, value, description = NULL){
super$initialize(xml = xml, id = private$xmlElement, value = value, description = description,
addCodeSpaceAttr = FALSE)
}
Expand Down
3 changes: 2 additions & 1 deletion man/ISOFeatureType19115_3.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/ISOImagerySensor.Rd

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

7 changes: 5 additions & 2 deletions man/ISOInstrumentationEventType.Rd

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

0 comments on commit a009400

Please sign in to comment.