CRAN Package Check Results for Package RSEIS

Last updated on 2024-11-12 15:50:02 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2-4 25.65 168.33 193.98 OK
r-devel-linux-x86_64-debian-gcc 4.2-4 18.10 100.66 118.76 ERROR
r-devel-linux-x86_64-fedora-clang 4.2-4 311.66 OK
r-devel-linux-x86_64-fedora-gcc 4.2-4 297.12 OK
r-devel-windows-x86_64 4.2-4 31.00 188.00 219.00 ERROR
r-patched-linux-x86_64 4.2-4 31.84 153.45 185.29 OK
r-release-linux-x86_64 4.2-4 26.78 154.42 181.20 OK
r-release-macos-arm64 4.2-4 85.00 OK
r-release-macos-x86_64 4.2-4 169.00 OK
r-release-windows-x86_64 4.2-4 31.00 274.00 305.00 ERROR
r-oldrel-macos-arm64 4.2-4 89.00 OK
r-oldrel-macos-x86_64 4.2-4 194.00 OK
r-oldrel-windows-x86_64 4.2-4 31.00 226.00 257.00 ERROR

Check Details

Version: 4.2-4
Check: examples
Result: ERROR Running examples in ‘RSEIS-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rdistaz > ### Title: Distance and Azimuth from two points > ### Aliases: rdistaz > ### Keywords: misc > > ### ** Examples > > > > #### one point > d <- rdistaz(12, 23, -32, -65) > d $del [1] 94.65908 $dist [1] 10537.52 $az [1] -121.7512 $baz [1] 78.75216 $err [1] 1 > > #### many random target points > org <- c(80.222, -100.940) > targ <- cbind(runif(10, 10, 50), runif(10, 20, 100)) > > > rdistaz(org[1], org[2], targ[,1], targ[,2]) $del [1] 76.70169 72.20434 66.84115 52.44115 81.70163 53.37266 51.98755 62.80110 [9] 63.52994 87.29231 $dist [1] 8538.485 8037.838 7440.804 5837.786 9095.083 5941.482 5787.290 6991.062 [9] 7072.197 9717.441 $az [1] 40.597783 42.293619 3.741355 24.418005 -2.428061 16.596012 [7] 1.407483 -18.283711 25.973784 -3.064983 $baz [1] -6.7814039 -7.2374261 -0.7563742 -5.8354197 0.4336215 -3.9995166 [7] -0.3557314 3.7970245 -5.2201956 0.5328623 $err [1] 1 1 1 1 1 1 1 1 1 1 > > ############ if origin and target are identical > ##### the distance is zero, but the az and baz are not defined > rdistaz(80.222, -100.940, 80.222, -100.940) $del [1] 0 $dist [1] 0 $az [1] NA $baz [1] NA $err [1] 0 > > > ######################## set one of the targets equal to the origin > targ[7,1] <- org[1] > targ[7,2] <- org[2] > > rdistaz(org[1], org[2], targ[,1], targ[,2]) $del [1] 76.70169 72.20434 66.84115 52.44115 81.70163 53.37266 0.00000 62.80110 [9] 63.52994 87.29231 $dist [1] 8538.485 8037.838 7440.804 5837.786 9095.083 5941.482 0.000 6991.062 [9] 7072.197 9717.441 $az [1] 40.597783 42.293619 3.741355 24.418005 -2.428061 16.596012 [7] NA -18.283711 25.973784 -3.064983 $baz [1] -6.7814039 -7.2374261 -0.7563742 -5.8354197 0.4336215 -3.9995166 [7] NA 3.7970245 -5.2201956 0.5328623 $err [1] 1 1 1 1 1 1 0 1 1 1 > > #### put in erroneous latitude data > > targ[3,1] <- -91.3 > > > rdistaz(org[1], org[2], targ[,1], targ[,2]) $del [1] 76.70169 72.20434 NA 52.44115 81.70163 53.37266 0.00000 62.80110 [9] 63.52994 87.29231 $dist [1] 8538.485 8037.838 NA 5837.786 9095.083 5941.482 0.000 6991.062 [9] 7072.197 9717.441 $az [1] 40.597783 42.293619 NA 24.418005 -2.428061 16.596012 [7] NA -18.283711 25.973784 -3.064983 $baz [1] -6.7814039 -7.2374261 NA -5.8354197 0.4336215 -3.9995166 [7] NA 3.7970245 -5.2201956 0.5328623 $err [1] 1 1 0 1 1 1 0 1 1 1 > ########### > ### New York and Chapel Hill > NY =list(lat=40.6698, lon=286.0562) > CH = list(lat=35.92761, lon=280.9594) > ## h = GEOmap::distaz(CH$lat, CH$lon, NY$lat, NY$lon) > h = rdistaz(CH$lat, CH$lon, NY$lat, NY$lon) > > ####### get great circle ray path > RAY = GEOmap::getgreatarc(CH$lat, CH$lon, NY$lat, NY$lon, 100) Error in loadNamespace(x) : there is no package called ‘GEOmap’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.2-4
Check: examples
Result: ERROR Running examples in 'RSEIS-Ex.R' failed The error most likely occurred in: > ### Name: editDB > ### Title: Edit Data Base > ### Aliases: editDB pathDB > ### Keywords: misc > > ### ** Examples > > > ########## create a data set and a DB > tdir = tempdir() > data(GH) > > DD = data.frame(GH$info) > WV = which(GH$COMPS=='V') > > L1 = length(WV) > > ###### > GIVE = vector(mode='list') > > for(j in 1:L1) + { + i = WV[j] + AA = DD[i,] + + GIVE[[j]] = list(fn = AA$fn, sta =GH$STNS[i] , comp = GH$COMP[i], + dt = AA$dt, DATTIM = AA, N = AA$n1, units = NA, + coords = NA, amp = GH$JSTR[[i]] ) + + } > > ####### save files in the tempdir > for(i in 1:length(GIVE) ) + { + + sig = GIVE[[i]] + d1 = dateStamp(sig$DATTIM) + nam1 = paste(d1,sig$sta, sig$comp, sep='_') + nam2 = paste0(nam1, '.RDS') + nam3 = paste(tdir, nam2, sep='/') + saveRDS(file=nam3, sig) + } > LF = list.files(path=tdir,pattern='.RDS', full.names=TRUE) > > ####### make the database > cosoDB = FmakeDB(LF, kind=-1) > > ###### change the DB path: > path1<-tdir > path2<-"." > > ####### change the path name of the trace files > newDB <- pathDB(cosoDB, path1, path2 ) Warning in sub(path1, path2, fns, perl = TRUE) : PCRE pattern compilation error 'PCRE2 does not support \F, \L, \l, \N{name}, \U, or \u' at 'sers\CRAN\Documents\Rtmp6JJDhJ' Error in sub(path1, path2, fns, perl = TRUE) : invalid regular expression 'C:\Users\CRAN\Documents\Rtmp6JJDhJ' Calls: pathDB -> sub Execution halted Flavor: r-devel-windows-x86_64

Version: 4.2-4
Check: examples
Result: ERROR Running examples in 'RSEIS-Ex.R' failed The error most likely occurred in: > ### Name: editDB > ### Title: Edit Data Base > ### Aliases: editDB pathDB > ### Keywords: misc > > ### ** Examples > > > ########## create a data set and a DB > tdir = tempdir() > data(GH) > > DD = data.frame(GH$info) > WV = which(GH$COMPS=='V') > > L1 = length(WV) > > ###### > GIVE = vector(mode='list') > > for(j in 1:L1) + { + i = WV[j] + AA = DD[i,] + + GIVE[[j]] = list(fn = AA$fn, sta =GH$STNS[i] , comp = GH$COMP[i], + dt = AA$dt, DATTIM = AA, N = AA$n1, units = NA, + coords = NA, amp = GH$JSTR[[i]] ) + + } > > ####### save files in the tempdir > for(i in 1:length(GIVE) ) + { + + sig = GIVE[[i]] + d1 = dateStamp(sig$DATTIM) + nam1 = paste(d1,sig$sta, sig$comp, sep='_') + nam2 = paste0(nam1, '.RDS') + nam3 = paste(tdir, nam2, sep='/') + saveRDS(file=nam3, sig) + } > LF = list.files(path=tdir,pattern='.RDS', full.names=TRUE) > > ####### make the database > cosoDB = FmakeDB(LF, kind=-1) > > ###### change the DB path: > path1<-tdir > path2<-"." > > ####### change the path name of the trace files > newDB <- pathDB(cosoDB, path1, path2 ) Warning in sub(path1, path2, fns, perl = TRUE) : PCRE pattern compilation error 'PCRE2 does not support \F, \L, \l, \N{name}, \U, or \u' at 'sers\CRAN\Documents\RtmpQrjjRM' Error in sub(path1, path2, fns, perl = TRUE) : invalid regular expression 'C:\Users\CRAN\Documents\RtmpQrjjRM' Calls: pathDB -> sub Execution halted Flavor: r-release-windows-x86_64

Version: 4.2-4
Check: examples
Result: ERROR Running examples in 'RSEIS-Ex.R' failed The error most likely occurred in: > ### Name: editDB > ### Title: Edit Data Base > ### Aliases: editDB pathDB > ### Keywords: misc > > ### ** Examples > > > ########## create a data set and a DB > tdir = tempdir() > data(GH) > > DD = data.frame(GH$info) > WV = which(GH$COMPS=='V') > > L1 = length(WV) > > ###### > GIVE = vector(mode='list') > > for(j in 1:L1) + { + i = WV[j] + AA = DD[i,] + + GIVE[[j]] = list(fn = AA$fn, sta =GH$STNS[i] , comp = GH$COMP[i], + dt = AA$dt, DATTIM = AA, N = AA$n1, units = NA, + coords = NA, amp = GH$JSTR[[i]] ) + + } > > ####### save files in the tempdir > for(i in 1:length(GIVE) ) + { + + sig = GIVE[[i]] + d1 = dateStamp(sig$DATTIM) + nam1 = paste(d1,sig$sta, sig$comp, sep='_') + nam2 = paste0(nam1, '.RDS') + nam3 = paste(tdir, nam2, sep='/') + saveRDS(file=nam3, sig) + } > LF = list.files(path=tdir,pattern='.RDS', full.names=TRUE) > > ####### make the database > cosoDB = FmakeDB(LF, kind=-1) > > ###### change the DB path: > path1<-tdir > path2<-"." > > ####### change the path name of the trace files > newDB <- pathDB(cosoDB, path1, path2 ) Warning in sub(path1, path2, fns, perl = TRUE) : PCRE pattern compilation error 'PCRE2 does not support \F, \L, \l, \N{name}, \U, or \u' at 'sers\CRAN\Documents\RtmpcrFtn9' Error in sub(path1, path2, fns, perl = TRUE) : invalid regular expression 'C:\Users\CRAN\Documents\RtmpcrFtn9' Calls: pathDB -> sub Execution halted Flavor: r-oldrel-windows-x86_64