Note that correlation tests require that the two vectors examined are of the same length.
Thus, if the grouping defines groups of varying lengths then the specific correlation is
not computed and a NA is returned instead. The adjusted p values are only based on
the actual correlation that are computed.
Extra arguments that are passed on to cor.test may or may not be sensible in this context.