Baptism is a requirement, communion, confirmation and penance are not requirements in Canon Law but are strongly recommended.
However, since they are all deemed to be sacraments, the liklihood is that the person concerned would be asked why they have not received these sacraments and potentially are they prepared to receive them now?. Depending on the answer given, the priest may refuse the sacrament of marraige on the grounds that if the person is refusing to receive one sacrament, why should they get another?