set_cgal: Set the CGAL header file directory

View source: R/downloader.R

set_cgalR Documentation

Set the CGAL header file directory

Description

This package will set the CGAL_DIR environmental variable if you don't know how. Then you can re-install the RcppCGAL package and the installation should use your preferred source of the CGAL library. Note the cleaner functions will run automatically and replace the calls to std::err and exit in the C code. They have been tested on CGAL 5.6 so are not guaranteed to work with other versions of the CGAL headers.

Usage

set_cgal(path)

Arguments

path

character vector. either a URL or system path

Value

Invisibley returns TRUE if the CGAL_DIR variable was successfully set or or FALSE if it was not.

See Also

unset_cgal()

Examples

## Not run: 
set_cgal("path/to/include/CGAL")

## End(Not run)

RcppCGAL documentation built on Sept. 11, 2024, 7:55 p.m.