The run-up to the election has been marked by concerns over disinformation, foreign influence and threats to election workers and voting systems.