* using log directory 'd:/Rcompile/CRANpkg/local/4.3/RSEIS.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'RSEIS/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RSEIS' version '4.2-4' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'RSEIS' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 12.3.0' * checking installed package size ... OK * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [54s] OK * checking Rd files ... [7s] OK * checking Rd metadata ... 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 ... [1s] OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [29s] 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 * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... [55s] OK * DONE Status: 1 ERROR