* using log directory ‘/data/gannet/ripley/R/packages/tests-MKL/banR.Rcheck’ * using R Under development (unstable) (2021-03-08 r80083) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘banR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘banR’ version ‘0.2.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘banR’ can be installed ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/12s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘banR-Ex.R’ failed The error most likely occurred in: > ### Name: geocode_tbl > ### Title: Geocode tbl > ### Aliases: geocode_tbl > > ### ** Examples > > > table_test <- tibble::tibble( + x = c("39 quai Andre Citroen", "64 Allee de Bercy", "20 avenue de Segur"), + y = c("75015", "75012", "75007"), + z = rnorm(3) + ) > > geocode_tbl(tbl = table_test, adresse = x) Writing tempfile to.../tmp/RtmpiFhFVH/working_dir/RtmpUJSqrM/filee4bbf5919763b.csv Warning: The `path` argument of `write_csv()` is deprecated as of readr 1.4.0. Please use the `file` argument instead. This warning is displayed once every 8 hours. Call `lifecycle::last_warnings()` to see where this warning was generated. If file is larger than 8 MB, it must be splitted Size is : 61 bytes Server errorBad GatewayServer error: (502) Bad Gateway Error in geocode_tbl(tbl = table_test, adresse = x) : The API sent back an error 502 Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("banR") > test_check("banR") ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test_geocodetbl.R:12:3): Geocode tbl works ────────────────────────── Error: The API sent back an error 502 Backtrace: █ 1. ├─testthat::expect_s3_class(...) test_geocodetbl.R:12:2 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─banR::geocode_tbl(tbl = table_test, adresse = x) ── Error (test_geocodetbl.R:31:3): Input and output DFs have a similar number of rows ── Error: The API sent back an error 502 Backtrace: █ 1. └─banR::geocode_tbl(tbl = table_test, adresse = adresses, code_insee = code_insee) test_geocodetbl.R:31:2 ── Error (test_geocodetbl.R:48:5): Geocode_tbl works with a single-column input data.frame ── Error: The API sent back an error 502 Backtrace: █ 1. ├─testthat::expect_is(...) test_geocodetbl.R:48:4 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─banR::geocode_tbl(tbl = table_test, adresse = city) ── Error (test_geocodetbl.R:77:5): Code INSEE and Code postal return the same result ── Error: The API sent back an error 502 Backtrace: █ 1. ├─testthat::expect_true(...) test_geocodetbl.R:77:4 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─dplyr::all_equal(...) 5. │ └─dplyr:::equal_data_frame(...) 6. │ └─dplyr:::is_compatible_data_frame(...) 7. │ └─base::ncol(x) 8. └─banR::geocode_tbl(tbl = table_check, adresse = num_voie, code_postal = cp) [ FAIL 4 | WARN 1 | SKIP 0 | PASS 3 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... WARNING Error(s) in re-building vignettes: --- re-building ‘geocode.Rmd’ using rmarkdown Quitting from lines 47-49 (geocode.Rmd) Error: processing vignette 'geocode.Rmd' failed with diagnostics: The API sent back an error 502 --- failed re-building ‘geocode.Rmd’ SUMMARY: processing the following file failed: ‘geocode.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 WARNING See ‘/data/gannet/ripley/R/packages/tests-MKL/banR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:49.86, 37.11 + 5.53