* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/MigConnectivity.Rcheck’ * using R Under development (unstable) (2026-11-30 r91009) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-30 23:39:00 UTC * checking for file ‘MigConnectivity/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘MigConnectivity’ version ‘0.5.0’ * 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 ‘MigConnectivity’ can be installed ... 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 code 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 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 ... 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 ... OK * checking examples with --run-donttest ... [66s/67s] ERROR Running examples in ‘MigConnectivity-Ex.R’ failed The error most likely occurred in: > ### Name: estMC > ### Title: Estimate migratory connectivity > ### Aliases: estMC > > ### ** Examples > > ## No test: > set.seed(101) > # Uncertainty in detection ('RMark' estimates) with equal abundances > # Number of resampling iterations for generating confidence intervals > > nSamplesCMR <- 100 > nSimulationsCMR <- 10 > originPos13 <- matrix(c(rep(seq(-99, -81, 2), each = 10), + rep(seq(49, 31, -2), 10)), 100, 2) > targetPos13 <- matrix(c(rep(seq(-79, -61, 2), each = 10), + rep(seq(9, -9, -2), 10)), 100, 2) > originPosCMR <- rowsum(originPos13, c(rep(1:2, 5, each = 5), + rep(3:4, 5, each = 5))) / 25 > originPosCMR [,1] [,2] 1 -95 45 2 -95 35 3 -85 45 4 -85 35 > targetPosCMR <- rowsum(targetPos13, c(rep(1:2, 5, each = 5), + rep(3:4, 5, each = 5))) / 25 > targetPosCMR [,1] [,2] 1 -75 5 2 -75 -5 3 -65 5 4 -65 -5 > > originDist <- distFromPos(originPosCMR, 'ellipsoid') > targetDist <- distFromPos(targetPosCMR, 'ellipsoid') > originRelAbundTrue <- rep(0.25, 4) > # the second intermediate psi scenario, the "low" level > psiTrue <- samplePsis[["Low"]] > trueMC <- calcMC(originDist, targetDist, originRelAbundTrue, psiTrue) > trueMC [1] 0.1595583 > > # Storage matrix for samples > cmrMCSample <- matrix(NA, nSamplesCMR, nSimulationsCMR) > summaryCMR <- data.frame(Simulation = 1:nSimulationsCMR, True=trueMC, + mean=NA, se=NA, lcl=NA, ucl=NA) > # Get RMark psi estimates and estimate MC from each > for (r in 1:nSimulationsCMR) { + cat("Simulation",r,"of",nSimulationsCMR,"\n") + # Note: getCMRexample() requires a valid internet connection and that GitHub + # is accessible + fm <- getCMRexample(r) + results <- estMC(originRelAbund = originRelAbundTrue, psi = fm, + originDist = originDist, targetDist = targetDist, + originSites = 5:8, targetSites = c(3,2,1,4), + nSamples = nSamplesCMR, verbose = 0, + sampleSize = length(grep('[2-5]', fm$data$data$ch))) + #sampleSize argument not really needed (big sample sizes) + cmrMCSample[ , r] <- results$MC$sample + summaryCMR$mean[r] <- results$MC$mean + summaryCMR$se[r] <- results$MC$se + # Calculate confidence intervals using quantiles of sampled MC + summaryCMR[r, c('lcl', 'ucl')] <- results$MC$simpleCI + } Simulation 1 of 10 trying URL 'https://github.com/SMBC-NZP/MigConnectivity/blob/master/data-raw/out_psiB.enc2.band100.1.rds?raw=true' Content type 'application/octet-stream' length 1020001 bytes (996 KB) ================================================== downloaded 996 KB Simulation 2 of 10 trying URL 'https://github.com/SMBC-NZP/MigConnectivity/blob/master/data-raw/out_psiB.enc2.band100.2.rds?raw=true' Warning in utils::download.file(url1, temp, mode = "wb") : cannot open URL 'https://github.com/SMBC-NZP/MigConnectivity/blob/master/data-raw/out_psiB.enc2.band100.2.rds?raw=true': HTTP status was '503 Service Unavailable' Error in utils::download.file(url1, temp, mode = "wb") : cannot open URL 'https://github.com/SMBC-NZP/MigConnectivity/blob/master/data-raw/out_psiB.enc2.band100.2.rds?raw=true' Calls: getCMRexample -> Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [18s/19s] OK * checking PDF version of manual ... OK * checking HTML version of manual ... 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/localhost/ripley/R/packages/tests-donttest/MigConnectivity.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:45.56, 134.22 + 79.91