CRAN Package Check Results for Package nlgeocoder

Last updated on 2019-06-18 01:48:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 1.68 27.94 29.62 OK
r-devel-linux-x86_64-debian-gcc 0.1.3 1.50 22.78 24.28 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 34.74 OK
r-devel-linux-x86_64-fedora-gcc 0.1.3 33.39 OK
r-devel-windows-ix86+x86_64 0.1.3 7.00 64.00 71.00 OK
r-patched-linux-x86_64 0.1.3 1.41 23.66 25.07 ERROR
r-patched-solaris-x86 0.1.3 59.10 WARN
r-release-linux-x86_64 0.1.3 1.76 28.15 29.91 OK
r-release-windows-ix86+x86_64 0.1.3 5.00 64.00 69.00 OK
r-release-osx-x86_64 0.1.3 WARN
r-oldrel-windows-ix86+x86_64 0.1.3 3.00 63.00 66.00 OK
r-oldrel-osx-x86_64 0.1.3 WARN

Check Details

Version: 0.1.3
Check: examples
Result: ERROR
    Running examples in ‘nlgeocoder-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: nl_free
    > ### Title: Free geocoding search
    > ### Aliases: nl_free
    >
    > ### ** Examples
    >
    > l <- nl_free("Henri Faasdreef 312")
    Warning in open.connection(con, "rb") :
     URL 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?q=Henri%20Faasdreef%20312': status was 'Failure when receiving data from the peer'
    Error in open.connection(con, "rb") :
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?q=Henri%20Faasdreef%20312'
    Calls: nl_free ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/83s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(nlgeocoder)
     >
     > test_check("nlgeocoder")
     ── 1. Error: Dataframe returned (not an sf object) (@test-nl_geocode.R#41) ────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=Martinikerkhof%203%20Groningen&rows=1'
     1: nl_geocode("Martinikerkhof 3 Groningen", output = "data.frame") at testthat/test-nl_geocode.R:41
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 2. Error: return as wgs84 is working (@test-nl_geocode.R#46) ───────────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=Martinikerkhof%203%20Groningen&rows=1'
     1: nl_geocode("Martinikerkhof 3 Groningen", output = "wgs84") at testthat/test-nl_geocode.R:46
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 3. Error: return as rd is working (@test-nl_geocode.R#51) ──────────────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=Martinikerkhof%203%20Groningen&rows=1'
     1: nl_geocode("Martinikerkhof 3 Groningen", output = "rd") at testthat/test-nl_geocode.R:51
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 4. Error: return as data.frame is working (@test-nl_geocode.R#56) ──────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=Martinikerkhof%203%20Groningen&rows=1'
     1: nl_geocode("Martinikerkhof 3 Groningen", output = "data.frame") at testthat/test-nl_geocode.R:56
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 5. Error: restrict search to Groningen (@test-nl_geocode.R#61) ─────────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=provincienaam:Groningen&q=Hoofdstraat&rows=1'
     1: nl_geocode("Hoofdstraat", fq = "provincienaam:Groningen") at testthat/test-nl_geocode.R:61
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 6. Error: restrict fields (@test-nl_geocode.R#66) ──────────────────────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=Hoofdstraat&fl=woonplaatsnaam,centroide_ll&rows=1'
     1: nl_geocode("Hoofdstraat", fl = c("woonplaatsnaam", "centroide_ll")) at testthat/test-nl_geocode.R:66
     2: lapply(as.character(location), function(loc) {
     res <- nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     if (res$response$numFound) {
     res$response$docs[1, ]
     }
     })
     3: FUN(X[[i]], ...)
     4: nl_free(q = loc, type = type, ..., rows = 1, verbose = verbose)
     5: jsonlite::read_json(q_url, simplifyVector = TRUE)
     6: parse_json(file(path), simplifyVector = simplifyVector, ...)
     7: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     8: parseJSON(txt, bigint_as_char)
     9: parse_con(txt, bigint_as_char)
     10: open(con, "rb")
     11: open.connection(con, "rb")
    
     ── 7. Error: Dvorákhof (@test-utf8.R#4) ───────────────────────────────────────
     cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/suggest?q=Dvor%C3%A1khof'
     1: nl_suggest("Dvorákhof") at testthat/test-utf8.R:4
     2: jsonlite::read_json(q_url, simplifyVector = TRUE)
     3: parse_json(file(path), simplifyVector = simplifyVector, ...)
     4: parse_and_simplify(json, simplifyVector = simplifyVector, ...)
     5: parseJSON(txt, bigint_as_char)
     6: parse_con(txt, bigint_as_char)
     7: open(con, "rb")
     8: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 0 SKIPPED: 26 WARNINGS: 7 FAILED: 7
     1. Error: Dataframe returned (not an sf object) (@test-nl_geocode.R#41)
     2. Error: return as wgs84 is working (@test-nl_geocode.R#46)
     3. Error: return as rd is working (@test-nl_geocode.R#51)
     4. Error: return as data.frame is working (@test-nl_geocode.R#56)
     5. Error: restrict search to Groningen (@test-nl_geocode.R#61)
     6. Error: restrict fields (@test-nl_geocode.R#66)
     7. Error: Dvorákhof (@test-utf8.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘geocode.Rmd’ using rmarkdown
    Quitting from lines 49-52 (geocode.Rmd)
    Error: processing vignette 'geocode.Rmd' failed with diagnostics:
    cannot open the connection to 'https://geodata.nationaalgeoregister.nl/locatieserver/v3/free?fq=type:adres&q=st%20jansstr%204%20groningen&rows=1'
    --- failed re-building ‘geocode.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘geocode.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘geocode.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 127-133 (geocode.Rmd)
    Error: processing vignette 'geocode.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    --- failed re-building ‘geocode.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘geocode.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘geocode.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 127-133 (geocode.Rmd)
    Error: processing vignette 'geocode.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘geocode.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘geocode.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-osx-x86_64

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 127-133 (geocode.Rmd)
    Error: processing vignette 'geocode.Rmd' failed with diagnostics:
    cannot open the connection
    Execution halted
Flavor: r-oldrel-osx-x86_64