Learn R Programming

rkeops (version 1.4.2.2)

get_build_dir: Getter for package build directory

Description

Return the path to the directory build where keops custom operators will be compiled.

Usage

get_build_dir(pkg = "rkeops", create = TRUE)

Value

path to the corresponding directory.

Arguments

pkg

name (string) of the R package, default is "rkeops".

create

boolean indicating if the corresponding directory should be created if missing or not. Default value is TRUE.

Author

Ghislain Durif

Details

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.