CRAN Package Check Results for Package OSMscale

Last updated on 2025-09-22 21:48:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.22 35.07 302.90 337.97 OK
r-devel-linux-x86_64-debian-gcc 0.5.22 23.10 188.43 211.53 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.22 514.26 OK
r-devel-linux-x86_64-fedora-gcc 0.5.22 512.65 OK
r-devel-windows-x86_64 0.5.22 31.00 231.00 262.00 OK
r-patched-linux-x86_64 0.5.22 32.94 283.25 316.19 OK
r-release-linux-x86_64 0.5.22 32.94 283.29 316.23 OK
r-release-macos-arm64 0.5.22 108.00 OK
r-release-macos-x86_64 0.5.22 271.00 OK
r-release-windows-x86_64 0.5.22 31.00 235.00 266.00 OK
r-oldrel-macos-arm64 0.5.22 108.00 OK
r-oldrel-macos-x86_64 0.5.22 260.00 OK
r-oldrel-windows-x86_64 0.5.22 44.00 328.00 372.00 OK

Check Details

Version: 0.5.22
Check: examples
Result: ERROR Running examples in ‘OSMscale-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: earthDist > ### Title: distance between lat-long coordinates > ### Aliases: earthDist > ### Keywords: spatial > > ### ** Examples > > d <- read.table(header=TRUE, sep=",", text=" + lat, long + 52.514687, 13.350012 # Berlin + 51.503162, -0.131082 # London + 35.685024, 139.753365") # Tokio > earthDist(lat, long, d) # from Berlin to L and T: 928 and 8922 km [1] 0.0000 928.1557 8922.2195 > earthDist(lat, long, d, i=2) # from London to B and T: 928 and 9562 km [1] 928.1557 0.0000 9561.9303 > > # slightly different with other formulas: > # install.packages("geosphere") > # geosphere::distHaversine(as.matrix(d[1,2:1]), as.matrix(d[2,2:1])) / 1000 > > # Distance along vector of points: > d <- data.frame(lat=21:50, long=1:30) > pointsMap(lat,long,d, zoom=2, proj=putm(1:30) ) Downloading map with extend -0.45, 31.45, 19.55, 51.45 ... Could not open Bing aerials attribution metadata. java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getRGB(int, int, int, int, int[], int, int)" because the return value of "org.openstreetmap.gui.jmapviewer.Tile.getImage()" is null at edu.cens.spatial.RTileController.getTileValues(RTileController.java:109) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at RJavaTools.invokeMethod(RJavaTools.java:399) Error in osmtile(x%%nX, y, zoom, type) : could not obtain tile: 1 1 2 Calls: pointsMap -> <Anonymous> -> osmtile Execution halted Flavor: r-devel-linux-x86_64-debian-gcc