Unit Test Coverage Report
The unit tests employed by the ‘broadcast’ package have a test coverage of over 95%.
For the sake of transparency, the unit tests coverage report, produced by the covr package, is provided here:
broadcast Coverage: 96.51%
R/internal_typefuns.R: 79.66%
src/C_arraysize_overflow.c: 85.71%
src/rcpp_bc_ifelse.cpp: 85.71%
R/internal_hiercast.R: 87.10%
R/overload_ops_math.R: 89.23%
src/rcpp_any_nonarray.cpp: 90.00%
R/hier2dim.R: 90.32%
src/rcpp_bc_bit.cpp: 91.43%
R/linear_algebra_stats.R: 92.00%
R/internal_acast.R: 92.11%
src/rcpp_hier2dim.cpp: 92.20%
R/internal_bind.R: 92.31%
R/broadcastWrappers.R: 92.86%
src/rcpp_ecp.cpp: 92.86%
src/rcpp_lst_ndims.cpp: 92.86%
R/rep_dim.R: 93.33%
R/broadcaster.R: 93.62%
R/internal_functions.R: 93.75%
src/C_make_dcp.c: 93.75%
src/rcpp_bcRel_bit.cpp: 94.12%
R/typecast.R: 94.64%
R/bc_list.R: 94.87%
src/C_determine_dimmode.c: 94.87%
src/rcpp_binames.cpp: 94.92%
src/C_seq_Clen.c: 95.00%
src/rcpp_bcRel_cplx.cpp: 95.00%
R/overload_ops_andor.R: 95.45%
src/C_bindhelper_max_type.c: 95.45%
R/bc_strrep.R: 95.56%
R/vector2array.R: 95.56%
src/rcpp_cast_shallow2atomic.cpp: 95.71%
R/cast_shallow2atomic.R: 95.89%
R/acast.R: 96.00%
R/internal_binary.R: 96.12%
R/internal_bind_names.R: 96.30%
src/rcpp_bcD_str.cpp: 96.43%
R/overload_relops.R: 96.83%
src/rcpp_bcD_int.cpp: 96.97%
src/rcpp_bindhelpers.cpp: 97.70%
R/checkmissing.R: 98.00%
R/bc_bit.R: 98.68%
R/bc_str.R: 99.09%
R/bc_b.R: 100.00%
R/bc_cplx.R: 100.00%
R/bc_d.R: 100.00%
R/bc_dim.R: 100.00%
R/bc_i.R: 100.00%
R/bc_ifelse.R: 100.00%
R/bc_raw.R: 100.00%
R/bc_rel.R: 100.00%
R/bcapply.R: 100.00%
R/bind_array.R: 100.00%
R/cast_dim2flat.R: 100.00%
R/cast_dim2hier.R: 100.00%
R/cast_hier2dim.R: 100.00%
R/class_methods.R: 100.00%
R/dropnests.R: 100.00%
R/internal_acast_names.R: 100.00%
R/internal_opfuns.R: 100.00%
R/ndim.R: 100.00%
src/C_any_nonNULL.c: 100.00%
src/C_bind_which_comdims.c: 100.00%
src/C_bindhelper_get_alongdims.c: 100.00%
src/C_bindhelper_need_coerce.c: 100.00%
src/C_bindhelper_sum_along.c: 100.00%
src/C_check_conf_dim.c: 100.00%
src/C_chunkify_dims.c: 100.00%
src/C_dims_allge.c: 100.00%
src/C_make_by.c: 100.00%
src/C_make_outdim.c: 100.00%
src/C_pmax.c: 100.00%
src/C_recycle_seq_dim.c: 100.00%
src/C_sd_lc.c: 100.00%
src/C_unlisthelper_maxlen.c: 100.00%
src/rcpp_acast.cpp: 100.00%
src/rcpp_bc_b.cpp: 100.00%
src/rcpp_bc_bind.cpp: 100.00%
src/rcpp_bc_cplx.cpp: 100.00%
src/rcpp_bc_dec.cpp: 100.00%
src/rcpp_bc_int.cpp: 100.00%
src/rcpp_bc_list.cpp: 100.00%
src/rcpp_bc_raw.cpp: 100.00%
src/rcpp_bc_str.cpp: 100.00%
src/rcpp_bc_strrep.cpp: 100.00%
src/rcpp_bcapply.cpp: 100.00%
src/rcpp_bcD_dec.cpp: 100.00%
src/rcpp_bcRel_b.cpp: 100.00%
src/rcpp_bcRel_dec.cpp: 100.00%
src/rcpp_bcRel_int.cpp: 100.00%
src/rcpp_bcRel_raw.cpp: 100.00%
src/rcpp_bcRel_str.cpp: 100.00%
src/rcpp_cast_dim2hier.cpp: 100.00%
src/rcpp_cast_hier2dim.cpp: 100.00%
src/rcpp_checkmissing.cpp: 100.00%
src/rcpp_mergedims.cpp: 100.00%
src/rcpp_set_attr.cpp: 100.00%