Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MansMeg committed Nov 18, 2023
1 parent ac61bcb commit f5036b0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions RPackage/man/get_dcat_ap_rdf_modified_date.Rd

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

4 changes: 2 additions & 2 deletions RPackage/tests/testthat/test-polls_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ test_that(desc="throw warnings",{


test_that(desc="check modified date",{
dcat_ap_rdf_modified_date <- get_dcat_ap_rdf_modified_date()
expect_true(abs(Sys.Date()-dcat_ap_rdf_modified_date < 14), info = "Please update 'dcterms:modified' in 'dcat-ap.rdf'")
dcat_ap_rdf_modified_date <- SwedishPolls:::get_dcat_ap_rdf_modified_date()
expect_true(abs(as.integer(Sys.Date()-dcat_ap_rdf_modified_date)) < 14, info = "Please update 'dcterms:modified' in 'dcat-ap.rdf'")
})

0 comments on commit f5036b0

Please sign in to comment.