Skip to content

Commit

Permalink
close #65
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed Apr 24, 2020
1 parent e480d06 commit 28208a5
Show file tree
Hide file tree
Showing 12 changed files with 1,027 additions and 37 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: colourvalues
Type: Package
Title: Assigns Colours to Values
Version: 0.3.4001
Version: 0.3.4002
Date: 2020-03-17
Authors@R: c(
person("David", "Cooley", ,"[email protected]", role = c("aut", "cre"))
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# v0.3.5

* return interleaved vectors (C++ only)

# v0.3.4

* removed Boost dates
Expand Down
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ rcpp_colour_values_rgb <- function(x, palette, alpha, na_colour = "#808080", inc
.Call(`_colourvalues_rcpp_colour_values_rgb`, x, palette, alpha, na_colour, include_alpha, format, digits, summary, n_summaries)
}

rcpp_colour_values_rgb_interleaved <- function(x, palette, alpha, repeats, total_colours, na_colour = "#808080", include_alpha = TRUE, format = FALSE, digits = 2L, summary = FALSE, n_summaries = 0L) {
.Call(`_colourvalues_rcpp_colour_values_rgb_interleaved`, x, palette, alpha, repeats, total_colours, na_colour, include_alpha, format, digits, summary, n_summaries)
}

rcpp_convert_hex_to_rgb <- function(hex_strings) {
.Call(`_colourvalues_rcpp_convert_hex_to_rgb`, hex_strings)
}
Expand Down
1 change: 1 addition & 0 deletions inst/include/colourvalues/api/api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@

#include "colourvalues/api/api_hex.hpp"
#include "colourvalues/api/api_rgb.hpp"
#include "colourvalues/api/api_rgb_interleaved.hpp"

#endif
Loading

0 comments on commit 28208a5

Please sign in to comment.