Add test for double escaping
Export c.rd
Improve readme and roxygenise docs