Last updated on 2025-11-17 05:50:07 CET.
| Package | ERROR | WARN | NOTE | OK |
|---|---|---|---|---|
| gkwdist | 2 | 8 | ||
| gkwreg | 1 | 1 | 2 | 9 |
Current CRAN status: NOTE: 2, OK: 8
Version: 1.0.10
Check: installed package size
Result: NOTE
installed size is 6.8Mb
sub-directories of 1Mb or more:
libs 5.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 1, WARN: 1, NOTE: 2, OK: 9
Version: 1.0.10
Check: whether the package can be loaded with stated dependencies
Result: WARN
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_gkwbetareg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.cpp:17:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.cpp:17:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840/gkwbetareg.o
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwbetareg_compile_20251025231840'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_bkwreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.cpp:13:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.cpp:13:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341/bkwreg.o
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/bkwreg_compile_20251025232341'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_ekwreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757/ekwreg.o
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/ekwreg_compile_20251025232757'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_gkwmletmb -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223/gkwmletmb.o -fopenmp
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwmletmb_compile_20251025233223'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_gkwreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.cpp:12:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.cpp:12:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650/gkwreg.o
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/gkwreg_compile_20251025233650'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_kkwreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.cpp:16:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.cpp:16:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
3 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.so /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135/kkwreg.o
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135'
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135'
make[1]: Leaving directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kkwreg_compile_20251025234135'
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kwreg_compile_20251025234631'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_kwreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kwreg_compile_20251025234631/kwreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kwreg_compile_20251025234631/kwreg.o
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kwreg_compile_20251025234631/kwreg.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/kwreg_compile_20251025234631/kwreg.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
make[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/mcreg_compile_20251025234830'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/TMB/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_mcreg -DCPPAD_FRAMEWORK -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/mcreg_compile_20251025234830/mcreg.cpp -o /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/mcreg_compile_20251025234830/mcreg.o
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:209: /tmp/RtmpywcjOz/working_dir/RtmpNGwyU6/mcreg_compile_20251025234830/mcreg.o] Terminated
It looks like this package (or one of its dependent packages) has an
unstated dependence on a standard package. All dependencies must be
declared in DESCRIPTION.
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.10
Check: installed package size
Result: NOTE
installed size is 10.6Mb
sub-directories of 1Mb or more:
libs 9.3Mb
Flavor: r-oldrel-macos-arm64
Version: 2.1.1
Check: installed package size
Result: NOTE
installed size is 5.1Mb
sub-directories of 1Mb or more:
doc 2.6Mb
libs 1.3Mb
Flavor: r-oldrel-macos-x86_64
Version: 2.1.1
Check: whether the namespace can be loaded with stated dependencies
Result: NOTE
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/gkwbetareg_20251115132648/gkwbetareg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'gkwbetareg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/bkwreg_20251115132648/bkwreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'bkwreg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/ekwreg_20251115132648/ekwreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'ekwreg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/gkwreg_20251115132648/gkwreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'gkwreg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/kkwreg_20251115132648/kkwreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'kkwreg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/kwreg_20251115132648/kwreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'kwreg': cannot change working directory
Warning in file.create(to[okay]) :
cannot create file 'C:/RTMP/mcreg_20251115132648/mcreg.cpp', reason 'No such file or directory'
Warning in value[[3L]](cond) :
Failed to pre-compile TMB model 'mcreg': cannot change working directory
A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.
Probably some imports need to be declared in the NAMESPACE file.
Flavor: r-oldrel-windows-x86_64
Version: 2.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [26s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(gkwreg)
There were 14 warnings (use warnings() to see them)
>
> test_check("gkwreg")
Saving _problems/test-gkwreg-anova-tests-41.R
Saving _problems/test-gkwreg-anova-tests-53.R
Saving _problems/test-gkwreg-anova-tests-63.R
Saving _problems/test-gkwreg-anova-tests-73.R
Saving _problems/test-gkwreg-anova-tests-85.R
Saving _problems/test-gkwreg-anova-tests-99.R
Saving _problems/test-gkwreg-anova-tests-113.R
Saving _problems/test-gkwreg-anova-tests-122.R
Saving _problems/test-gkwreg-anova-tests-132.R
Saving _problems/test-gkwreg-anova-tests-142.R
Saving _problems/test-gkwreg-anova-tests-160.R
Saving _problems/test-gkwreg-anova-tests-169.R
Saving _problems/test-gkwreg-anova-tests-179.R
Saving _problems/test-gkwreg-anova-tests-192.R
Saving _problems/test-gkwreg-anova-tests-203.R
Saving _problems/test-gkwreg-anova-tests-218.R
Saving _problems/test-gkwreg-anova-tests-231.R
Saving _problems/test-gkwreg-anova-tests-248.R
Saving _problems/test-gkwreg-anova-tests-261.R
Saving _problems/test-gkwreg-anova-tests-274.R
Saving _problems/test-gkwreg-anova-tests-292.R
Saving _problems/test-gkwreg-anova-tests-303.R
Saving _problems/test-gkwreg-anova-tests-313.R
Saving _problems/test-gkwreg-anova-tests-323.R
Saving _problems/test-gkwreg-anova-tests-337.R
Saving _problems/test-gkwreg-anova-tests-351.R
Saving _problems/test-gkwreg-anova-tests-360.R
Saving _problems/test-gkwreg-anova-tests-373.R
Saving _problems/test-gkwreg-anova-tests-401.R
Saving _problems/test-gkwreg-anova-tests-417.R
Saving _problems/test-gkwreg-anova-tests-427.R
Saving _problems/test-gkwreg-anova-tests-437.R
Saving _problems/test-gkwreg-anova-tests-453.R
Saving _problems/test-gkwreg-anova-tests-469.R
Saving _problems/test-gkwreg-anova-tests-479.R
Saving _problems/test-gkwreg-anova-tests-493.R
Saving _problems/test-gkwreg-anova-tests-502.R
Saving _problems/test-gkwreg-anova-tests-518.R
Saving _problems/test-gkwreg-anova-tests-539.R
Saving _problems/test-gkwreg-anova-tests-558.R
Saving _problems/test-gkwreg-anova-tests-576.R
Saving _problems/test-gkwreg-beta-vs-betareg-67.R
Saving _problems/test-gkwreg-beta-vs-betareg-98.R
Saving _problems/test-gkwreg-beta-vs-betareg-127.R
Saving _problems/test-gkwreg-beta-vs-betareg-168.R
Saving _problems/test-gkwreg-beta-vs-betareg-205.R
Saving _problems/test-gkwreg-beta-vs-betareg-226.R
Saving _problems/test-gkwreg-beta-vs-betareg-246.R
Saving _problems/test-gkwreg-beta-vs-betareg-280.R
Saving _problems/test-gkwreg-beta-vs-betareg-305.R
Saving _problems/test-gkwreg-beta-vs-betareg-339.R
Saving _problems/test-gkwreg-beta-vs-betareg-365.R
Saving _problems/test-gkwreg-beta-vs-betareg-386.R
Saving _problems/test-gkwreg-beta-vs-betareg-413.R
Saving _problems/test-gkwreg-beta-vs-betareg-434.R
Saving _problems/test-gkwreg-beta-vs-betareg-455.R
Saving _problems/test-gkwreg-beta-vs-betareg-477.R
Saving _problems/test-gkwreg-beta-vs-betareg-499.R
Saving _problems/test-gkwreg-beta-vs-betareg-527.R
Saving _problems/test-gkwreg-beta-vs-betareg-558.R
Saving _problems/test-gkwreg-control-tests-567.R
Saving _problems/test-gkwreg-control-tests-593.R
Saving _problems/test-gkwreg-control-tests-664.R
Saving _problems/test-gkwreg-control-tests-712.R
Saving _problems/test-gkwreg-control-tests-782.R
Saving _problems/test-gkwreg-core-tests-33.R
Saving _problems/test-gkwreg-core-tests-44.R
Saving _problems/test-gkwreg-core-tests-54.R
Saving _problems/test-gkwreg-core-tests-65.R
Saving _problems/test-gkwreg-core-tests-77.R
Saving _problems/test-gkwreg-core-tests-89.R
Saving _problems/test-gkwreg-core-tests-102.R
Saving _problems/test-gkwreg-core-tests-115.R
Saving _problems/test-gkwreg-core-tests-125.R
Saving _problems/test-gkwreg-core-tests-136.R
Saving _problems/test-gkwreg-core-tests-146.R
Saving _problems/test-gkwreg-core-tests-155.R
Saving _problems/test-gkwreg-core-tests-173.R
Saving _problems/test-gkwreg-core-tests-188.R
Saving _problems/test-gkwreg-core-tests-201.R
Saving _problems/test-gkwreg-core-tests-214.R
Saving _problems/test-gkwreg-core-tests-233.R
Saving _problems/test-gkwreg-core-tests-249.R
Saving _problems/test-gkwreg-core-tests-286.R
Saving _problems/test-gkwreg-core-tests-297.R
Saving _problems/test-gkwreg-core-tests-310.R
Saving _problems/test-gkwreg-core-tests-317.R
Saving _problems/test-gkwreg-core-tests-326.R
Saving _problems/test-gkwreg-core-tests-336.R
Saving _problems/test-gkwreg-core-tests-350.R
Saving _problems/test-gkwreg-core-tests-361.R
Saving _problems/test-gkwreg-core-tests-376.R
Saving _problems/test-gkwreg-core-tests-391.R
Saving _problems/test-gkwreg-core-tests-417.R
Saving _problems/test-gkwreg-core-tests-433.R
Saving _problems/test-gkwreg-core-tests-443.R
Saving _problems/test-gkwreg-core-tests-467.R
Saving _problems/test-gkwreg-core-tests-482.R
Saving _problems/test-gkwreg-core-tests-496.R
Saving _problems/test-gkwreg-core-tests-512.R
Saving _problems/test-gkwreg-core-tests-523.R
Saving _problems/test-gkwreg-core-tests-531.R
Saving _problems/test-gkwreg-core-tests-551.R
Saving _problems/test-gkwreg-core-tests-564.R
Saving _problems/test-gkwreg-core-tests-607.R
Saving _problems/test-gkwreg-core-tests-620.R
Saving _problems/test-gkwreg-core-tests-633.R
Saving _problems/test-gkwreg-core-tests-645.R
Saving _problems/test-gkwreg-core-tests-655.R
Saving _problems/test-gkwreg-core-tests-664.R
Saving _problems/test-gkwreg-core-tests-674.R
Saving _problems/test-gkwreg-core-tests-691.R
Saving _problems/test-gkwreg-methods-tests-43.R
Saving _problems/test-gkwreg-methods-tests-51.R
Saving _problems/test-gkwreg-methods-tests-61.R
Saving _problems/test-gkwreg-methods-tests-76.R
Saving _problems/test-gkwreg-methods-tests-92.R
Saving _problems/test-gkwreg-methods-tests-107.R
Saving _problems/test-gkwreg-methods-tests-123.R
Saving _problems/test-gkwreg-methods-tests-140.R
Saving _problems/test-gkwreg-methods-tests-156.R
Saving _problems/test-gkwreg-methods-tests-173.R
Saving _problems/test-gkwreg-methods-tests-185.R
Saving _problems/test-gkwreg-methods-tests-202.R
Saving _problems/test-gkwreg-methods-tests-214.R
Saving _problems/test-gkwreg-methods-tests-225.R
Saving _problems/test-gkwreg-methods-tests-243.R
Saving _problems/test-gkwreg-methods-tests-254.R
Saving _problems/test-gkwreg-methods-tests-284.R
Saving _problems/test-gkwreg-methods-tests-298.R
Saving _problems/test-gkwreg-methods-tests-315.R
Saving _problems/test-gkwreg-methods-tests-335.R
Saving _problems/test-gkwreg-methods-tests-353.R
Saving _problems/test-gkwreg-methods-tests-366.R
Saving _problems/test-gkwreg-methods-tests-386.R
Saving _problems/test-gkwreg-methods-tests-402.R
Saving _problems/test-gkwreg-methods-tests-421.R
Saving _problems/test-gkwreg-methods-tests-440.R
Saving _problems/test-gkwreg-methods-tests-463.R
Saving _problems/test-gkwreg-methods-tests-478.R
Saving _problems/test-gkwreg-other-methods-tests-9.R
Saving _problems/test-gkwreg-other-methods-tests-23.R
Saving _problems/test-gkwreg-plot-tests-41.R
Saving _problems/test-gkwreg-plot-tests-60.R
Saving _problems/test-gkwreg-plot-tests-80.R
Saving _problems/test-gkwreg-plot-tests-103.R
Saving _problems/test-gkwreg-plot-tests-137.R
Saving _problems/test-gkwreg-plot-tests-164.R
Saving _problems/test-gkwreg-plot-tests-199.R
Saving _problems/test-gkwreg-plot-tests-246.R
Saving _problems/test-gkwreg-plot-tests-271.R
Saving _problems/test-gkwreg-plot-tests-296.R
Saving _problems/test-gkwreg-plot-tests-335.R
Saving _problems/test-gkwreg-plot-tests-355.R
Saving _problems/test-gkwreg-plot-tests-373.R
Saving _problems/test-gkwreg-plot-tests-397.R
Saving _problems/test-gkwreg-plot-tests-423.R
Saving _problems/test-gkwreg-plot-tests-454.R
Saving _problems/test-gkwreg-plot-tests-469.R
Saving _problems/test-gkwreg-predict-tests-45.R
Saving _problems/test-gkwreg-predict-tests-60.R
Saving _problems/test-gkwreg-predict-tests-75.R
Saving _problems/test-gkwreg-predict-tests-92.R
Saving _problems/test-gkwreg-predict-tests-115.R
Saving _problems/test-gkwreg-predict-tests-138.R
Saving _problems/test-gkwreg-predict-tests-173.R
Saving _problems/test-gkwreg-predict-tests-195.R
Saving _problems/test-gkwreg-predict-tests-211.R
Saving _problems/test-gkwreg-predict-tests-230.R
Saving _problems/test-gkwreg-predict-tests-248.R
Saving _problems/test-gkwreg-predict-tests-274.R
Saving _problems/test-gkwreg-predict-tests-298.R
Saving _problems/test-gkwreg-predict-tests-311.R
Saving _problems/test-gkwreg-predict-tests-325.R
Saving _problems/test-gkwreg-predict-tests-346.R
Saving _problems/test-gkwreg-residuals-tests-40.R
Saving _problems/test-gkwreg-residuals-tests-52.R
Saving _problems/test-gkwreg-residuals-tests-66.R
Saving _problems/test-gkwreg-residuals-tests-76.R
Saving _problems/test-gkwreg-residuals-tests-87.R
Saving _problems/test-gkwreg-residuals-tests-107.R
Saving _problems/test-gkwreg-residuals-tests-126.R
Saving _problems/test-gkwreg-residuals-tests-162.R
Saving _problems/test-gkwreg-residuals-tests-180.R
Saving _problems/test-gkwreg-residuals-tests-198.R
Saving _problems/test-gkwreg-residuals-tests-210.R
Saving _problems/test-gkwreg-residuals-tests-229.R
Saving _problems/test-gkwreg-residuals-tests-241.R
Saving _problems/test-gkwreg-residuals-tests-260.R
Saving _problems/test-gkwreg-residuals-tests-277.R
Saving _problems/test-gkwreg-residuals-tests-295.R
Saving _problems/test-gkwreg-residuals-tests-309.R
Saving _problems/test-gkwreg-residuals-tests-327.R
Saving _problems/test-gkwreg-residuals-tests-346.R
Saving _problems/test-gkwreg-residuals-tests-361.R
Saving _problems/test-gkwreg-residuals-tests-375.R
Saving _problems/test-gkwreg-residuals-tests-394.R
Saving _problems/test-gkwreg-residuals-tests-404.R
Saving _problems/test-gkwreg-residuals-tests-417.R
[ FAIL 201 | WARN 200 | SKIP 0 | PASS 170 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gkwreg-anova-tests.R:41:3'): Test 1: Single model anova returns correct structure ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:41:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:53:3'): Test 2: Single model shows correct degrees of freedom ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:53:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:63:3'): Test 3: Single model shows correct deviance ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:63:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:73:3'): Test 4: Two nested models produce comparison ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:73:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:85:3'): Test 5: Multiple nested models all appear in output ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:85:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:99:3'): Test 6: LRT statistic calculated correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:99:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:113:3'): Test 7: LRT statistic is positive for better fitting model ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:113:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:122:3'): Test 8: Degrees of freedom difference calculated correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:122:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:132:3'): Test 9: P-values are between 0 and 1 ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:132:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:142:3'): Test 10: P-values match manual chi-squared calculation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:142:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:160:3'): Test 11: test='none' suppresses p-values ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:160:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:169:3'): Test 12: test='Chisq' includes p-values ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:169:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:179:3'): Test 13: Default test is Chisq ───
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:179:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:192:3'): Test 14: Models automatically ordered by complexity ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:192:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:203:3'): Test 15: Reversed model order produces same results ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:203:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:218:3'): Test 16: Nested families comparison works (kw vs ekw) ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:218:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:231:3'): Test 17: Nested families comparison (beta vs mc) ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:231:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:248:3'): Test 19: Different predictors per parameter are compared ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:248:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:261:3'): Test 20: Intercept-only vs predictors comparison ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:261:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:274:3'): Test 21: Interaction terms comparison ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:274:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:292:3'): Test 22: Output has correct class attributes ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:292:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:303:3'): Test 23: All required columns present ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:303:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:313:3'): Test 24: Row names are informative ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:313:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:323:3'): Test 25: First row has NA for comparison columns ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:323:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:337:3'): Test 26: Identical models produce zero deviance difference ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:337:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:351:3'): Test 27: Single model with test='Chisq' doesn't error ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:351:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:360:3'): Test 28: Non-nested models still produce output ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:360:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:373:3'): Test 29: Very similar models produce small deviance difference ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:373:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:401:3'): Test 30: Significant predictor produces small p-value ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:401:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:417:3'): Test 31: Irrelevant predictor produces large p-value ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:417:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:427:3'): Test 32: Deviance decreases with model complexity ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:427:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:437:3'): Test 33: Sequential tests all have correct df ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:437:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:453:3'): Test 34: GasolineYield dataset produces valid anova ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ 1, data = GasolineYield, family = "kw") at test-gkwreg-anova-tests.R:453:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:469:3'): Test 35: Four nested models compared correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:469:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:479:3'): Test 36: All pairwise comparisons have positive LRT ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:479:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:493:3'): Test 37: Print method works without error ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:493:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:502:3'): Test 38: Summary statistics are all finite ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:502:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:518:3'): Test 39: Results consistent with manual LRT calculation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:518:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:539:3'): Test 40: Models with different link functions compared ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:539:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:558:3'): Test 41: Same family, different complexity levels ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:558:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-anova-tests.R:576:3'): Test 42: Non-gkwreg object produces error ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_anova_models() at test-gkwreg-anova-tests.R:576:3
2. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-anova-tests.R:27:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:67:3'): Test 2: Log-likelihood values should match for same distribution ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:67:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:98:3'): Test 3: Fitted values should be highly correlated ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:98:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:127:3'): Test 4: Parameter transformations are consistent ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:127:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:168:3'): Test 5: Density evaluations should match at observed points ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:168:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:205:3'): Test 6: Both models should converge successfully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2 | x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:205:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:226:3'): Test 7: Residuals should be similar between implementations ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:226:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:246:3'): Test 8: Models perform comparably on GasolineYield data ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ batch + temp, data = GasolineYield, family = "beta") at test-gkwreg-beta-vs-betareg.R:246:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:280:3'): Test 9: Predictions on new data should be comparable ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = train, family = "beta") at test-gkwreg-beta-vs-betareg.R:280:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:305:3'): Test 10: Information criteria should be comparable ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:305:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:339:3'): Test 11: Intercept-only models should be very similar ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1 | 1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:339:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:365:3'): Test 12: Models with variable dispersion should both work ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:365:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:386:3'): Test 13: Estimated parameters should satisfy constraints ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2 | x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:386:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:413:3'): Test 15: Both models estimate same number of parameters ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2 | x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:413:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:431:3'): Test 16: Standard errors are computed for both models ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta", control = gkw_control(hessian = TRUE)) at test-gkwreg-beta-vs-betareg.R:431:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:455:3'): Test 17: Default link functions are applied correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:455:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:477:3'): Test 18: Different prediction types work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:477:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:499:5'): Test 19: Results are consistent across different random seeds ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─base::lapply(...) at test-gkwreg-beta-vs-betareg.R:496:3
2. └─gkwreg (local) FUN(X[[i]], ...)
3. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:499:5
4. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
5. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:524:3'): Test 20: Package examples produce expected results ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ batch + temp, data = GasolineYield, family = "beta") at test-gkwreg-beta-vs-betareg.R:524:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-beta-vs-betareg.R:558:3'): SUMMARY: gkwreg beta family provides compatible alternative to betareg ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2 | x1, data = data, family = "beta") at test-gkwreg-beta-vs-betareg.R:558:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:562:5'): All optimization methods work with gkwreg and produce similar results ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-control-tests.R:562:5
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:588:3'): hessian = FALSE skips standard error computation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-control-tests.R:588:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:621:5'): silent and trace parameters control output correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-gkwreg-control-tests.R:620:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─gkwreg::gkwreg(...) at test-gkwreg-control-tests.R:621:5
10. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
11. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:656:3'): Nelder-Mead simplex parameters affect optimization ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-control-tests.R:656:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:712:5'): Different control settings in model selection workflow ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─base::lapply(...) at test-gkwreg-control-tests.R:711:3
2. └─gkwreg (local) FUN(X[[i]], ...)
3. └─gkwreg::gkwreg(f, GasolineYield, family = "kw", control = ctrl_fast) at test-gkwreg-control-tests.R:712:5
4. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
5. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-control-tests.R:772:3'): Control helps with convergence on difficult simulated data ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-control-tests.R:772:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:33:3'): Test 1: Basic intercept-only model fits successfully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-core-tests.R:33:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:44:3'): Test 2: Model with covariates produces correct coefficient count ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:44:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:54:3'): Test 3: Kumaraswamy family produces valid parameter estimates ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:54:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:65:3'): Test 4: Beta family produces correct fixed parameters ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "beta") at test-gkwreg-core-tests.R:65:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:77:3'): Test 7: Different predictors per parameter specification works ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-core-tests.R:77:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:89:3'): Test 8: Custom log link function is applied correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", link = "log") at test-gkwreg-core-tests.R:89:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:99:3'): Test 9: Named list of link functions works for different parameters ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:99:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:112:3'): Test 10: Custom link scales are properly stored ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:112:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:125:3'): Test 11: Fitted values are within (0, 1) bounds ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:125:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:136:3'): Test 12: Residuals sum to approximately zero ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:136:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:146:3'): Test 13: Log-likelihood is finite ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:146:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:155:3'): Test 14: AIC and BIC are calculated correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:155:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:170:3'): Test 15: Variance-covariance matrix has correct dimensions ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-core-tests.R:170:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:185:3'): Test 16: Standard errors are positive when Hessian computed ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-core-tests.R:185:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:198:3'): Test 17: No Hessian computation when disabled ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(hessian = FALSE)) at test-gkwreg-core-tests.R:198:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:211:3'): Test 18: Different optimization methods produce convergence ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(method = "nlminb")) at test-gkwreg-core-tests.R:211:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:230:3'): Test 19: Model components returned when requested ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:230:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:246:3'): Test 20: Model components not returned when disabled ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:246:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:286:3'): NA handling with na.omit works correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", na.action = na.omit) at test-gkwreg-core-tests.R:286:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:297:3'): Subset argument filters data correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:297:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Failure ('test-gkwreg-core-tests.R:308:3'): Weights argument is accepted without error ──
Expected `fit <- gkwreg(y ~ x1, data = data, family = "kw", weights = weights)` not to throw any errors.
Actually got a <simpleError> with message:
cannot change working directory
── Error ('test-gkwreg-core-tests.R:317:3'): Formula object is properly stored ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-core-tests.R:317:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:326:3'): Convergence message is informative ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:326:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:336:3'): Call is correctly stored in model object ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:336:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:350:3'): KKw family (Kumaraswamy-Kumaraswamy) fits correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kkw") at test-gkwreg-core-tests.R:350:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:361:3'): McDonald family fits correctly ────
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "mc") at test-gkwreg-core-tests.R:361:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:376:3'): Predict method works on new data ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:376:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:388:3'): Confidence intervals can be computed ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-core-tests.R:388:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:417:3'): Parameter recovery works for known Kumaraswamy data ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x | 1, data = data, family = "kw") at test-gkwreg-core-tests.R:417:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:433:3'): GasolineYield dataset fits successfully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ temp, data = GasolineYield, family = "kw") at test-gkwreg-core-tests.R:433:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:443:3'): Model comparison works with nested models ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = data, family = "kw") at test-gkwreg-core-tests.R:443:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Failure ('test-gkwreg-core-tests.R:465:3'): Very small sample size produces warning or still fits ──
Expected `fit <- gkwreg(y ~ x, data = data, family = "kw")` not to throw any errors.
Actually got a <simpleError> with message:
cannot change working directory
── Error ('test-gkwreg-core-tests.R:479:3'): Perfect separation handled gracefully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x, data = data, family = "kw", control = gkw_control(maxit = 1000)) at test-gkwreg-core-tests.R:479:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:496:3'): High collinearity in predictors still produces estimates ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:496:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:509:3'): Summary method produces informative output ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-core-tests.R:509:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:523:3'): Print method works without errors ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:523:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:531:3'): Coef method extracts coefficients correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:531:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:548:3'): Maximum iterations parameter is respected ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(maxit = 50)) at test-gkwreg-core-tests.R:548:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:561:3'): Tolerance parameters affect convergence ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(reltol = 1e-10)) at test-gkwreg-core-tests.R:561:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:578:3'): Silent mode suppresses output ─────
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-gkwreg-core-tests.R:578:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw", control = gkw_control(silent = TRUE))
10. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
11. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:604:3'): Probit link functions work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:604:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:617:3'): Sqrt link function works ──────────
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:617:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:630:3'): Cloglog link function works ───────
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(...) at test-gkwreg-core-tests.R:630:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:645:3'): RMSE is computed correctly ────────
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:645:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:655:3'): Efron R-squared is between 0 and 1 ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:655:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:664:3'): Mean absolute error is positive ───
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = data, family = "kw") at test-gkwreg-core-tests.R:664:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-core-tests.R:674:3'): Degrees of freedom calculated correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = data, family = "kw") at test-gkwreg-core-tests.R:674:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Failure ('test-gkwreg-core-tests.R:689:3'): Offset vector is accepted ───────
Expected `fit <- gkwreg(y ~ x1, data = data, family = "kw", offset = offset_vec)` not to throw any errors.
Actually got a <simpleError> with message:
cannot change working directory
── Error ('test-gkwreg-methods-tests.R:43:3'): Test 1: print.gkwreg produces output without errors ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:43:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:51:3'): Test 2: print.gkwreg respects digits argument ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:51:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:61:3'): Test 3: print.gkwreg returns object invisibly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:61:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:76:3'): Test 4: coef.gkwreg extracts coefficients correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:76:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:92:3'): Test 5: coef.gkwreg matches stored coefficients component ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:92:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:107:3'): Test 6: summary.gkwreg returns proper summary object ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:107:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:123:3'): Test 7: summary.gkwreg computes z-values and p-values ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:123:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:140:3'): Test 8: summary.gkwreg computes confidence intervals ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:140:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:156:3'): Test 9: summary.gkwreg includes residual summary ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:156:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:173:3'): Test 10: print.summary.gkwreg displays formatted output ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:173:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:185:3'): Test 11: print.summary.gkwreg respects signif.stars argument ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:185:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:202:3'): Test 12: vcov.gkwreg returns variance-covariance matrix ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:202:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:214:3'): Test 13: vcov.gkwreg diagonal matches squared standard errors ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:214:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:225:3'): Test 14: vcov.gkwreg warns when Hessian not computed ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:225:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:243:3'): Test 15: nobs.gkwreg returns correct number of observations ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:243:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:254:3'): Test 16: nobs.gkwreg accounts for subset and NA handling ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:254:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:284:3'): Test 17: confint.gkwreg returns confidence intervals ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:284:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:298:3'): Test 18: confint.gkwreg respects level argument ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:298:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:315:3'): Test 19: confint.gkwreg allows parameter selection ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:315:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:335:3'): Test 20: confint.gkwreg intervals contain point estimates ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:335:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:353:3'): All methods work together coherently ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:353:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:366:3'): Methods work across different families ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:366:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:386:3'): Methods handle edge cases gracefully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:386:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:402:3'): summary handles models without Hessian ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:402:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:421:3'): Methods handle factor predictors correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:421:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:440:3'): confint parameter selection errors for invalid input ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:440:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:463:3'): print methods handle large coefficient names properly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:463:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-methods-tests.R:478:3'): Summary statistics are mathematically consistent ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_methods_data() at test-gkwreg-methods-tests.R:478:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw", control = gkw_control(hessian = TRUE)) at test-gkwreg-methods-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-other-methods-tests.R:9:3'): Basic model update works for simple formulas ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ 1, data = GasolineYield, family = "kw") at test-gkwreg-other-methods-tests.R:9:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-other-methods-tests.R:23:3'): Multi-part formula updates work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(yield ~ 1 | 1, data = GasolineYield, family = "kw") at test-gkwreg-other-methods-tests.R:23:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:41:3'): Test 1: Basic plot execution works without errors ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:41:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:60:3'): Test 2: which argument selects specific diagnostic plots ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:60:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:80:3'): Test 3: Different residual types produce valid plots ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:80:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:103:3'): Test 4: Caption customization with named list works ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:103:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:137:3'): Test 5: ggplot2 option produces different output type ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:137:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:164:3'): Test 6: save_diagnostics returns proper data structure ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:164:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:199:3'): Test 7: Half-normal plot parameters control simulation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:199:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:246:3'): Test 8: sample_size reduces data for large datasets ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:246:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:271:3'): Test 9: Invalid inputs produce appropriate errors or warnings ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:271:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:296:3'): Test 10: Plots work across different distribution families ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:296:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:335:3'): Plot handles models with different formula specifications ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:335:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:355:3'): Plot respects ask parameter behavior ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:355:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:373:3'): Plot customization via ... works for base graphics ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:373:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:397:3'): Subtitle customization works correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:397:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:423:3'): Cook's distance and leverage plots identify outliers ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:423:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:454:3'): Plot handles very small datasets gracefully ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x, data = small_data, family = "kw") at test-gkwreg-plot-tests.R:454:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-plot-tests.R:469:3'): Half-normal plot includes envelope when requested ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_plot_data() at test-gkwreg-plot-tests.R:469:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-plot-tests.R:30:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:45:3'): Test 1: Basic prediction with newdata returns correct response type ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 | x2 + x3, data = train, family = "kw") at test-gkwreg-predict-tests.R:45:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:60:3'): Test 2: Prediction without newdata uses original data correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:60:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:75:3'): Test 6: Density calculation at specified points works correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:75:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:92:3'): Test 7: Probability/CDF calculation returns values in [0,1] ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:92:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:115:3'): Test 8: Quantile calculation returns values in (0,1) for valid probabilities ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:115:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:138:3'): Test 9: Elementwise parameter controls behavior correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:138:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:173:3'): Predict handles different families correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:173:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:195:3'): Predict type aliases work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:195:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:211:3'): Predict with factor variables in formula works ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x3 | x3, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:211:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:230:3'): Predict with interaction terms works correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 * x2, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:230:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:248:3'): Predict CDF and quantile are inverse operations ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:248:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:274:3'): Predict density integrates to approximately 1 ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ 1, data = setup$data[1:5, ], family = "kw") at test-gkwreg-predict-tests.R:274:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:298:3'): Predict with default at value works for density ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:298:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:311:3'): Predict handles single observation correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:311:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:325:3'): Predict with very large newdata works efficiently ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2, data = setup$data[1:100, ], family = "kw") at test-gkwreg-predict-tests.R:325:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-predict-tests.R:346:3'): Predict with missing required 'at' parameter errors appropriately ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1, data = setup$data, family = "kw") at test-gkwreg-predict-tests.R:346:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:40:3'): Test 1: Basic fitted values extraction works correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:40:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:52:3'): Test 2: Fitted values are bounded in (0, 1) ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:52:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:66:3'): Test 3: Fitted values match predict() with type='response' ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:66:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:76:3'): Test 4: Fitted values match stored fitted.values component ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:76:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:87:3'): Test 5: Specifying different family triggers recalculation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:87:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:107:3'): Test 6: Fitted values have correct length with subset ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:107:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:126:3'): Test 7: Fitted values are consistent across formula specifications ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:126:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:162:3'): Test 8: Fitted values calculation is efficient for large datasets ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 | x2, data = large_data, family = "kw") at test-gkwreg-residuals-tests.R:162:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:180:3'): Fitted values with factor predictors work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:180:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:198:3'): Fitted values with interaction terms work ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:198:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:210:3'): Fitted values match manual calculation from parameters ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:210:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:229:3'): Fitted values are deterministic and reproducible ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:229:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:241:3'): Fitted values with different link functions are valid ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:241:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:260:3'): Fitted values correlation with observed values is positive ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:260:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:277:3'): Fitted values range is narrower than observed values range ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:277:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:295:3'): Fitted values mean is close to observed mean ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:295:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:309:3'): Fitted values with offset work correctly ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:309:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:327:3'): Fitted values with weights are properly calculated ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:327:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:346:3'): Fitted values for intercept-only model are constant ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:346:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:361:3'): Fitted method works with transformed response ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:361:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:375:3'): Fitted values can be used for residual calculation ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:375:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:394:3'): Fitted values handle very small sample sizes ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x, data = small_data, family = "kw") at test-gkwreg-residuals-tests.R:394:3
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:404:3'): Fitted method signature accepts standard arguments ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:404:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
── Error ('test-gkwreg-residuals-tests.R:417:3'): Fitted values from stored component vs recalculation match ──
Error in `setwd(temp_compile_dir)`: cannot change working directory
Backtrace:
▆
1. └─gkwreg (local) setup_fitted_data() at test-gkwreg-residuals-tests.R:417:3
2. └─gkwreg::gkwreg(y ~ x1 | x2, data = data, family = "kw") at test-gkwreg-residuals-tests.R:29:3
3. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
4. └─base::setwd(temp_compile_dir)
[ FAIL 201 | WARN 200 | SKIP 0 | PASS 170 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 2.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'gkwreg-vs-betareg.Rmd' using rmarkdown
Quitting from gkwreg-vs-betareg.Rmd:605-653 [scenario1_coef_comparison]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `setwd()`:
! cannot change working directory
---
Backtrace:
▆
1. └─gkwreg::gkwreg(y ~ x1 + x2 | x1, data = data_coef_s1, family = "kw")
2. └─gkwreg:::.check_and_compile_TMB_code(dll_name, verbose = !silent)
3. └─base::setwd(temp_compile_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'gkwreg-vs-betareg.Rmd' failed with diagnostics:
cannot change working directory
--- failed re-building 'gkwreg-vs-betareg.Rmd'
SUMMARY: processing the following file failed:
'gkwreg-vs-betareg.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-x86_64