* using log directory ‘/srv/hornik/tmp/CRAN/streetscape.Rcheck’ * using R Under development (unstable) (2024-04-29 r86495) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘streetscape/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘streetscape’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Xiaohao Yang ’ New submission * 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 ‘streetscape’ can be installed ... [21s/21s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [5s/5s] OK * checking whether the package can be loaded with stated dependencies ... [5s/5s] OK * checking whether the package can be unloaded cleanly ... [5s/5s] OK * checking whether the namespace can be loaded with stated dependencies ... [5s/5s] OK * checking whether the namespace can be unloaded cleanly ... [5s/5s] OK * checking loading without being on the library search path ... [5s/5s] OK * checking whether startup messages can be suppressed ... [5s/5s] 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 ... [22s/22s] OK * checking Rd files ... [0s/0s] 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 ... [5s/5s] 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 ... [6s/6s] ERROR Running examples in ‘streetscape-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: strview2qualtrics > ### Title: strview2qualtrics > ### Aliases: strview2qualtrics strview2rate strview2pwc > > ### ** Examples > > data('scdataframe') > header <- "Please review the following picture(s):" > questions <- c('1. To what extent you feel pleasant if you were in this environment', + '2. To what extent you feel safe if you were in this environment') > choices <- list(c('Unpleasant','Less pleasant', 'Pleasant', 'More pleasant'), + c('Unsafe', 'Less safe','Safe', 'Safer')) > txt <- streetscape::strview2rate(scdataframe, header, questions, choices) Error in .check_ncores(cores) : 31 simultaneous processes spawned Calls: ... img_survey -> -> mclapply -> .check_ncores Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [19s/30s] ERROR Running ‘testthat.R’ [19s/30s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(streetscape) > > testthat::test_check("streetscape") [ FAIL 2 | WARN 0 | SKIP 2 | PASS 4 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • Skipping (2): 'test-decodeDetection.R:5:3', 'test-get_mask.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-strview2pwc.R:6:3'): runs correctly ──────────────────────────── Error in `.check_ncores(cores)`: 31 simultaneous processes spawned Backtrace: ▆ 1. └─streetscape::strview2pwc(scdataframe, k = 1, header, questions) at test-strview2pwc.R:6:3 2. └─streetscape:::img_survey_pwc(pw, header, questions) 3. └─pbmcapply::pbmclapply(...) 4. └─parallel::mclapply(...) 5. └─parallel:::.check_ncores(cores) ── Error ('test-strview2rate.R:9:3'): runs correctly ─────────────────────────── Error in `.check_ncores(cores)`: 31 simultaneous processes spawned Backtrace: ▆ 1. └─streetscape::strview2rate(scdataframe, header, questions, choices) at test-strview2rate.R:9:3 2. └─streetscape:::img_survey(df, header, questions, choices) 3. └─pbmcapply::pbmclapply(...) 4. └─parallel::mclapply(...) 5. └─parallel:::.check_ncores(cores) [ FAIL 2 | WARN 0 | SKIP 2 | PASS 4 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE