The deposition or certified copy thereof may be read in evidence by either party on the trial upon its appearing that the witness is unable to attend by reason of his death, insanity, sickness, or infirmity, or of his continued absence from the state. Upon reading the depositions in evidence, the same objections may be taken to a question or answer contained therein as if the witness had been examined orally in court.
R.L.1910, § 6034.