useDynLib("colorspace")
import("methods")
importFrom("graphics", "plot")
exportClasses("color", "RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")
export("RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")
export("mixcolor", "coords")
export("hex", "hex2RGB", "readRGB", "readhex", "writehex")
export("rainbow_hcl", "diverge_hcl", "diverge_hsv", "heat_hcl", "sequential_hcl", "terrain_hcl")
exportMethods("[", "coerce", "coords", "plot", "show")

useDynLib("colorspace")
import("methods")
importFrom("graphics", "plot")
exportClasses("color", "RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")
export("RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")
export("mixcolor", "coords")
export("hex", "hex2RGB", "readRGB", "readhex", "writehex")
export("rainbow_hcl", "diverge_hcl", "diverge_hsv", "heat_hcl", "sequential_hcl", "terrain_hcl")
export("desaturate")
exportMethods("[", "coerce", "coords", "plot", "show")

"barplot", "image", "pairs", "par", "persp", "pie", "plot", "polygon", "rect", "segments")
"col2rgb", "dev.cur", "dev.list", "dev.new", "dev.off", "dev.set")

"axis", "barplot", "image", "layout", "legend", "lines", "mtext", "text",
"pairs", "par", "persp", "pie", "plot", "polygon", "rect", "segments")

#importFrom(RCurl, getURL, url.exists, curlPerform, basicTextGatherer, curlEscape)
importFrom(XML, xmlParse, xmlChildren, xmlValue, xpathApply, xmlAttrs, xmlToList, htmlTreeParse)

importFrom("XML", "xmlParse", "xmlChildren", "xmlValue", "xpathApply",
importFrom("graphics", "axis", "par", "pie", "plot", "rasterImage")

importFrom("graphics", "plot", "points", "segments", "polygon", "text")

importFrom("graphics", "plot", "points", "segments", "polygon", "text", "arrows")

importFrom("stats", "qnorm", "dbeta", "dchisq", "dnorm")

exportPattern("^[[:alpha:]]+")
importFrom("stats", "qnorm", "dbeta", "dchisq", "dnorm","dgamma", "dt")

exportPattern("^[[:alpha:]]+")
importFrom("stats", "qnorm", "dbeta", "dchisq", "dnorm","dgamma", "dt")