Factual error: When Roberts makes a deal with the Captain, he demands that the Captain grant liberty to both sections (i.e., the entire crew), leaving only Roberts and one enlisted man aboard as the deck watch. All U.S. Navy ships must have enough personnel aboard at all times to get the ship underway immediately, if necessary, which is why the crew is divided into watch sections.
Factual error: The captain walks through the wheelhouse to the outer deck to water his potted palm tree. Even though the ship is at sea, there is no one on the bridge, and the ship's wheel can be seen through the window, moving back-and-forth, steering the ship by itself. A naval ship, particularly during WWII, would always have a crew at the helm and the wheelhouse would never be left empty.