CRAN Package Check Results for Package OSMscale

Last updated on 2020-05-29 03:48:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.1 12.61 107.52 120.13 OK
r-devel-linux-x86_64-debian-gcc 0.5.1 10.16 81.89 92.05 OK
r-devel-linux-x86_64-fedora-clang 0.5.1 147.36 OK
r-devel-linux-x86_64-fedora-gcc 0.5.1 147.20 OK
r-devel-windows-ix86+x86_64 0.5.1 35.00 164.00 199.00 OK
r-patched-linux-x86_64 0.5.1 12.19 104.75 116.94 OK
r-patched-solaris-x86 0.5.1 205.50 ERROR
r-release-linux-x86_64 0.5.1 12.03 104.44 116.47 OK
r-release-osx-x86_64 0.5.1 OK
r-release-windows-ix86+x86_64 0.5.1 28.00 160.00 188.00 OK
r-oldrel-osx-x86_64 0.5.1 OK
r-oldrel-windows-ix86+x86_64 0.5.1 23.00 110.00 133.00 OK

Check Details

Version: 0.5.1
Check: examples
Result: ERROR
    Running examples in ‘OSMscale-Ex.R’ failed
    The error most likely occurred in:
    
    > ### 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
    >
    >
    > # compare with UTM distance
    > set.seed(42)
    > d <- data.frame(lat=runif(100, 47,54), long=runif(100, 6, 15))
    > d2 <- projectPoints(d$lat, d$long)
    Error in !get("has_proj_def.dat", envir = .RGDAL_CACHE) :
     invalid argument type
    Calls: projectPoints -> pll -> <Anonymous> -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86