Reformat the code in CITATION.
Minor corrections in the package documentation.
Set the date of the 1.4.0 release in DESCRIPTION.
Update the NEWS file.