* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/contact.Rcheck’ * using R Under development (unstable) (2022-10-14 r83104) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘contact/DESCRIPTION’ ... OK * this is package ‘contact’ version ‘1.2.8’ * package encoding: UTF-8 * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘contact’ can be installed ... [23s/23s] OK * checking package directory ... OK * checking ‘build’ 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [51s/51s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [67s/67s] OK * checking examples with --run-donttest ... [95s/99s] ERROR Running examples in ‘contact-Ex.R’ failed The error most likely occurred in: > ### Name: socialEdges > ### Title: Identify Edges in Social Networks > ### Aliases: socialEdges > ### Keywords: network-analysis social-network > > ### ** Examples > > ## No test: > data(calves) #load data > > calves.dateTime<-datetime.append(calves, date = calves$date, + time = calves$time) #add dateTime column > > calves.agg<-tempAggregate(calves.dateTime, id = calves.dateTime$calftag, + dateTime = calves.dateTime$dateTime, point.x = calves.dateTime$x, + point.y = calves.dateTime$y, secondAgg = 300, extrapolate.left = FALSE, + extrapolate.right = FALSE, resolutionLevel = "reduced", parallel = FALSE, + na.rm = TRUE, smooth.type = 1) #aggregate to 5-min timepoints > > calves.dist<-dist2All_df(x = calves.agg, parallel = FALSE, + dataType = "Point", lonlat = FALSE) #calculate inter-calf distances > > calves.contact.block<-contactDur.all(x = calves.dist, dist.threshold=1, + sec.threshold=10, blocking = TRUE, blockUnit = "hours", blockLength = 1, + equidistant.time = FALSE, parallel = FALSE, reportParameters = TRUE) > > emp.summary <- summarizeContacts(calves.contact.block, + importBlocks = TRUE) #empirical contact summ. > emp.potential <- potentialDurations(calves.dist, blocking = TRUE, + blockUnit = "hours", blockLength = 1, + distFunction = "dist2All_df") > > calves.agg.rand<-randomizePaths(x = calves.agg, id = "id", + dateTime = "dateTime", point.x = "x", point.y = "y", poly.xy = NULL, + parallel = FALSE, dataType = "Point", numVertices = 1, blocking = TRUE, + blockUnit = "mins", blockLength = 20, shuffle.type = 0, shuffleUnit = NA, + indivPaths = TRUE, numRandomizations = 2) #randomize calves.agg > > calves.dist.rand<-dist2All_df(x = calves.agg.rand, point.x = "x.rand", + point.y = "y.rand", parallel = FALSE, dataType = "Point", lonlat = FALSE) > > calves.contact.rand<-contactDur.all(x = calves.dist.rand, + dist.threshold=1, sec.threshold=10, blocking = TRUE, blockUnit = "hours", + blockLength = 1, equidistant.time = FALSE, parallel = FALSE, + reportParameters = TRUE) #NULL model contacts (list of 2) > > rand.summary <- summarizeContacts(calves.contact.rand, avg = TRUE, + importBlocks = TRUE) #NULL contact summary > rand.potential <- potentialDurations(calves.dist.rand, blocking = TRUE, + blockUnit = "hours", blockLength = 1, + distFunction = "dist2All_df") > > CC1 <-contactCompare_chisq(x.summary = emp.summary, y.summary = rand.summary, + x.potential = emp.potential, y.potential = rand.potential, + importBlocks = FALSE, shuffle.type = 0, + popLevelOut = TRUE, parallel = FALSE) #no blocking > > socEdges <- socialEdges(x = CC1[[1]], alpha = 0.05, weight = NULL, + removeDuplicates = TRUE) Error in { : task 1 failed - "level sets of factors are different" Calls: socialEdges -> unlist -> %do% -> Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [43s/45s] OK * checking PDF version of manual ... [9s/13s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/contact.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:48.23, 320.29 + 14.65