The center-left government is being challenged by a right-wing populist accused of launching a smear campaign in the final days of a close race.