# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "rvtk" in publications use:' type: software license: MIT title: 'rvtk: Bindings for the Visualization Toolkit (''VTK'')' version: 0.1.3 abstract: 'Provides pre-compiled static ''VTK'' libraries and headers so that downstream R packages can link against the Visualization Toolkit without requiring users to install ''VTK'' manually. On all platforms the package first honours a user-supplied ''VTK_DIR'' environment variable. On macOS it then tries ''Homebrew'', followed by ''pkg-config''. On Linux it tries ''pkg-config'' and well-known system prefixes (''/usr'', ''/usr/local''). If no suitable system installation is found on macOS or Linux, pre-built static libraries are downloaded automatically from the package''s GitHub releases. On Windows the package tries ''VTK_DIR'', then ''Rtools45'' ''pacman'', then common ''MSYS2'' prefixes, accepting both static (''.a'') and shared (''.dll.a'' import libs + DLLs) installations. When shared libraries are used, the VTK DLLs are staged in ''inst/vtk-dlls/'' and an ''.onLoad'' hook prepends that directory to PATH via ''Sys.setenv()'' when the package is loaded, and restored in ''.onUnload()''. The pre-built fallback downloads static libraries by default; set ''VTK_LINK_TYPE=shared'' before installation to download the DLL build instead. Note that on Windows the modules ''VTK_IONetCDF'', ''VTK_IOHDF'', ''VTK_GeovisCore'', and ''VTK_RenderingCore'' are disabled because ''netcdf'' and ''libproj'' are not available in the ''Rtools45'' ''static.posix'' sysroot. Downstream packages can declare ''Imports: rvtk'' and obtain the correct compiler and linker flags at install time via rvtk::CppFlags() and rvtk::LdFlagsFile().' authors: - family-names: Stamm given-names: Aymeric email: aymeric.stamm@cnrs.fr orcid: https://orcid.org/0000-0002-8725-3654 repository: https://cran.r-universe.dev repository-code: https://github.com/astamm/rvtk commit: 688f527eaa01a4a8886732734af6240ad460b0c1 url: https://github.com/astamm/rvtk date-released: '2026-05-11' contact: - family-names: Stamm given-names: Aymeric email: aymeric.stamm@cnrs.fr orcid: https://orcid.org/0000-0002-8725-3654