-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#' @importFrom Polychrome createPalette | ||
#' @noRd | ||
distinctColors <- function(n, argsList) { | ||
f <- function(...) { | ||
createPalette(n, ...) | ||
} | ||
do.call(f, argsList) | ||
} | ||
|
||
#' @importFrom colorsGen randomColor | ||
rcolors <- function(n, argsList) { | ||
f <- function(...) { | ||
randomColor(n, ...) | ||
} | ||
do.call(f, argsList) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,2 @@ | ||
|
||
## With R 3.1.0 or later, you can uncomment the following line to tell R to | ||
## enable compilation with C++11 (where available) | ||
## | ||
## Also, OpenMP support in Armadillo prefers C++11 support. However, for wider | ||
## availability of the package we do not yet enforce this here. It is however | ||
## recommended for client packages to set it. | ||
## | ||
## And with R 3.4.0, and RcppArmadillo 0.7.960.*, we turn C++11 on as OpenMP | ||
## support within Armadillo prefers / requires it | ||
CXX_STD = CXX14 | ||
|
||
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) | ||
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,2 @@ | ||
|
||
## With R 3.1.0 or later, you can uncomment the following line to tell R to | ||
## enable compilation with C++11 (where available) | ||
## | ||
## Also, OpenMP support in Armadillo prefers C++11 support. However, for wider | ||
## availability of the package we do not yet enforce this here. It is however | ||
## recommended for client packages to set it. | ||
## | ||
## And with R 3.4.0, and RcppArmadillo 0.7.960.*, we turn C++11 on as OpenMP | ||
## support within Armadillo prefers / requires it | ||
CXX_STD = CXX14 | ||
|
||
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) | ||
PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) |