Skip to content

Commit

Permalink
fix tests and rdoc to remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Oct 30, 2019
1 parent cf173a5 commit 05fb49c
Show file tree
Hide file tree
Showing 44 changed files with 156 additions and 157 deletions.
6 changes: 3 additions & 3 deletions R/ISOAggregateInformation.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' md$setAggregateDataSetName(ct)
#'
#' md$setAssociationType("source")
Expand Down
6 changes: 3 additions & 3 deletions R/ISOCitation.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
#' md$setTitle("sometitle")
#' md$setEdition("1.0")
#' md$setEditionDate(ISOdate(2015,1,1))
#' md$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' md$setPresentationForm("mapDigital")
#' md$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' md$addPresentationForm("mapDigital")
#'
#' #add a cited responsible party
#' rp <- ISOResponsibleParty$new()
Expand All @@ -126,7 +126,7 @@
#' res$setName("somename")
#' contact$setOnlineResource(res)
#' rp$setContactInfo(contact)
#' md$setCitedResponsibleParty(rp)
#' md$addCitedResponsibleParty(rp)
#' xml <- md$encode()
#'
#' @references
Expand Down
6 changes: 3 additions & 3 deletions R/ISODataIdentification.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015, 1, 1, 1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' md$setCitation(ct)
#'
#' #graphic overview
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryAlgorithm.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#' md$setCitation(ct)
#' md$setDescription("some description")
#'
Expand Down
8 changes: 4 additions & 4 deletions R/ISOImageryMetadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' ident$setCitation(ct)
#'
#' #graphic overview
Expand Down Expand Up @@ -432,7 +432,7 @@
#' rp = ISOResponsibleParty$new()
#' rp$setRole("publisher")
#' rp$setContactInfo(contact)
#' cit$setCitedResponsibleParty(rp)
#' cit$addCitedResponsibleParty(rp)
#' fcd$addFeatureCatalogueCitation(cit)
#' md$addContentInfo(fcd)
#'
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryPlan.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#' md$setCitation(ct)
#' xml <- md$encode()
#'
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryPlatform.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#' md$addCitation(ct)
#'
#' md$setIdentifier("identifier")
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryProcessStep.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#'
#' process$setIdentifier("identifier")
#' process$setProcedureDescription("some description")
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryProcessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#'
#' md$setIdentifier("identifier")
#' md$setProcedureDescription("some description")
Expand Down
6 changes: 3 additions & 3 deletions R/ISOImageryRequirement.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp1)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp1)
#' md$setCitation(ct)
#' md$addRequestor(rp1)
#' md$addRecipient(rp2)
Expand Down
8 changes: 4 additions & 4 deletions R/ISOMetadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' ident$setCitation(ct)
#'
#' #graphic overview
Expand Down Expand Up @@ -440,7 +440,7 @@
#' rp = ISOResponsibleParty$new()
#' rp$setRole("publisher")
#' rp$setContactInfo(contact)
#' cit$setCitedResponsibleParty(rp)
#' cit$addCitedResponsibleParty(rp)
#' fcd$addFeatureCatalogueCitation(cit)
#' md$addContentInfo(fcd)
#'
Expand Down
6 changes: 3 additions & 3 deletions R/ISOPortrayalCatalogueReference.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' md$addCitation(ct)
#'
#' xml <- md$encode()
Expand Down
12 changes: 6 additions & 6 deletions R/ISOServiceIdentification.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' md$setCitation(ct)
#'
#' #graphic overview
Expand Down Expand Up @@ -374,9 +374,9 @@ ISOServiceIdentification <- R6Class("ISOServiceIdentification",
#' ct$addDate(d)
#' ct$setEdition("1.0")
#' ct$setEditionDate(ISOdate(2015,1,1))
#' ct$setIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$setPresentationForm("mapDigital")
#' ct$setCitedResponsibleParty(rp)
#' ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#' ct$addPresentationForm("mapDigital")
#' ct$addCitedResponsibleParty(rp)
#' md$setCitation(ct)
#'
#' #graphic overview
Expand Down
6 changes: 3 additions & 3 deletions man/ISOAggregateInformation.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/ISOCitation.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/ISODataIdentification.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/ISOImageryAlgorithm.Rd

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

8 changes: 4 additions & 4 deletions man/ISOImageryMetadata.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/ISOImageryPlan.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/ISOImageryPlatform.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/ISOImageryProcessStep.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/ISOImageryProcessing.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/ISOImageryRequirement.Rd

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

8 changes: 4 additions & 4 deletions man/ISOMetadata.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/ISOPortrayalCatalogueReference.Rd

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

Loading

0 comments on commit 05fb49c

Please sign in to comment.