Skip to content

Commit

Permalink
Update test_ISOCodelistCatalogue.R
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel authored Dec 31, 2024
1 parent 74b7c02 commit 2850996
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/testthat/test_ISOCodelistCatalogue.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ context("ISOCodelistCatalogue")

test_that("encoding",{
testthat::skip_on_cran()
#TODO performance!!!!!!
system.time(cat <- ISOCodelistCatalogue$new(xml = XML::xmlRoot(XML::xmlParse("inst/extdata/codelists/gmxCodelists.xml"))))
system.time(mlcat <- ISOCodelistCatalogue$new(xml = XML::xmlParse("inst/extdata/codelists/ML_gmxCodelists.xml")))
system.time(newcat <- ISOCodelistCatalogue$new(xml = XML::xmlParse("inst/extdata/schemas/19115/resources/Codelists/cat/codelists.xml")))
#system.time(cat <- ISOCodelistCatalogue$new(xml = XML::xmlRoot(XML::xmlParse("inst/extdata/codelists/gmxCodelists.xml"))))
#system.time(mlcat <- ISOCodelistCatalogue$new(xml = XML::xmlParse("inst/extdata/codelists/ML_gmxCodelists.xml")))
#system.time(newcat <- ISOCodelistCatalogue$new(xml = XML::xmlParse("inst/extdata/schemas/19115/resources/Codelists/cat/codelists.xml")))
})

0 comments on commit 2850996

Please sign in to comment.