Digital Currency – What does it take to launch a CBDC?

Despite the many merits, why are countries not rushing to introduce this new form of money? Why are countries spending years on research and launching long term pilots? What are the key considerations for effectively implementing a digital currency?