Moved svgDioc.new and as.character.svgDoc into svgDoc.R