Return the path to the directory build
where keops
custom
operators will be compiled.
get_build_dir(pkg = "rkeops", create = TRUE)
path to the corresponding directory.
name (string) of the R package, default is "rkeops".
boolean indicating if the corresponding directory should be created if missing or not. Default value is TRUE.
Ghislain Durif
This path is generaly something like
/path/to/R_package_install/rkeops/build
. The correspondinging
directory can be created if not existing.
Note: when running tests in the development project keops
without
installing rkeops
, for consistency reason, the function returns
/path/to/keops/rkeops/inst/build
.