validate pvalues. They must be finite, in range [0,1]
check_p(p)
p
numeric vector of p-values
numeric vector of length 2 with (min(p), max(p))