The master of every ship plying between ports in the Republic or between a port in the Republic and any other port, wherever she may be registered, shall ensure that the compasses on board that ship are properly adjusted from time to time, in accordance with the regulations.