Asking for a code of a standard error when performing wilcoxon rank sum test and kruskal-wallis test in R.

To proceed can you provide a reprex for the code you are looking at. I think it may be for effects. See the FAQ: How to do a minimal reproducible example reprex for beginners.