Changes in version 4.1.0 (2025-06-16) User supplied routine can now also return p value for twosample_power Some other minor changes Changes in version 4.0.1 (2025-04-30) Fixed a serious bug in twosample_test Changes in version 4.0.0 (2025-04-27) It is now possible to use a routine to generate new simulated data to find p values, the parametric bootstrap approach. This is needed for the goodness-of-fit/twosample hybrid problem. Also some changes to the hidden interior routines Changes in version 3.1.1 (2025-03-16) Fixed a minor bug Changes in version 3.1.0 (2025-03-09) Improved the routines that do power calculations for better speed. Included a timing routine to see whether using a single core is faster than using multiple processing. Some minor changes to other routines. Changes in version 3.0.0 (2025-02-01) Added routine to allow benchmarking of new user supplied tests. Some minor changes to other routines. Changes in version 2.2.0 (2024-10-21) some minor bug fixes, additions to vignette Changes in version 2.1.0 Added routines for calculating p values adjusted for simultaneous testing Changes in version 1.1.0 (2023-01-23) fixed a bug in calculation of chi square test, made cpp routines invisible, fixed issue with help titles Changes in version 1.0.0 (2022-10-26) fixed a code problem in TS_disc_cpp on line 146 made some changes to the arguments of twosample_power Changes in version 0.0.4 changed line 66 in TS_cont_cpp.cpp from while ( (x[j]<=sxy[i]) && (j