CRAN Package Check Results for Package fuzzySim

Last updated on 2025-12-03 05:50:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.38 27.50 229.28 256.78 OK
r-devel-linux-x86_64-debian-gcc 4.38 15.76 142.03 157.79 OK
r-devel-linux-x86_64-fedora-clang 4.38 99.00 306.63 405.63 OK
r-devel-linux-x86_64-fedora-gcc 4.38 55.00 341.34 396.34 OK
r-devel-windows-x86_64 4.38 24.00 190.00 214.00 OK
r-patched-linux-x86_64 4.38 24.15 219.74 243.89 OK
r-release-linux-x86_64 4.38 24.44 220.38 244.82 OK
r-release-macos-arm64 4.38 OK
r-release-macos-x86_64 4.38 37.00 216.00 253.00 OK
r-release-windows-x86_64 4.38 22.00 219.00 241.00 OK
r-oldrel-macos-arm64 4.38 OK
r-oldrel-macos-x86_64 4.38 37.00 211.00 248.00 OK
r-oldrel-windows-x86_64 4.38 34.00 239.00 273.00 ERROR

Check Details

Version: 4.38
Check: examples
Result: ERROR Running examples in 'fuzzySim-Ex.R' failed The error most likely occurred in: > ### Name: distMat > ### Title: Distance matrix for spatial coordinates > ### Aliases: distMat > > ### ** Examples > > # generate some random geographical coordinates: > > n_points <- 10 > > set.seed(123) > coords <- matrix(c(runif(n_points, min = -180, max = 180), + runif(n_points, min = -90, max = 90)), + ncol = 2) > > > # compute distance matrix: > > distMat(coords, dist_method = "euclidean") Using stats::dist() for distance computation. Results are less accurate, notably for large distances, as they don't consider the curvature of the Earth. 1 2 3 4 5 6 7 1 0.00000 201.76258 66.60947 225.23778 280.83578 87.72976 154.48302 2 201.76258 0.00000 142.39827 40.29507 83.54018 279.20641 100.82676 3 66.60947 142.39827 0.00000 171.69673 217.50570 136.81120 88.72082 4 225.23778 40.29507 171.69673 0.00000 87.04042 307.18451 140.64002 5 280.83578 83.54018 217.50570 87.04042 0.00000 352.65814 150.67029 6 87.72976 279.20641 136.81120 307.18451 352.65814 0.00000 209.82059 7 154.48302 100.82676 88.72082 140.64002 150.67029 209.82059 0.00000 8 272.99207 82.97700 208.26704 95.56325 20.47503 341.73777 136.19768 9 147.77706 88.21072 81.18625 127.23744 145.78974 209.19739 16.95606 10 60.85484 149.65406 52.71553 168.19185 232.02830 148.30790 130.08619 8 9 10 1 272.99207 147.77706 60.85484 2 82.97700 88.21072 149.65406 3 208.26704 81.18625 52.71553 4 95.56325 127.23744 168.19185 5 20.47503 145.78974 232.02830 6 341.73777 209.19739 148.30790 7 136.19768 16.95606 130.08619 8 0.00000 133.10231 227.13232 9 133.10231 0.00000 117.83742 10 227.13232 117.83742 0.00000 > > distMat(coords, dist_method = "auto") Warning: [is.lonlat] assuming lon/lat crs -> using 'cosine' distance Warning: [is.lonlat] assuming lon/lat crs Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Warning: [set_crs] Cannot set SRS to vector: empty srs Warning in distMat(coords, dist_method = "auto") : Null or empty CRS; assuming EPSG:4326. Error: [distance] crs not defined Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.