The df should contain only scores on the focal test and on the criterion variables. Any additional columns should be deleted.
Focal test scores should be in the first column. If you need to reorder columns, you can do so by column number - eg, df <- df[c(1,3,2)] -
or by column name - eg, df <- df[c("test", "crit1", "crit2")]
This function uses the "pairwise.complete.obs" option, which handles missing data by pairwise deletion.