When an endorsed nominee as a candidate to be voted upon at any primary has deceased prior to the holding of the primary, the committee having the original authority to endorse the candidate shall substitute as the endorsed nominee for candidate to be voted upon at the primary any person qualified to vote at the primary in the place and stead of the deceased nominee; provided, that immediately upon receipt of actual knowledge of the death of the endorsed nominee by the committee having the original authority to endorse the candidate, the committee shall make the substitution referred to in this section. The chairperson of the committee shall, immediately upon the substitution, notify the secretary of state in writing of the death of the endorsed nominee and of the substitution of a nominee as provided in this section. Any substituted nominee shall have been eligible for nomination on the dates as required by and pursuant to the requirements of §§ 17-14-1, 17-14-1.1, 17-14-2, and 17-14-2.1. Upon receipt of the notice, the secretary of state shall thereupon substitute on the ballots the name of the endorsed nominee who replaces the deceased endorsed nominee as provided in this section; provided, that the written notice is received by the secretary of state at least fourteen (14) days prior to the date of the primary.
R.I. Gen. Laws § 17-14-17