Learn R Programming

rkeops (version 1.4.2.2)

get_src_dir: Getter for package additional source directory

Description

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

Usage

get_src_dir(pkg = "rkeops")

Value

path to the corresponding directory.

Arguments

pkg

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

Author

Ghislain Durif

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).