* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/fuzzyjoin.Rcheck’ * using R Under development (unstable) (2024-04-19 r86451) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘fuzzyjoin/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fuzzyjoin’ version ‘0.1.6’ * 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 ‘fuzzyjoin’ can be installed ... [9s/11s] 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 code 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 ... [12s/15s] OK * checking Rd files ... NOTE checkRd: (-1) misspellings.Rd:18: Lost braces 18 | This is a code{tbl_df} mapping misspellings of their words, compiled by | ^ * 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 LazyData ... 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 ‘fuzzyjoin-Ex.R’ failed The error most likely occurred in: > ### Name: geo_join > ### Title: Join two tables based on a geo distance of longitudes and > ### latitudes > ### Aliases: geo_join geo_inner_join geo_left_join geo_right_join > ### geo_full_join geo_semi_join geo_anti_join > > ### ** Examples > > > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > data("state") > > # find pairs of US states whose centers are within > # 200 miles of each other > states <- data_frame(state = state.name, + longitude = state.center$x, + latitude = state.center$y) > > s1 <- rename(states, state1 = state) > s2 <- rename(states, state2 = state) > > pairs <- s1 %>% + geo_inner_join(s2, max_dist = 200) %>% + filter(state1 != state2) Joining by: c("longitude", "latitude") > > pairs # A tibble: 74 × 6 state1 longitude.x latitude.x state2 longitude.y latitude.y 1 Alabama -86.8 32.6 Georgia -83.4 32.3 2 Alabama -86.8 32.6 Mississippi -89.8 32.7 3 Connecticut -72.4 41.6 Massachusetts -71.6 42.4 4 Connecticut -72.4 41.6 New Hampshire -71.4 43.4 5 Connecticut -72.4 41.6 New Jersey -74.2 40.0 6 Connecticut -72.4 41.6 New York -75.1 43.1 7 Connecticut -72.4 41.6 Rhode Island -71.1 41.6 8 Connecticut -72.4 41.6 Vermont -72.5 44.3 9 Delaware -75.0 38.7 Maryland -76.6 39.3 10 Delaware -75.0 38.7 New Jersey -74.2 40.0 # ℹ 64 more rows > > # plot them > library(ggplot2) Error in library(ggplot2) : there is no package called ‘ggplot2’ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [3s/12s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(fuzzyjoin) > > test_check("fuzzyjoin") Error in `FUN()`: ! In path: "/data/gannet/ripley/R/packages/tests-Suggests/fuzzyjoin.Rcheck/tests/testthat/helper-packages.R" Caused by error in `library()`: ! there is no package called 'ggplot2' Backtrace: ▆ 1. ├─testthat::test_check("fuzzyjoin") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─base::suppressPackageStartupMessages(library(ggplot2)) at tests/testthat/helper-packages.R:1:1 15. │ │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 16. │ └─base::library(ggplot2) 17. │ └─base::stop(packageNotFoundError(package, lib.loc, sys.call())) 18. └─testthat (local) ``(``) 19. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [8s/12s] OK * checking HTML 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 NOTE See ‘/data/gannet/ripley/R/packages/tests-Suggests/fuzzyjoin.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:57.63, 73.89 + 10.83