* using log directory 'd:/RCompile/CRANincoming/R-devel/networkR.Rcheck' * using R Under development (unstable) (2025-09-16 r88844 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'networkR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'networkR' version '0.1.4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * 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 serialization versions ... OK * checking whether package 'networkR' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... NOTE Registration problems: symbol '_networkR_make_family_id' not in namespace: .Call(`_networkR_make_family_id`, id, fid, mid) symbol '_networkR_make_parental_chain' not in namespace: .Call(`_networkR_make_parental_chain`, id, fid, mid) See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. * checking R code for possible problems ... NOTE make_family_id: no visible binding for global variable '_networkR_make_family_id' make_parental_chain: no visible binding for global variable '_networkR_make_parental_chain' Undefined global functions or variables: _networkR_make_family_id _networkR_make_parental_chain * 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... ERROR Running examples in 'networkR-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: make_family_id > ### Title: Construct family id vector from pedigree trio information > ### Aliases: make_family_id > ### Keywords: manip > > ### ** Examples > > > id <- 1:11 > fid <- c(NA, NA, 1, 1, NA, 23, 45, 5, 5, 7, NA) > mid <- c(NA, NA, 2, 2, 65, NA, 46, 6, 6, 6, 0) > make_family_id(id, fid, mid) Error in make_family_id(id, fid, mid) : object '_networkR_make_family_id' not found Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(networkR) > > test_check("networkR") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('testtrios.R:8:5'): identify family clusters ───────────────────────── Error in `make_family_id(id, fid, mid)`: object '_networkR_make_family_id' not found Backtrace: ▆ 1. └─networkR::make_family_id(id, fid, mid) at testtrios.R:8:5 ── Error ('testtrios.R:27:5'): identify parental chains ──────────────────────── Error in `make_parental_chain(id, fid, mid)`: object '_networkR_make_parental_chain' not found Backtrace: ▆ 1. └─networkR::make_parental_chain(id, fid, mid) at testtrios.R:27:5 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ] Error: Test failures Execution halted * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 2 NOTEs