From 5350085a4432f20bf92f7211426837d0a8f43cf5 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 3 Dec 2020 15:00:52 +1100 Subject: [PATCH] removed colour palette lists --- inst/include/colourvalues/palettes/blue2green.hpp | 12 +++++++----- inst/include/colourvalues/palettes/blue2red.hpp | 12 +++++++----- inst/include/colourvalues/palettes/blue2yellow.hpp | 12 +++++++----- inst/include/colourvalues/palettes/blues.hpp | 12 +++++++----- inst/include/colourvalues/palettes/brbg.hpp | 12 +++++++----- inst/include/colourvalues/palettes/bugn.hpp | 12 +++++++----- inst/include/colourvalues/palettes/bupu.hpp | 10 +++++----- inst/include/colourvalues/palettes/cividis.hpp | 10 +++++----- inst/include/colourvalues/palettes/cm.hpp | 10 +++++----- inst/include/colourvalues/palettes/cyan2yellow.hpp | 10 +++++----- inst/include/colourvalues/palettes/diverge_hcl.hpp | 10 +++++----- inst/include/colourvalues/palettes/diverge_hsv.hpp | 10 +++++----- inst/include/colourvalues/palettes/gnbu.hpp | 10 +++++----- inst/include/colourvalues/palettes/green2red.hpp | 10 +++++----- inst/include/colourvalues/palettes/greens.hpp | 10 +++++----- inst/include/colourvalues/palettes/greys.hpp | 10 +++++----- inst/include/colourvalues/palettes/heat.hpp | 10 +++++----- inst/include/colourvalues/palettes/heat_hcl.hpp | 10 +++++----- inst/include/colourvalues/palettes/inferno.hpp | 10 +++++----- .../colourvalues/palettes/magenta2green.hpp | 10 +++++----- inst/include/colourvalues/palettes/magma.hpp | 10 +++++----- inst/include/colourvalues/palettes/matlab_like.hpp | 10 +++++----- .../include/colourvalues/palettes/matlab_like2.hpp | 10 +++++----- inst/include/colourvalues/palettes/oranges.hpp | 10 +++++----- inst/include/colourvalues/palettes/orrd.hpp | 10 +++++----- inst/include/colourvalues/palettes/piyg.hpp | 10 +++++----- inst/include/colourvalues/palettes/plasma.hpp | 10 +++++----- inst/include/colourvalues/palettes/prgn.hpp | 10 +++++----- inst/include/colourvalues/palettes/pubu.hpp | 10 +++++----- inst/include/colourvalues/palettes/pubugn.hpp | 10 +++++----- inst/include/colourvalues/palettes/puor.hpp | 10 +++++----- inst/include/colourvalues/palettes/purd.hpp | 10 +++++----- inst/include/colourvalues/palettes/purples.hpp | 10 +++++----- inst/include/colourvalues/palettes/rainbow.hpp | 10 +++++----- inst/include/colourvalues/palettes/rainbow_hcl.hpp | 10 +++++----- inst/include/colourvalues/palettes/rdbu.hpp | 10 +++++----- inst/include/colourvalues/palettes/rdgy.hpp | 10 +++++----- inst/include/colourvalues/palettes/rdpu.hpp | 10 +++++----- inst/include/colourvalues/palettes/rdylbu.hpp | 10 +++++----- inst/include/colourvalues/palettes/rdylgn.hpp | 10 +++++----- inst/include/colourvalues/palettes/reds.hpp | 10 +++++----- .../colourvalues/palettes/sequential_hcl.hpp | 10 +++++----- inst/include/colourvalues/palettes/spectral.hpp | 10 +++++----- inst/include/colourvalues/palettes/terrain.hpp | 10 +++++----- inst/include/colourvalues/palettes/terrain_hcl.hpp | 10 +++++----- inst/include/colourvalues/palettes/topo.hpp | 10 +++++----- inst/include/colourvalues/palettes/viridis.hpp | 10 +++++----- inst/include/colourvalues/palettes/ygobb.hpp | 10 +++++----- inst/include/colourvalues/palettes/ylgn.hpp | 10 +++++----- inst/include/colourvalues/palettes/ylgnbu.hpp | 10 +++++----- inst/include/colourvalues/palettes/ylorbr.hpp | 10 +++++----- inst/include/colourvalues/palettes/ylorrd.hpp | 14 +++++++------- 52 files changed, 274 insertions(+), 262 deletions(-) diff --git a/inst/include/colourvalues/palettes/blue2green.hpp b/inst/include/colourvalues/palettes/blue2green.hpp index a0d0850..560fa45 100644 --- a/inst/include/colourvalues/palettes/blue2green.hpp +++ b/inst/include/colourvalues/palettes/blue2green.hpp @@ -208,11 +208,13 @@ namespace palette { 0.0117647058823529,0.00784313725490196,0.00392156862745098,0 }; -const Rcpp::List blue2green = Rcpp::List::create( - _["r"] = blue2green_red, - _["g"] = blue2green_green, - _["b"] = blue2green_blue -); + // inline Rcpp::DataFrame blue2green() { + // return Rcpp::DataFrame::create( + // _["r"] = blue2green_red, + // _["g"] = blue2green_green, + // _["b"] = blue2green_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/blue2red.hpp b/inst/include/colourvalues/palettes/blue2red.hpp index 1847211..57d7cf0 100644 --- a/inst/include/colourvalues/palettes/blue2red.hpp +++ b/inst/include/colourvalues/palettes/blue2red.hpp @@ -208,11 +208,13 @@ namespace palette { 0,0,0,0 }; -const Rcpp::List blue2red = Rcpp::List::create( - _["r"] = blue2red_red, - _["g"] = blue2red_green, - _["b"] = blue2red_blue -); + // inline Rcpp::DataFrame blue2red() { + // return Rcpp::DataFrame::create( + // _["r"] = blue2red_red, + // _["g"] = blue2red_green, + // _["b"] = blue2red_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/blue2yellow.hpp b/inst/include/colourvalues/palettes/blue2yellow.hpp index 84cecf7..bed280f 100644 --- a/inst/include/colourvalues/palettes/blue2yellow.hpp +++ b/inst/include/colourvalues/palettes/blue2yellow.hpp @@ -208,11 +208,13 @@ namespace palette { 0.0117647058823529,0.00784313725490196,0.00392156862745098,0 }; -const Rcpp::List blue2yellow = Rcpp::List::create( - _["r"] = blue2yellow_red, - _["g"] = blue2yellow_green, - _["b"] = blue2yellow_blue -); + // inline Rcpp::DataFrame blue2yellow() { + // return Rcpp::DataFrame::create( + // _["r"] = blue2yellow_red, + // _["g"] = blue2yellow_green, + // _["b"] = blue2yellow_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/blues.hpp b/inst/include/colourvalues/palettes/blues.hpp index 53c9246..fb9f707 100644 --- a/inst/include/colourvalues/palettes/blues.hpp +++ b/inst/include/colourvalues/palettes/blues.hpp @@ -25,11 +25,13 @@ namespace palette { 0.709803921568627,0.611764705882353,0.419607843137255 }; -const Rcpp::List blues = Rcpp::List::create( - _["r"] = blues_red, - _["g"] = blues_green, - _["b"] = blues_blue -); + // inline Rcpp::DataFrame blues() { + // return Rcpp::DataFrame::create( + // _["r"] = blues_red, + // _["g"] = blues_green, + // _["b"] = blues_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/brbg.hpp b/inst/include/colourvalues/palettes/brbg.hpp index de8c846..c92d605 100644 --- a/inst/include/colourvalues/palettes/brbg.hpp +++ b/inst/include/colourvalues/palettes/brbg.hpp @@ -49,11 +49,13 @@ namespace palette { 0.188235294117647 }; -const Rcpp::List brbg = Rcpp::List::create( - _["r"] = brbg_red, - _["g"] = brbg_green, - _["b"] = brbg_blue -); + // inline Rcpp::DataFrame brbg() { + // return Rcpp::DataFrame::create( + // _["r"] = brbg_red, + // _["g"] = brbg_green, + // _["b"] = brbg_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/bugn.hpp b/inst/include/colourvalues/palettes/bugn.hpp index 3fa755e..c3ecdd6 100644 --- a/inst/include/colourvalues/palettes/bugn.hpp +++ b/inst/include/colourvalues/palettes/bugn.hpp @@ -25,11 +25,13 @@ namespace palette { 0.270588235294118,0.172549019607843,0.105882352941176 }; -const Rcpp::List bugn = Rcpp::List::create( - _["r"] = bugn_red, - _["g"] = bugn_green, - _["b"] = bugn_blue -); + // inline Rcpp::DataFrame bugn() { + // Rcpp::List::create( + // _["r"] = bugn_red, + // _["g"] = bugn_green, + // _["b"] = bugn_blue + // ); + // } } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/bupu.hpp b/inst/include/colourvalues/palettes/bupu.hpp index eb032d7..f6ea072 100644 --- a/inst/include/colourvalues/palettes/bupu.hpp +++ b/inst/include/colourvalues/palettes/bupu.hpp @@ -25,11 +25,11 @@ namespace palette { 0.615686274509804,0.486274509803922,0.294117647058824 }; -const Rcpp::List bupu = Rcpp::List::create( - _["r"] = bupu_red, - _["g"] = bupu_green, - _["b"] = bupu_blue -); + // const Rcpp::List bupu = Rcpp::List::create( + // _["r"] = bupu_red, + // _["g"] = bupu_green, + // _["b"] = bupu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/cividis.hpp b/inst/include/colourvalues/palettes/cividis.hpp index 95cd7b8..14ca6a8 100644 --- a/inst/include/colourvalues/palettes/cividis.hpp +++ b/inst/include/colourvalues/palettes/cividis.hpp @@ -110,11 +110,11 @@ namespace palette { 0.2708, 0.2655, 0.26, 0.2593, 0.2634, 0.268, 0.2731 }; - const Rcpp::List cividis = Rcpp::List::create( - Rcpp::_["r"] = cividis_red, - Rcpp::_["g"] = cividis_green, - Rcpp::_["b"] = cividis_blue - ); + // const Rcpp::List cividis = Rcpp::List::create( + // Rcpp::_["r"] = cividis_red, + // Rcpp::_["g"] = cividis_green, + // Rcpp::_["b"] = cividis_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/cm.hpp b/inst/include/colourvalues/palettes/cm.hpp index ffe1a3f..673ba87 100644 --- a/inst/include/colourvalues/palettes/cm.hpp +++ b/inst/include/colourvalues/palettes/cm.hpp @@ -208,11 +208,11 @@ namespace palette { 1,1,1,1 }; -const Rcpp::List cm = Rcpp::List::create( - _["r"] = cm_red, - _["g"] = cm_green, - _["b"] = cm_blue -); + // const Rcpp::List cm = Rcpp::List::create( + // _["r"] = cm_red, + // _["g"] = cm_green, + // _["b"] = cm_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/cyan2yellow.hpp b/inst/include/colourvalues/palettes/cyan2yellow.hpp index 8abd5a6..60f8373 100644 --- a/inst/include/colourvalues/palettes/cyan2yellow.hpp +++ b/inst/include/colourvalues/palettes/cyan2yellow.hpp @@ -208,11 +208,11 @@ namespace palette { 0.0117647058823529,0.00784313725490196,0.00392156862745098,0 }; -const Rcpp::List cyan2yellow = Rcpp::List::create( - _["r"] = cyan2yellow_red, - _["g"] = cyan2yellow_green, - _["b"] = cyan2yellow_blue -); + // const Rcpp::List cyan2yellow = Rcpp::List::create( + // _["r"] = cyan2yellow_red, + // _["g"] = cyan2yellow_green, + // _["b"] = cyan2yellow_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/diverge_hcl.hpp b/inst/include/colourvalues/palettes/diverge_hcl.hpp index 0e7a252..21d92a7 100644 --- a/inst/include/colourvalues/palettes/diverge_hcl.hpp +++ b/inst/include/colourvalues/palettes/diverge_hcl.hpp @@ -208,11 +208,11 @@ namespace palette { 0.254901960784314,0.247058823529412,0.23921568627451,0.231372549019608 }; -const Rcpp::List diverge_hcl = Rcpp::List::create( - _["r"] = diverge_hcl_red, - _["g"] = diverge_hcl_green, - _["b"] = diverge_hcl_blue -); + // const Rcpp::List diverge_hcl = Rcpp::List::create( + // _["r"] = diverge_hcl_red, + // _["g"] = diverge_hcl_green, + // _["b"] = diverge_hcl_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/diverge_hsv.hpp b/inst/include/colourvalues/palettes/diverge_hsv.hpp index b1c8f03..ad03dd4 100644 --- a/inst/include/colourvalues/palettes/diverge_hsv.hpp +++ b/inst/include/colourvalues/palettes/diverge_hsv.hpp @@ -208,11 +208,11 @@ namespace palette { 0.164705882352941,0.133333333333333,0.0862745098039216,0 }; -const Rcpp::List diverge_hsv = Rcpp::List::create( - _["r"] = diverge_hsv_red, - _["g"] = diverge_hsv_green, - _["b"] = diverge_hsv_blue -); + // const Rcpp::List diverge_hsv = Rcpp::List::create( + // _["r"] = diverge_hsv_red, + // _["g"] = diverge_hsv_green, + // _["b"] = diverge_hsv_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/gnbu.hpp b/inst/include/colourvalues/palettes/gnbu.hpp index 31cf04a..49e1812 100644 --- a/inst/include/colourvalues/palettes/gnbu.hpp +++ b/inst/include/colourvalues/palettes/gnbu.hpp @@ -25,11 +25,11 @@ namespace palette { 0.745098039215686,0.674509803921569,0.505882352941176 }; -const Rcpp::List gnbu = Rcpp::List::create( - _["r"] = gnbu_red, - _["g"] = gnbu_green, - _["b"] = gnbu_blue -); + // const Rcpp::List gnbu = Rcpp::List::create( + // _["r"] = gnbu_red, + // _["g"] = gnbu_green, + // _["b"] = gnbu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/green2red.hpp b/inst/include/colourvalues/palettes/green2red.hpp index 9d173f3..c70a69a 100644 --- a/inst/include/colourvalues/palettes/green2red.hpp +++ b/inst/include/colourvalues/palettes/green2red.hpp @@ -208,11 +208,11 @@ namespace palette { 0,0,0,0 }; -const Rcpp::List green2red = Rcpp::List::create( - _["r"] = green2red_red, - _["g"] = green2red_green, - _["b"] = green2red_blue -); + // const Rcpp::List green2red = Rcpp::List::create( + // _["r"] = green2red_red, + // _["g"] = green2red_green, + // _["b"] = green2red_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/greens.hpp b/inst/include/colourvalues/palettes/greens.hpp index 82a303a..e9fb4b8 100644 --- a/inst/include/colourvalues/palettes/greens.hpp +++ b/inst/include/colourvalues/palettes/greens.hpp @@ -25,11 +25,11 @@ namespace palette { 0.270588235294118,0.172549019607843,0.105882352941176 }; -const Rcpp::List greens = Rcpp::List::create( - _["r"] = greens_red, - _["g"] = greens_green, - _["b"] = greens_blue -); + // const Rcpp::List greens = Rcpp::List::create( + // _["r"] = greens_red, + // _["g"] = greens_green, + // _["b"] = greens_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/greys.hpp b/inst/include/colourvalues/palettes/greys.hpp index 7db1276..8077f08 100644 --- a/inst/include/colourvalues/palettes/greys.hpp +++ b/inst/include/colourvalues/palettes/greys.hpp @@ -25,11 +25,11 @@ namespace palette { 0.32156862745098,0.145098039215686,0 }; -const Rcpp::List greys = Rcpp::List::create( - _["r"] = greys_red, - _["g"] = greys_green, - _["b"] = greys_blue -); + // const Rcpp::List greys = Rcpp::List::create( + // _["r"] = greys_red, + // _["g"] = greys_green, + // _["b"] = greys_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/heat.hpp b/inst/include/colourvalues/palettes/heat.hpp index bf1c2eb..5b79dc2 100644 --- a/inst/include/colourvalues/palettes/heat.hpp +++ b/inst/include/colourvalues/palettes/heat.hpp @@ -208,11 +208,11 @@ namespace palette { 0.945098039215686,0.96078431372549,0.976470588235294,0.992156862745098 }; -const Rcpp::List heat = Rcpp::List::create( - _["r"] = heat_red, - _["g"] = heat_green, - _["b"] = heat_blue -); + // const Rcpp::List heat = Rcpp::List::create( + // _["r"] = heat_red, + // _["g"] = heat_green, + // _["b"] = heat_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/heat_hcl.hpp b/inst/include/colourvalues/palettes/heat_hcl.hpp index e1b1315..e83c74b 100644 --- a/inst/include/colourvalues/palettes/heat_hcl.hpp +++ b/inst/include/colourvalues/palettes/heat_hcl.hpp @@ -208,11 +208,11 @@ namespace palette { 0.56078431372549,0.580392156862745,0.603921568627451,0.741176470588235 }; -const Rcpp::List heat_hcl = Rcpp::List::create( - _["r"] = heat_hcl_red, - _["g"] = heat_hcl_green, - _["b"] = heat_hcl_blue -); + // const Rcpp::List heat_hcl = Rcpp::List::create( + // _["r"] = heat_hcl_red, + // _["g"] = heat_hcl_green, + // _["b"] = heat_hcl_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/inferno.hpp b/inst/include/colourvalues/palettes/inferno.hpp index 4ea3eef..8a902d5 100644 --- a/inst/include/colourvalues/palettes/inferno.hpp +++ b/inst/include/colourvalues/palettes/inferno.hpp @@ -172,11 +172,11 @@ namespace palette { 0.644924005 }; - const Rcpp::List inferno = Rcpp::List::create( - Rcpp::_["r"] = inferno_red, - Rcpp::_["g"] = inferno_green, - Rcpp::_["b"] = inferno_blue - ); + // const Rcpp::List inferno = Rcpp::List::create( + // Rcpp::_["r"] = inferno_red, + // Rcpp::_["g"] = inferno_green, + // Rcpp::_["b"] = inferno_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/magenta2green.hpp b/inst/include/colourvalues/palettes/magenta2green.hpp index 4ca5343..0806f3b 100644 --- a/inst/include/colourvalues/palettes/magenta2green.hpp +++ b/inst/include/colourvalues/palettes/magenta2green.hpp @@ -208,11 +208,11 @@ namespace palette { 0.0117647058823529,0.00784313725490196,0.00392156862745098,0 }; -const Rcpp::List magenta2green = Rcpp::List::create( - _["r"] = magenta2green_red, - _["g"] = magenta2green_green, - _["b"] = magenta2green_blue -); + // const Rcpp::List magenta2green = Rcpp::List::create( + // _["r"] = magenta2green_red, + // _["g"] = magenta2green_green, + // _["b"] = magenta2green_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/magma.hpp b/inst/include/colourvalues/palettes/magma.hpp index 561cc25..f5d6f9b 100644 --- a/inst/include/colourvalues/palettes/magma.hpp +++ b/inst/include/colourvalues/palettes/magma.hpp @@ -172,11 +172,11 @@ namespace palette { 0.749504188 }; - const Rcpp::List magma = Rcpp::List::create( - Rcpp::_["r"] = magma_red, - Rcpp::_["g"] = magma_green, - Rcpp::_["b"] = magma_blue - ); + // const Rcpp::List magma = Rcpp::List::create( + // Rcpp::_["r"] = magma_red, + // Rcpp::_["g"] = magma_green, + // Rcpp::_["b"] = magma_blue + // ); } // namespace palette } // namepsace colourvalues #endif diff --git a/inst/include/colourvalues/palettes/matlab_like.hpp b/inst/include/colourvalues/palettes/matlab_like.hpp index cfba777..cfd7984 100644 --- a/inst/include/colourvalues/palettes/matlab_like.hpp +++ b/inst/include/colourvalues/palettes/matlab_like.hpp @@ -208,11 +208,11 @@ namespace palette { 0,0,0,0 }; -const Rcpp::List matlab_like = Rcpp::List::create( - _["r"] = matlab_like_red, - _["g"] = matlab_like_green, - _["b"] = matlab_like_blue -); + // const Rcpp::List matlab_like = Rcpp::List::create( + // _["r"] = matlab_like_red, + // _["g"] = matlab_like_green, + // _["b"] = matlab_like_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/matlab_like2.hpp b/inst/include/colourvalues/palettes/matlab_like2.hpp index 2625a94..b0ca083 100644 --- a/inst/include/colourvalues/palettes/matlab_like2.hpp +++ b/inst/include/colourvalues/palettes/matlab_like2.hpp @@ -208,11 +208,11 @@ namespace palette { 0,0,0,0 }; -const Rcpp::List matlab_like2 = Rcpp::List::create( - _["r"] = matlab_like2_red, - _["g"] = matlab_like2_green, - _["b"] = matlab_like2_blue -); + // const Rcpp::List matlab_like2 = Rcpp::List::create( + // _["r"] = matlab_like2_red, + // _["g"] = matlab_like2_green, + // _["b"] = matlab_like2_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/oranges.hpp b/inst/include/colourvalues/palettes/oranges.hpp index 36ab609..10a6d4a 100644 --- a/inst/include/colourvalues/palettes/oranges.hpp +++ b/inst/include/colourvalues/palettes/oranges.hpp @@ -25,11 +25,11 @@ namespace palette { 0.00392156862745098,0.0117647058823529,0.0156862745098039 }; -const Rcpp::List oranges = Rcpp::List::create( - _["r"] = oranges_red, - _["g"] = oranges_green, - _["b"] = oranges_blue -); + // const Rcpp::List oranges = Rcpp::List::create( + // _["r"] = oranges_red, + // _["g"] = oranges_green, + // _["b"] = oranges_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/orrd.hpp b/inst/include/colourvalues/palettes/orrd.hpp index 3c5ba23..6e1692b 100644 --- a/inst/include/colourvalues/palettes/orrd.hpp +++ b/inst/include/colourvalues/palettes/orrd.hpp @@ -25,11 +25,11 @@ namespace palette { 0.12156862745098,0,0 }; -const Rcpp::List orrd = Rcpp::List::create( - _["r"] = orrd_red, - _["g"] = orrd_green, - _["b"] = orrd_blue -); + // const Rcpp::List orrd = Rcpp::List::create( + // _["r"] = orrd_red, + // _["g"] = orrd_green, + // _["b"] = orrd_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/piyg.hpp b/inst/include/colourvalues/palettes/piyg.hpp index 906fed6..a1e5530 100644 --- a/inst/include/colourvalues/palettes/piyg.hpp +++ b/inst/include/colourvalues/palettes/piyg.hpp @@ -49,11 +49,11 @@ namespace palette { 0.0980392156862745 }; -const Rcpp::List piyg = Rcpp::List::create( - _["r"] = piyg_red, - _["g"] = piyg_green, - _["b"] = piyg_blue -); + // const Rcpp::List piyg = Rcpp::List::create( + // _["r"] = piyg_red, + // _["g"] = piyg_green, + // _["b"] = piyg_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/plasma.hpp b/inst/include/colourvalues/palettes/plasma.hpp index 3ab6dc8..a1859e4 100644 --- a/inst/include/colourvalues/palettes/plasma.hpp +++ b/inst/include/colourvalues/palettes/plasma.hpp @@ -172,11 +172,11 @@ namespace palette { 0.131325517 }; - const Rcpp::List plasma = Rcpp::List::create( - Rcpp::_["r"] = plasma_red, - Rcpp::_["g"] = plasma_green, - Rcpp::_["b"] = plasma_blue - ); + // const Rcpp::List plasma = Rcpp::List::create( + // Rcpp::_["r"] = plasma_red, + // Rcpp::_["g"] = plasma_green, + // Rcpp::_["b"] = plasma_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/prgn.hpp b/inst/include/colourvalues/palettes/prgn.hpp index 83af39c..f75e746 100644 --- a/inst/include/colourvalues/palettes/prgn.hpp +++ b/inst/include/colourvalues/palettes/prgn.hpp @@ -49,11 +49,11 @@ namespace palette { 0.105882352941176 }; -const Rcpp::List prgn = Rcpp::List::create( - _["r"] = prgn_red, - _["g"] = prgn_green, - _["b"] = prgn_blue -); + // const Rcpp::List prgn = Rcpp::List::create( + // _["r"] = prgn_red, + // _["g"] = prgn_green, + // _["b"] = prgn_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/pubu.hpp b/inst/include/colourvalues/palettes/pubu.hpp index 835fd15..0fb7994 100644 --- a/inst/include/colourvalues/palettes/pubu.hpp +++ b/inst/include/colourvalues/palettes/pubu.hpp @@ -25,11 +25,11 @@ namespace palette { 0.690196078431373,0.552941176470588,0.345098039215686 }; -const Rcpp::List pubu = Rcpp::List::create( - _["r"] = pubu_red, - _["g"] = pubu_green, - _["b"] = pubu_blue -); + // const Rcpp::List pubu = Rcpp::List::create( + // _["r"] = pubu_red, + // _["g"] = pubu_green, + // _["b"] = pubu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/pubugn.hpp b/inst/include/colourvalues/palettes/pubugn.hpp index e9086e9..8913ef5 100644 --- a/inst/include/colourvalues/palettes/pubugn.hpp +++ b/inst/include/colourvalues/palettes/pubugn.hpp @@ -25,11 +25,11 @@ namespace palette { 0.541176470588235,0.349019607843137,0.211764705882353 }; -const Rcpp::List pubugn = Rcpp::List::create( - _["r"] = pubugn_red, - _["g"] = pubugn_green, - _["b"] = pubugn_blue -); + // const Rcpp::List pubugn = Rcpp::List::create( + // _["r"] = pubugn_red, + // _["g"] = pubugn_green, + // _["b"] = pubugn_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/puor.hpp b/inst/include/colourvalues/palettes/puor.hpp index 477879a..24942bb 100644 --- a/inst/include/colourvalues/palettes/puor.hpp +++ b/inst/include/colourvalues/palettes/puor.hpp @@ -49,11 +49,11 @@ namespace palette { 0.294117647058824 }; -const Rcpp::List puor = Rcpp::List::create( - _["r"] = puor_red, - _["g"] = puor_green, - _["b"] = puor_blue -); + // const Rcpp::List puor = Rcpp::List::create( + // _["r"] = puor_red, + // _["g"] = puor_green, + // _["b"] = puor_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/purd.hpp b/inst/include/colourvalues/palettes/purd.hpp index 7f20fc1..b7fb10b 100644 --- a/inst/include/colourvalues/palettes/purd.hpp +++ b/inst/include/colourvalues/palettes/purd.hpp @@ -25,11 +25,11 @@ namespace palette { 0.337254901960784,0.262745098039216,0.12156862745098 }; -const Rcpp::List purd = Rcpp::List::create( - _["r"] = purd_red, - _["g"] = purd_green, - _["b"] = purd_blue -); + // const Rcpp::List purd = Rcpp::List::create( + // _["r"] = purd_red, + // _["g"] = purd_green, + // _["b"] = purd_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/purples.hpp b/inst/include/colourvalues/palettes/purples.hpp index ff0df73..42ebbc4 100644 --- a/inst/include/colourvalues/palettes/purples.hpp +++ b/inst/include/colourvalues/palettes/purples.hpp @@ -25,11 +25,11 @@ namespace palette { 0.63921568627451,0.56078431372549,0.490196078431373 }; -const Rcpp::List purples = Rcpp::List::create( - _["r"] = purples_red, - _["g"] = purples_green, - _["b"] = purples_blue -); + // const Rcpp::List purples = Rcpp::List::create( + // _["r"] = purples_red, + // _["g"] = purples_green, + // _["b"] = purples_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rainbow.hpp b/inst/include/colourvalues/palettes/rainbow.hpp index b9a243a..aeaeaa9 100644 --- a/inst/include/colourvalues/palettes/rainbow.hpp +++ b/inst/include/colourvalues/palettes/rainbow.hpp @@ -208,11 +208,11 @@ namespace palette { 0.0941176470588235,0.0705882352941176,0.0470588235294118,0.0235294117647059 }; -const Rcpp::List rainbow = Rcpp::List::create( - _["r"] = rainbow_red, - _["g"] = rainbow_green, - _["b"] = rainbow_blue -); + // const Rcpp::List rainbow = Rcpp::List::create( + // _["r"] = rainbow_red, + // _["g"] = rainbow_green, + // _["b"] = rainbow_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rainbow_hcl.hpp b/inst/include/colourvalues/palettes/rainbow_hcl.hpp index 8f33da4..95dc295 100644 --- a/inst/include/colourvalues/palettes/rainbow_hcl.hpp +++ b/inst/include/colourvalues/palettes/rainbow_hcl.hpp @@ -208,11 +208,11 @@ namespace palette { 0.670588235294118,0.662745098039216,0.658823529411765,0.650980392156863 }; -const Rcpp::List rainbow_hcl = Rcpp::List::create( - _["r"] = rainbow_hcl_red, - _["g"] = rainbow_hcl_green, - _["b"] = rainbow_hcl_blue -); + // const Rcpp::List rainbow_hcl = Rcpp::List::create( + // _["r"] = rainbow_hcl_red, + // _["g"] = rainbow_hcl_green, + // _["b"] = rainbow_hcl_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rdbu.hpp b/inst/include/colourvalues/palettes/rdbu.hpp index f124568..6c35295 100644 --- a/inst/include/colourvalues/palettes/rdbu.hpp +++ b/inst/include/colourvalues/palettes/rdbu.hpp @@ -49,11 +49,11 @@ namespace palette { 0.380392156862745 }; -const Rcpp::List rdbu = Rcpp::List::create( - _["r"] = rdbu_red, - _["g"] = rdbu_green, - _["b"] = rdbu_blue -); + // const Rcpp::List rdbu = Rcpp::List::create( + // _["r"] = rdbu_red, + // _["g"] = rdbu_green, + // _["b"] = rdbu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rdgy.hpp b/inst/include/colourvalues/palettes/rdgy.hpp index 11aeac7..a115980 100644 --- a/inst/include/colourvalues/palettes/rdgy.hpp +++ b/inst/include/colourvalues/palettes/rdgy.hpp @@ -49,11 +49,11 @@ namespace palette { 0.101960784313725 }; -const Rcpp::List rdgy = Rcpp::List::create( - _["r"] = rdgy_red, - _["g"] = rdgy_green, - _["b"] = rdgy_blue -); + // const Rcpp::List rdgy = Rcpp::List::create( + // _["r"] = rdgy_red, + // _["g"] = rdgy_green, + // _["b"] = rdgy_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rdpu.hpp b/inst/include/colourvalues/palettes/rdpu.hpp index cda0d73..9e5fa0e 100644 --- a/inst/include/colourvalues/palettes/rdpu.hpp +++ b/inst/include/colourvalues/palettes/rdpu.hpp @@ -25,11 +25,11 @@ namespace palette { 0.494117647058824,0.466666666666667,0.415686274509804 }; -const Rcpp::List rdpu = Rcpp::List::create( - _["r"] = rdpu_red, - _["g"] = rdpu_green, - _["b"] = rdpu_blue -); + // const Rcpp::List rdpu = Rcpp::List::create( + // _["r"] = rdpu_red, + // _["g"] = rdpu_green, + // _["b"] = rdpu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rdylbu.hpp b/inst/include/colourvalues/palettes/rdylbu.hpp index 0c1afe9..4d0faa3 100644 --- a/inst/include/colourvalues/palettes/rdylbu.hpp +++ b/inst/include/colourvalues/palettes/rdylbu.hpp @@ -49,11 +49,11 @@ namespace palette { 0.584313725490196 }; -const Rcpp::List rdylbu = Rcpp::List::create( - _["r"] = rdylbu_red, - _["g"] = rdylbu_green, - _["b"] = rdylbu_blue -); + // const Rcpp::List rdylbu = Rcpp::List::create( + // _["r"] = rdylbu_red, + // _["g"] = rdylbu_green, + // _["b"] = rdylbu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/rdylgn.hpp b/inst/include/colourvalues/palettes/rdylgn.hpp index 89ca7dc..c722b37 100644 --- a/inst/include/colourvalues/palettes/rdylgn.hpp +++ b/inst/include/colourvalues/palettes/rdylgn.hpp @@ -49,11 +49,11 @@ namespace palette { 0.215686274509804 }; -const Rcpp::List rdylgn = Rcpp::List::create( - _["r"] = rdylgn_red, - _["g"] = rdylgn_green, - _["b"] = rdylgn_blue -); + // const Rcpp::List rdylgn = Rcpp::List::create( + // _["r"] = rdylgn_red, + // _["g"] = rdylgn_green, + // _["b"] = rdylgn_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/reds.hpp b/inst/include/colourvalues/palettes/reds.hpp index 740f8f4..92736aa 100644 --- a/inst/include/colourvalues/palettes/reds.hpp +++ b/inst/include/colourvalues/palettes/reds.hpp @@ -25,11 +25,11 @@ namespace palette { 0.113725490196078,0.0823529411764706,0.0509803921568627 }; -const Rcpp::List reds = Rcpp::List::create( - _["r"] = reds_red, - _["g"] = reds_green, - _["b"] = reds_blue -); + // const Rcpp::List reds = Rcpp::List::create( + // _["r"] = reds_red, + // _["g"] = reds_green, + // _["b"] = reds_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/sequential_hcl.hpp b/inst/include/colourvalues/palettes/sequential_hcl.hpp index e08c5c2..5b80fc8 100644 --- a/inst/include/colourvalues/palettes/sequential_hcl.hpp +++ b/inst/include/colourvalues/palettes/sequential_hcl.hpp @@ -208,11 +208,11 @@ namespace palette { 0.886274509803922,0.886274509803922,0.886274509803922,0.886274509803922 }; -const Rcpp::List sequential_hcl = Rcpp::List::create( - _["r"] = sequential_hcl_red, - _["g"] = sequential_hcl_green, - _["b"] = sequential_hcl_blue -); + // const Rcpp::List sequential_hcl = Rcpp::List::create( + // _["r"] = sequential_hcl_red, + // _["g"] = sequential_hcl_green, + // _["b"] = sequential_hcl_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/spectral.hpp b/inst/include/colourvalues/palettes/spectral.hpp index 832aa97..b96f98f 100644 --- a/inst/include/colourvalues/palettes/spectral.hpp +++ b/inst/include/colourvalues/palettes/spectral.hpp @@ -49,11 +49,11 @@ namespace palette { 0.635294117647059 }; -const Rcpp::List spectral = Rcpp::List::create( - _["r"] = spectral_red, - _["g"] = spectral_green, - _["b"] = spectral_blue -); + // const Rcpp::List spectral = Rcpp::List::create( + // _["r"] = spectral_red, + // _["g"] = spectral_green, + // _["b"] = spectral_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/terrain.hpp b/inst/include/colourvalues/palettes/terrain.hpp index f8cce68..b04dd52 100644 --- a/inst/include/colourvalues/palettes/terrain.hpp +++ b/inst/include/colourvalues/palettes/terrain.hpp @@ -183,11 +183,11 @@ namespace palette { 0.949019607843137 }; - const Rcpp::List terrain = Rcpp::List::create( - Rcpp::_["r"] = terrain_red, - Rcpp::_["g"] = terrain_green, - Rcpp::_["b"] = terrain_blue - ); + // const Rcpp::List terrain = Rcpp::List::create( + // Rcpp::_["r"] = terrain_red, + // Rcpp::_["g"] = terrain_green, + // Rcpp::_["b"] = terrain_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/terrain_hcl.hpp b/inst/include/colourvalues/palettes/terrain_hcl.hpp index 7e5ad41..98a6dc5 100644 --- a/inst/include/colourvalues/palettes/terrain_hcl.hpp +++ b/inst/include/colourvalues/palettes/terrain_hcl.hpp @@ -208,11 +208,11 @@ namespace palette { 0.905882352941176,0.913725490196078,0.917647058823529,0.945098039215686 }; -const Rcpp::List terrain_hcl = Rcpp::List::create( - _["r"] = terrain_hcl_red, - _["g"] = terrain_hcl_green, - _["b"] = terrain_hcl_blue -); + // const Rcpp::List terrain_hcl = Rcpp::List::create( + // _["r"] = terrain_hcl_red, + // _["g"] = terrain_hcl_green, + // _["b"] = terrain_hcl_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/topo.hpp b/inst/include/colourvalues/palettes/topo.hpp index 4cbd773..c53a9b9 100644 --- a/inst/include/colourvalues/palettes/topo.hpp +++ b/inst/include/colourvalues/palettes/topo.hpp @@ -208,11 +208,11 @@ namespace palette { 0.674509803921569,0.682352941176471,0.690196078431373,0.701960784313725 }; -const Rcpp::List topo = Rcpp::List::create( - _["r"] = topo_red, - _["g"] = topo_green, - _["b"] = topo_blue -); + // const Rcpp::List topo = Rcpp::List::create( + // _["r"] = topo_red, + // _["g"] = topo_green, + // _["b"] = topo_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/viridis.hpp b/inst/include/colourvalues/palettes/viridis.hpp index e00f6bd..7131e58 100644 --- a/inst/include/colourvalues/palettes/viridis.hpp +++ b/inst/include/colourvalues/palettes/viridis.hpp @@ -145,11 +145,11 @@ namespace palette { 0.11812832, 0.12394051, 0.13021494, 0.13689671, 0.1439362 }; - const Rcpp::List viridis = Rcpp::List::create( - Rcpp::_["r"] = viridis_red, - Rcpp::_["g"] = viridis_green, - Rcpp::_["b"] = viridis_blue - ); + // const Rcpp::List viridis = Rcpp::List::create( + // Rcpp::_["r"] = viridis_red, + // Rcpp::_["g"] = viridis_green, + // Rcpp::_["b"] = viridis_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/ygobb.hpp b/inst/include/colourvalues/palettes/ygobb.hpp index a7a3ad9..f8d4876 100644 --- a/inst/include/colourvalues/palettes/ygobb.hpp +++ b/inst/include/colourvalues/palettes/ygobb.hpp @@ -208,11 +208,11 @@ namespace palette { 0.0313725490196078,0.0196078431372549,0.0117647058823529,0 }; -const Rcpp::List ygobb = Rcpp::List::create( - _["r"] = ygobb_red, - _["g"] = ygobb_green, - _["b"] = ygobb_blue -); + // const Rcpp::List ygobb = Rcpp::List::create( + // _["r"] = ygobb_red, + // _["g"] = ygobb_green, + // _["b"] = ygobb_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/ylgn.hpp b/inst/include/colourvalues/palettes/ylgn.hpp index 2a2839f..7ada55a 100644 --- a/inst/include/colourvalues/palettes/ylgn.hpp +++ b/inst/include/colourvalues/palettes/ylgn.hpp @@ -25,11 +25,11 @@ namespace palette { 0.262745098039216,0.215686274509804,0.16078431372549 }; -const Rcpp::List ylgn = Rcpp::List::create( - _["r"] = ylgn_red, - _["g"] = ylgn_green, - _["b"] = ylgn_blue -); + // const Rcpp::List ylgn = Rcpp::List::create( + // _["r"] = ylgn_red, + // _["g"] = ylgn_green, + // _["b"] = ylgn_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/ylgnbu.hpp b/inst/include/colourvalues/palettes/ylgnbu.hpp index a9b38a9..e82b68c 100644 --- a/inst/include/colourvalues/palettes/ylgnbu.hpp +++ b/inst/include/colourvalues/palettes/ylgnbu.hpp @@ -25,11 +25,11 @@ namespace palette { 0.658823529411765,0.580392156862745,0.345098039215686 }; -const Rcpp::List ylgnbu = Rcpp::List::create( - _["r"] = ylgnbu_red, - _["g"] = ylgnbu_green, - _["b"] = ylgnbu_blue -); + // const Rcpp::List ylgnbu = Rcpp::List::create( + // _["r"] = ylgnbu_red, + // _["g"] = ylgnbu_green, + // _["b"] = ylgnbu_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/ylorbr.hpp b/inst/include/colourvalues/palettes/ylorbr.hpp index 14ab4f8..08327ff 100644 --- a/inst/include/colourvalues/palettes/ylorbr.hpp +++ b/inst/include/colourvalues/palettes/ylorbr.hpp @@ -25,11 +25,11 @@ namespace palette { 0.00784313725490196,0.0156862745098039,0.0235294117647059 }; -const Rcpp::List ylorbr = Rcpp::List::create( - _["r"] = ylorbr_red, - _["g"] = ylorbr_green, - _["b"] = ylorbr_blue -); + // const Rcpp::List ylorbr = Rcpp::List::create( + // _["r"] = ylorbr_red, + // _["g"] = ylorbr_green, + // _["b"] = ylorbr_blue + // ); } // namespace palette } // namepsace colourvalues diff --git a/inst/include/colourvalues/palettes/ylorrd.hpp b/inst/include/colourvalues/palettes/ylorrd.hpp index 45284f8..115895b 100644 --- a/inst/include/colourvalues/palettes/ylorrd.hpp +++ b/inst/include/colourvalues/palettes/ylorrd.hpp @@ -25,13 +25,13 @@ namespace palette { 0.109803921568627,0.149019607843137,0.149019607843137 }; - inline Rcpp::DataFrame ylorrd() { - return Rcpp::DataFrame::create( - _["r"] = ylorrd_red, - _["g"] = ylorrd_green, - _["b"] = ylorrd_blue - ); - } + // inline Rcpp::DataFrame ylorrd() { + // return Rcpp::DataFrame::create( + // _["r"] = ylorrd_red, + // _["g"] = ylorrd_green, + // _["b"] = ylorrd_blue + // ); + // } } // namespace palette } // namepsace colourvalues