get_src_dir: Getter for package additional source directory

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

Return the path to the directory containing keops source files that are shipped with rkeops installation.

Usage

1
get_src_dir(pkg = "rkeops")

Arguments

pkg

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

Details

This path is generaly something like /path/to/R_package_install/rkeops/include.

Note: when running tests in the development project keops without installing rkeops, for consistency reason, the function returns /path/to/keops/rkeops/inst/include (because the content of rkeops/inst/include is copied to rkeops/include at installation).

Value

path to the corresponding directory.

Author(s)

Ghislain Durif


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