get_build_dir: Getter for package build directory

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

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

Usage

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

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.

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.

Value

path to the corresponding directory.

Author(s)

Ghislain Durif


rkeops documentation built on Feb. 17, 2021, 5:08 p.m.