* using log directory ‘/data/localhost/ripley/R/packages/tests-vg/jacobi.Rcheck’ * using R Under development (unstable) (2026-12-01 r91013) * 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-12-02 19:22:16 UTC * using options ‘--use-valgrind --no-stop-on-test-error’ * checking for file ‘jacobi/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘jacobi’ version ‘3.1.1’ * package encoding: UTF-8 * 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 ‘jacobi’ can be installed ... OK * used C++ compiler: ‘g++ (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)’ * checking package directory ... 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 compiled code ... OK * checking examples ... [63s/63s] ERROR Running examples in ‘jacobi-Ex.R’ failed The error most likely occurred in: > ### Name: am > ### Title: Amplitude function > ### Aliases: am > > ### ** Examples > > library(Carlson) > phi <- 1 + 1i > m <- 2 > u <- elliptic_F(phi, m) > am(u, m) # should be phi Error in if (Im(tau) <= 0) { : missing value where TRUE/FALSE needed Calls: am -> jellip -> theta.s -> check_and_get_tau_from_m Execution halted ==1611953== ==1611953== HEAP SUMMARY: ==1611953== in use at exit: 74,572,925 bytes in 16,645 blocks ==1611953== total heap usage: 94,934 allocs, 78,289 frees, 189,800,286 bytes allocated ==1611953== ==1611953== 32 bytes in 1 blocks are possibly lost in loss record 70 of 1,930 ==1611953== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1611953== by 0x16751CE4: util_queue_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/u_queue.c:455) ==1611953== by 0x1673C0F2: disk_cache_init_queue (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:90) ==1611953== by 0x1673C0F2: disk_cache_init_queue (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:75) ==1611953== by 0x1673C0F2: disk_cache_type_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:168) ==1611953== by 0x1673C5A0: disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:291) ==1611953== by 0x16A949C3: lp_disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:912) ==1611953== by 0x16A95039: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1006) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== by 0x161599C9: dri_common_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:607) ==1611953== ==1611953== 48 bytes in 1 blocks are possibly lost in loss record 88 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x16745039: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16745039: ralloc_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:105) ==1611953== by 0x168D23E6: glsl_type_singleton_init_or_ref (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/glsl_types.c:485) ==1611953== by 0x16A95095: llvmpipe_create_screen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1033) ==1611953== by 0x16246FF7: sw_screen_create_named (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/target-helpers/sw_helper.h:43) ==1611953== by 0x16246FF7: sw_screen_create_vk (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/target-helpers/sw_helper.h:90) ==1611953== by 0x16A8B90C: pipe_loader_sw_create_screen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:363) ==1611953== by 0x16A8B84C: pipe_loader_create_screen_vk (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader.c:182) ==1611953== by 0x1624B5F4: driCreateNewScreen3 (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:139) ==1611953== by 0x16159DC8: dri_screen_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:957) ==1611953== by 0x1615AE14: driswCreateScreen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/drisw_glx.c:655) ==1611953== by 0x1615FB9B: AllocAndFetchScreenConfigs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxext.c:899) ==1611953== by 0x16160BC6: __glXInitialize (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxext.c:1073) ==1611953== ==1611953== 96 bytes in 1 blocks are possibly lost in loss record 125 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16745631: ralloc_array_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:223) ==1611953== by 0x16745631: ralloc_strdup (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:415) ==1611953== by 0x1673BFAE: disk_cache_type_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:131) ==1611953== by 0x1673C5A0: disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:291) ==1611953== by 0x16A949C3: lp_disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:912) ==1611953== by 0x16A95039: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1006) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== ==1611953== 96 (88 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 126 of 1,930 ==1611953== at 0x484226C: operator new(unsigned long) (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:501) ==1611953== by 0x159570F1: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1611953== by 0x159579BB: rgl::DeviceManager::createTestWindow() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/devicemanager.cpp:167) ==1611953== by 0x15974937: rgl_init (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/init.cpp:97) ==1611953== by 0x49AA21: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:780) ==1611953== by 0x4E0154: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8710) ==1611953== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537) ==1611953== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7522) ==1611953== by 0x4E947A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==1611953== by 0x4EB3DE: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400) ==1611953== by 0x4EC191: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316) ==1611953== by 0x4E9698: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335) ==1611953== by 0x4E9698: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==1611953== by 0x5238BB: Rf_ReplIteration (/data/localhost/ripley/R/svn/R-devel/src/main/main.c:264) ==1611953== ==1611953== 144 bytes in 1 blocks are possibly lost in loss record 144 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x1673BF07: disk_cache_type_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:194) ==1611953== by 0x1673C5A0: disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:291) ==1611953== by 0x16A949C3: lp_disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:912) ==1611953== by 0x16A95039: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1006) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== by 0x161599C9: dri_common_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:607) ==1611953== ==1611953== 432 bytes in 1 blocks are possibly lost in loss record 264 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1617063C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16170F26: _mesa_set_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/set.c:171) ==1611953== by 0x16170F26: _mesa_pointer_set_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/set.c:682) ==1611953== by 0x16160C94: __glXInitialize (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxext.c:998) ==1611953== by 0x1615BF6F: GetGLXPrivScreenConfig (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxcmds.c:148) ==1611953== by 0x1615BF6F: glXChooseVisual (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxcmds.c:1086) ==1611953== by 0x1598319C: rgl::X11GUIFactory::createWindowImpl(rgl::Window*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:676) ==1611953== by 0x159743CA: rgl::Window::Window(rgl::View*, rgl::GUIFactory*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/gui.cpp:162) ==1611953== by 0x1595710D: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1611953== by 0x159579BB: rgl::DeviceManager::createTestWindow() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/devicemanager.cpp:167) ==1611953== by 0x15974937: rgl_init (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/init.cpp:97) ==1611953== by 0x49AA21: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:780) ==1611953== by 0x4E0154: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8710) ==1611953== ==1611953== 592 bytes in 1 blocks are possibly lost in loss record 306 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16741330: _mesa_hash_table_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/hash_table.c:192) ==1611953== by 0x162DB191: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:993) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== by 0x161599C9: dri_common_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:607) ==1611953== by 0x1615C89C: CreateContext (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxcmds.c:320) ==1611953== by 0x1615CC8B: glXCreateContext (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxcmds.c:425) ==1611953== by 0x16072E4F: glXCreateContext (/usr/src/debug/libglvnd-1.7.0-9.fc44.x86_64/src/GLX/libglx.c:242) ==1611953== by 0x15981ED7: rgl::X11WindowImpl::initGL() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:362) ==1611953== ==1611953== 592 bytes in 1 blocks are possibly lost in loss record 307 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16741330: _mesa_hash_table_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/hash_table.c:192) ==1611953== by 0x168D3639: array_key_table_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/glsl_types.c:1264) ==1611953== by 0x168D3639: glsl_array_type (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/glsl_types.c:1286) ==1611953== by 0x1681F443: nir_lower_uniforms_to_ubo (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/nir/nir_lower_uniforms_to_ubo.c:148) ==1611953== by 0x171FB2B7: ttn_finalize_nir (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2550) ==1611953== by 0x17204E32: tgsi_to_nir (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2665) ==1611953== by 0x16A9D42F: llvmpipe_create_fs_state (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:4105) ==1611953== by 0x169D3E8B: util_make_fs_clear_color (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/util/u_simple_shaders.c:1355) ==1611953== by 0x171EAFEA: util_blitter_cache_all_shaders (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/util/u_blitter.c:1366) ==1611953== by 0x16ABD4EA: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:377) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== ==1611953== 592 bytes in 1 blocks are possibly lost in loss record 308 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x16741330: _mesa_hash_table_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/hash_table.c:192) ==1611953== by 0x168D431D: glsl_interface_type (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/glsl_types.c:1607) ==1611953== by 0x1681F4AD: nir_lower_uniforms_to_ubo (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/nir/nir_lower_uniforms_to_ubo.c:161) ==1611953== by 0x171FB2B7: ttn_finalize_nir (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2550) ==1611953== by 0x17204E32: tgsi_to_nir (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2665) ==1611953== by 0x16A9D42F: llvmpipe_create_fs_state (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:4105) ==1611953== by 0x169D3E8B: util_make_fs_clear_color (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/util/u_simple_shaders.c:1355) ==1611953== by 0x171EAFEA: util_blitter_cache_all_shaders (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/util/u_blitter.c:1366) ==1611953== by 0x16ABD4EA: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:377) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== ==1611953== 624 bytes in 1 blocks are possibly lost in loss record 315 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x167450F4: rzalloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:152) ==1611953== by 0x1673BEB4: disk_cache_type_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:115) ==1611953== by 0x1673C5A0: disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:291) ==1611953== by 0x16A949C3: lp_disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:912) ==1611953== by 0x16A95039: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1006) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== ==1611953== 1,536 bytes in 1 blocks are possibly lost in loss record 416 of 1,930 ==1611953== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1611953== by 0x16751CC3: util_queue_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/u_queue.c:451) ==1611953== by 0x1673C0F2: disk_cache_init_queue (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:90) ==1611953== by 0x1673C0F2: disk_cache_init_queue (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:75) ==1611953== by 0x1673C0F2: disk_cache_type_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:168) ==1611953== by 0x1673C5A0: disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/disk_cache.c:291) ==1611953== by 0x16A949C3: lp_disk_cache_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:912) ==1611953== by 0x16A95039: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1006) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== by 0x16159884: dri_create_context_attribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:874) ==1611953== by 0x161599C9: dri_common_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:607) ==1611953== ==1611953== 2,128 bytes in 1 blocks are possibly lost in loss record 439 of 1,930 ==1611953== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1611953== by 0x1674509C: ralloc_size (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:118) ==1611953== by 0x167461D1: linear_context_with_opts (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:1144) ==1611953== by 0x167461D1: linear_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/ralloc.c:1126) ==1611953== by 0x168D23F5: glsl_type_singleton_init_or_ref (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/compiler/glsl_types.c:486) ==1611953== by 0x16A95095: llvmpipe_create_screen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:1033) ==1611953== by 0x16246FF7: sw_screen_create_named (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/target-helpers/sw_helper.h:43) ==1611953== by 0x16246FF7: sw_screen_create_vk (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/target-helpers/sw_helper.h:90) ==1611953== by 0x16A8B90C: pipe_loader_sw_create_screen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:363) ==1611953== by 0x16A8B84C: pipe_loader_create_screen_vk (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader.c:182) ==1611953== by 0x1624B5F4: driCreateNewScreen3 (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:139) ==1611953== by 0x16159DC8: dri_screen_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/dri_common.c:957) ==1611953== by 0x1615AE14: driswCreateScreen (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/drisw_glx.c:655) ==1611953== by 0x1615FB9B: AllocAndFetchScreenConfigs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/glx/glxext.c:899) ==1611953== ==1611953== 14,848 bytes in 32 blocks are possibly lost in loss record 1,182 of 1,930 ==1611953== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1611953== by 0x40120BF: calloc (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../include/rtld-malloc.h:44) ==1611953== by 0x40120BF: allocate_dtv (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:470) ==1611953== by 0x4012B81: _dl_allocate_tls (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:722) ==1611953== by 0x569FA0E: allocate_stack (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/allocatestack.c:568) ==1611953== by 0x569FA0E: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/pthread_create.c:680) ==1611953== by 0x1679BEE1: thrd_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/c11/impl/threads_posix.c:255) ==1611953== by 0x167529F4: u_thread_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/u_thread.c:88) ==1611953== by 0x16AC62B9: create_rast_threads (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_rast.c:1252) ==1611953== by 0x16AC62B9: lp_rast_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_rast.c:1294) ==1611953== by 0x16A94FFA: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:986) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== ==1611953== 14,848 bytes in 32 blocks are possibly lost in loss record 1,183 of 1,930 ==1611953== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1611953== by 0x40120BF: calloc (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../include/rtld-malloc.h:44) ==1611953== by 0x40120BF: allocate_dtv (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:470) ==1611953== by 0x4012B81: _dl_allocate_tls (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:722) ==1611953== by 0x569FA0E: allocate_stack (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/allocatestack.c:568) ==1611953== by 0x569FA0E: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/pthread_create.c:680) ==1611953== by 0x1679BEE1: thrd_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/c11/impl/threads_posix.c:255) ==1611953== by 0x167529F4: u_thread_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/util/u_thread.c:88) ==1611953== by 0x16ABD8DD: lp_cs_tpool_create (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_cs_tpool.c:116) ==1611953== by 0x16A95011: llvmpipe_screen_late_init (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_screen.c:992) ==1611953== by 0x16ABD242: llvmpipe_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_context.c:262) ==1611953== by 0x162DAF2D: st_api_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/mesa/state_tracker/st_manager.c:1008) ==1611953== by 0x162473B6: dri_create_context (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_context.c:180) ==1611953== by 0x1624B818: driCreateContextAttribs (/usr/src/debug/mesa-26.2.7-1.fc44.x86_64/redhat-linux-build/../src/gallium/frontends/dri/dri_util.c:612) ==1611953== ==1611953== LEAK SUMMARY: ==1611953== definitely lost: 88 bytes in 1 blocks ==1611953== indirectly lost: 8 bytes in 1 blocks ==1611953== possibly lost: 36,512 bytes in 75 blocks ==1611953== still reachable: 74,536,317 bytes in 16,568 blocks ==1611953== suppressed: 0 bytes in 0 blocks ==1611953== Reachable blocks (those to which a pointer was found) are not shown. ==1611953== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1611953== ==1611953== For lists of detected and suppressed errors, rerun with: -s ==1611953== ERROR SUMMARY: 14 errors from 14 contexts (suppressed: 0 from 0) * checking tests ... Running ‘testthat.R’ [107s/108s] [107s/108s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(jacobi) Attaching package: 'jacobi' The following object is masked from 'package:grDevices': cm > > test_check("jacobi") Saving _problems/test-agm-5.R Saving _problems/test-agm-27.R Saving _problems/test-am-8.R Saving _problems/test-eisenstein-41.R Saving _problems/test-ellipticAlpha-5.R Saving _problems/test-jellip-4.R Saving _problems/test-jellip-12.R Saving _problems/test-jellip-22.R Saving _problems/test-kleinj-32.R Saving _problems/test-lemniscate-18.R Saving _problems/test-lemniscate-26.R Saving _problems/test-nome-2.R Saving _problems/test-nome-3.R Saving _problems/test-nome-4.R Saving _problems/test-theta-neville-2.R Saving _problems/test-theta-neville-10.R Saving _problems/test-wp-36.R Saving _problems/test-wp-49.R Saving _problems/test-wp-62.R Saving _problems/test-wsigma-9.R Saving _problems/test-wzeta-2.R Saving _problems/test-wzeta-33.R [ FAIL 22 | WARN 0 | SKIP 0 | PASS 48 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-agm.R:2:3'): agm value ─────────────────────────────────────── Expected `agm(1, sqrt(2))` to equal `as.complex(2 * pi^(3/2) * sqrt(2)/gamma(1/4)^2)`. Differences: `Re(actual)`: NaN `Re(expected)`: 1.2 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Failure ('test-agm.R:24:3'): agm - Gauss theorem ──────────────────────────── Expected `1/agm(a, b)` to equal `as.complex(2/pi * I$value)`. Differences: `Re(actual)`: NaN `Re(expected)`: 0.4 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Error ('test-am.R:5:3'): am works ─────────────────────────────────────────── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_equal(am(u, m), phi) at test-am.R:5:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::am(u, m) 5. └─jacobi::jellip("sn", u, m = m) 6. └─jacobi::theta.s(u, tau = tau, m = m) 7. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Failure ('test-eisenstein.R:39:3'): Value of E2(2i) ───────────────────────── Expected `E2(0+2i)` to equal `3/8 * jtheta3(0, 0+1i)^4 + 3/(2 * pi)`. Differences: `Re(actual)`: NaN `Re(expected)`: 1.0 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Failure ('test-ellipticAlpha.R:3:3'): A value of the elliptic alpha function ── Expected `ellipticAlpha(7)` to equal `as.complex(expected)`. Differences: `Re(actual)`: NaN `Re(expected)`: 0.3 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Error ('test-jellip.R:4:3'): jellip relations ─────────────────────────────── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-jellip.R:4:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::jellip("cn", u, m = m) 5. └─jacobi::theta.c(u, tau = tau, m = m) 6. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Error ('test-jellip.R:12:3'): jellip identities ───────────────────────────── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─jacobi::jellip("cn", u, m = m) at test-jellip.R:12:3 2. └─jacobi::theta.c(u, tau = tau, m = m) 3. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Error ('test-jellip.R:22:3'): relation sn & ellipticK ─────────────────────── Error in `theta.s(u, tau = tau, m = m)`: isComplex(z) is not TRUE Backtrace: ▆ 1. └─jacobi::jellip("sn", K, m = m) at test-jellip.R:22:3 2. └─jacobi::theta.s(u, tau = tau, m = m) 3. └─base::stopifnot(isComplex(z)) ── Failure ('test-kleinj.R:29:3'): kleinj inverse ────────────────────────────── Expected `j` to equal `kleinj(tau)`. Differences: `Re(actual)`: 1.7 `Re(expected)`: NA `Im(actual)`: 0.0 `Im(expected)`: NA ── Error ('test-lemniscate.R:15:3'): Relation hyperbolic lemniscate sine and Jacobi elliptic functions ── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-lemniscate.R:15:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::jellip("sn", z, m = 0.5) 5. └─jacobi::theta.s(u, tau = tau, m = m) 6. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Error ('test-lemniscate.R:23:3'): Relation hyperbolic lemniscate cosine and Jacobi elliptic functions ── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-lemniscate.R:23:3 2. │ └─testthat::quasi_label(enquo(expected), expected.label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::jellip("cd", z, m = 0.5) 5. └─jacobi::theta.c(u, tau = tau, m = m) 6. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Failure ('test-nome.R:2:3'): Some value of the nome ───────────────────────── Expected `nome(-2)` to equal `as.complex(-0.06823783)`. Differences: `Re(actual)`: NaN `Re(expected)`: -0.1 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Failure ('test-nome.R:3:3'): Some value of the nome ───────────────────────── Expected `nome(0.5)` to equal `as.complex(exp(-pi))`. Differences: `Re(actual)`: NaN `Re(expected)`: 0.0 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Failure ('test-nome.R:4:3'): Some value of the nome ───────────────────────── Expected `nome(5/16)` to equal `as.complex(0.02340125)`. Differences: `Re(actual)`: NaN `Re(expected)`: 0.0 `Im(actual)`: NaN `Im(expected)`: 0.0 ── Error ('test-theta-neville.R:2:3'): Neville theta values ──────────────────── Error in `if (Im(tau) <= 0) { stop("Invalid value of `m`.") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─testthat::expect_equal(theta.c(2.5, m = 0.3), as.complex(-0.659004666767382)) at test-theta-neville.R:2:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::theta.c(2.5, m = 0.3) 5. └─jacobi:::check_and_get_tau_from_m(tau, m) ── Error ('test-theta-neville.R:10:3'): Neville theta values involving the nome ── Error in `theta.c((0+1i) * Carlson::elliptic_F(pi/2, 1 - m), m = m)`: isComplex(z) is not TRUE Backtrace: ▆ 1. └─jacobi::theta.c((0+1i) * Carlson::elliptic_F(pi/2, 1 - m), m = m) at test-theta-neville.R:10:3 2. └─base::stopifnot(isComplex(z)) ── Error ('test-wp.R:36:3'): Differential equation. ──────────────────────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. └─jacobi::wp(z, g) at test-wp.R:36:3 2. └─jacobi:::wp_from_g(z, g) 3. └─jacobi:::omega1_and_tau(g) 4. └─jacobi:::G6(tau) 5. └─jacobi:::E6(tau) 6. └─jacobi:::jtheta3_cpp(0, tau) ── Error ('test-wp.R:49:3'): Differential equation second derivative. ────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. └─jacobi::wp(z, g) at test-wp.R:49:3 2. └─jacobi:::wp_from_g(z, g) 3. └─jacobi:::omega1_and_tau(g) 4. └─jacobi:::G6(tau) 5. └─jacobi:::E6(tau) 6. └─jacobi:::jtheta3_cpp(0, tau) ── Error ('test-wp.R:62:3'): wpprime value. ──────────────────────────────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. └─jacobi::wp(z, g, derivative = 1) at test-wp.R:62:3 2. └─jacobi:::omega1_and_tau(g) 3. └─jacobi:::G6(tau) 4. └─jacobi:::E6(tau) 5. └─jacobi:::jtheta3_cpp(0, tau) ── Error ('test-wsigma.R:6:3'): wsigma values ────────────────────────────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-wsigma.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jacobi::wsigma(2, g = c(1, 0+2i)) 5. └─jacobi:::omega1_and_tau(g) 6. └─jacobi:::G6(tau) 7. └─jacobi:::E6(tau) 8. └─jacobi:::jtheta3_cpp(0, tau) ── Error ('test-wzeta.R:2:3'): zeta values ───────────────────────────────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. └─jacobi::halfPeriods(c(5 + (0+3i), 5 + (0+3i))) at test-wzeta.R:2:3 2. └─jacobi:::omega1_and_tau(g2g3) 3. └─jacobi:::G6(tau) 4. └─jacobi:::E6(tau) 5. └─jacobi:::jtheta3_cpp(0, tau) ── Error ('test-wzeta.R:33:3'): sum zeta(omega_i)=0 ──────────────────────────── Error: NaN has occured in the summation. Backtrace: ▆ 1. └─jacobi::halfPeriods(g) at test-wzeta.R:33:3 2. └─jacobi:::omega1_and_tau(g2g3) 3. └─jacobi:::G6(tau) 4. └─jacobi:::E6(tau) 5. └─jacobi:::jtheta3_cpp(0, tau) [ FAIL 22 | WARN 0 | SKIP 0 | PASS 48 ] Error: ! Test failures. Execution halted ==1619864== ==1619864== HEAP SUMMARY: ==1619864== in use at exit: 110,444,622 bytes in 26,120 blocks ==1619864== total heap usage: 214,503 allocs, 188,383 frees, 357,466,077 bytes allocated ==1619864== ==1619864== 96 (88 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 142 of 2,690 ==1619864== at 0x484226C: operator new(unsigned long) (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:501) ==1619864== by 0x159E70F1: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1619864== by 0x159E79BB: rgl::DeviceManager::createTestWindow() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/devicemanager.cpp:167) ==1619864== by 0x15A04937: rgl_init (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/init.cpp:97) ==1619864== by 0x49AA21: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:780) ==1619864== by 0x4E0154: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8710) ==1619864== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537) ==1619864== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7522) ==1619864== by 0x4E947A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==1619864== by 0x4EB3DE: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400) ==1619864== by 0x4EC191: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316) ==1619864== by 0x4E9698: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335) ==1619864== by 0x4E9698: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==1619864== by 0x5238BB: Rf_ReplIteration (/data/localhost/ripley/R/svn/R-devel/src/main/main.c:264) ==1619864== ==1619864== 324 bytes in 3 blocks are possibly lost in loss record 265 of 2,690 ==1619864== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1619864== by 0x162D9F24: ??? ==1619864== by 0x162DAA28: ??? ==1619864== by 0x162DB4AE: ??? ==1619864== by 0x161E9DC8: ??? ==1619864== by 0x161EAE14: ??? ==1619864== by 0x161EFB9B: ??? ==1619864== by 0x161F0BC6: ??? ==1619864== by 0x161EBF6F: ??? ==1619864== by 0x15A1319C: rgl::X11GUIFactory::createWindowImpl(rgl::Window*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:676) ==1619864== by 0x15A043CA: rgl::Window::Window(rgl::View*, rgl::GUIFactory*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/gui.cpp:162) ==1619864== by 0x159E710D: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1619864== ==1619864== 3,360 (48 direct, 3,312 indirect) bytes in 1 blocks are definitely lost in loss record 502 of 2,690 ==1619864== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1619864== by 0x167D5039: ??? ==1619864== by 0x169623E6: ??? ==1619864== by 0x16B25095: ??? ==1619864== by 0x162D6FF7: ??? ==1619864== by 0x16B1B90C: ??? ==1619864== by 0x16B1B84C: ??? ==1619864== by 0x162DB5F4: ??? ==1619864== by 0x161E9DC8: ??? ==1619864== by 0x161EAE14: ??? ==1619864== by 0x161EFB9B: ??? ==1619864== by 0x161F0BC6: ??? ==1619864== ==1619864== 6,048 bytes in 56 blocks are possibly lost in loss record 553 of 2,690 ==1619864== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1619864== by 0x162D9F24: ??? ==1619864== by 0x162DA9D4: ??? ==1619864== by 0x162DB4AE: ??? ==1619864== by 0x161E9DC8: ??? ==1619864== by 0x161EAE14: ??? ==1619864== by 0x161EFB9B: ??? ==1619864== by 0x161F0BC6: ??? ==1619864== by 0x161EBF6F: ??? ==1619864== by 0x15A1319C: rgl::X11GUIFactory::createWindowImpl(rgl::Window*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:676) ==1619864== by 0x15A043CA: rgl::Window::Window(rgl::View*, rgl::GUIFactory*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/gui.cpp:162) ==1619864== by 0x159E710D: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1619864== ==1619864== 14,848 bytes in 32 blocks are possibly lost in loss record 1,602 of 2,690 ==1619864== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1619864== by 0x40120BF: calloc (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../include/rtld-malloc.h:44) ==1619864== by 0x40120BF: allocate_dtv (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:470) ==1619864== by 0x4012B81: _dl_allocate_tls (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:722) ==1619864== by 0x569FA0E: allocate_stack (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/allocatestack.c:568) ==1619864== by 0x569FA0E: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/pthread_create.c:680) ==1619864== by 0x1682BEE1: ??? ==1619864== by 0x167E29F4: ??? ==1619864== by 0x16B562B9: ??? ==1619864== by 0x16B24FFA: ??? ==1619864== by 0x16B4D242: ??? ==1619864== by 0x1636AF2D: ??? ==1619864== by 0x162D73B6: ??? ==1619864== by 0x162DB818: ??? ==1619864== ==1619864== 14,848 bytes in 32 blocks are possibly lost in loss record 1,603 of 2,690 ==1619864== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1619864== by 0x40120BF: calloc (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../include/rtld-malloc.h:44) ==1619864== by 0x40120BF: allocate_dtv (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:470) ==1619864== by 0x4012B81: _dl_allocate_tls (/usr/src/debug/glibc-2.43-9.fc44.x86_64/elf/../elf/dl-tls.c:722) ==1619864== by 0x569FA0E: allocate_stack (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/allocatestack.c:568) ==1619864== by 0x569FA0E: pthread_create@@GLIBC_2.34 (/usr/src/debug/glibc-2.43-9.fc44.x86_64/nptl/pthread_create.c:680) ==1619864== by 0x1682BEE1: ??? ==1619864== by 0x167E29F4: ??? ==1619864== by 0x16B4D8DD: ??? ==1619864== by 0x16B25011: ??? ==1619864== by 0x16B4D242: ??? ==1619864== by 0x1636AF2D: ??? ==1619864== by 0x162D73B6: ??? ==1619864== by 0x162DB818: ??? ==1619864== ==1619864== 38,048 bytes in 164 blocks are possibly lost in loss record 2,207 of 2,690 ==1619864== at 0x4841AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==1619864== by 0x161E8FFC: ??? ==1619864== by 0x161E9DEA: ??? ==1619864== by 0x161EAE14: ??? ==1619864== by 0x161EFB9B: ??? ==1619864== by 0x161F0BC6: ??? ==1619864== by 0x161EBF6F: ??? ==1619864== by 0x15A1319C: rgl::X11GUIFactory::createWindowImpl(rgl::Window*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:676) ==1619864== by 0x15A043CA: rgl::Window::Window(rgl::View*, rgl::GUIFactory*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/gui.cpp:162) ==1619864== by 0x159E710D: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1619864== by 0x159E79BB: rgl::DeviceManager::createTestWindow() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/devicemanager.cpp:167) ==1619864== by 0x15A04937: rgl_init (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/init.cpp:97) ==1619864== ==1619864== 144,472 (8 direct, 144,464 indirect) bytes in 1 blocks are definitely lost in loss record 2,586 of 2,690 ==1619864== at 0x484962B: calloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:1616) ==1619864== by 0x161EF818: ??? ==1619864== by 0x161F0BC6: ??? ==1619864== by 0x161EBF6F: ??? ==1619864== by 0x15A1319C: rgl::X11GUIFactory::createWindowImpl(rgl::Window*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/x11gui.cpp:676) ==1619864== by 0x15A043CA: rgl::Window::Window(rgl::View*, rgl::GUIFactory*, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/gui.cpp:162) ==1619864== by 0x159E710D: rgl::Device::Device(int, bool, int) (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/device.cpp:16) ==1619864== by 0x159E79BB: rgl::DeviceManager::createTestWindow() (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/devicemanager.cpp:167) ==1619864== by 0x15A04937: rgl_init (/tmp/Rtmpf76hVp/R.INSTALL345765177a4723/rgl/src/init.cpp:97) ==1619864== by 0x49AA21: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:780) ==1619864== by 0x4E0154: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8710) ==1619864== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537) ==1619864== by 0x4E9098: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7522) ==1619864== ==1619864== LEAK SUMMARY: ==1619864== definitely lost: 144 bytes in 3 blocks ==1619864== indirectly lost: 147,784 bytes in 799 blocks ==1619864== possibly lost: 74,116 bytes in 287 blocks ==1619864== still reachable: 110,222,578 bytes in 25,031 blocks ==1619864== suppressed: 0 bytes in 0 blocks ==1619864== Reachable blocks (those to which a pointer was found) are not shown. ==1619864== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1619864== ==1619864== For lists of detected and suppressed errors, rerun with: -s ==1619864== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0) * DONE Status: 2 ERRORs See ‘/data/localhost/ripley/R/packages/tests-vg/jacobi.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:00.65, 164.08 + 15.74