|
scimesh 0.3.2
Headless CPU-only 3D software renderer for scientific mesh visualization
|
To build and check the R package, you will need these:
You must also install all R packages which are suggested by scimesh, see the package DESCRIPTION.
Also make sure you have the basics, in R:
And finally, install tinytex for vignette building:
The C++ tests use Catch2 (amalgamated) and are in cpp_tests/:
Or via R CMD check:
The C++ API documentation is generated with Doxygen. The configuration is in Doxyfile at the repository root.
Prerequisites: Install Doxygen (and optionally Graphviz for diagrams):
Generate locally:
This produces HTML output in docs/cpp_api/html/. Open docs/cpp_api/html/index.html in a browser to view the docs.
The published API documentation is available at: https://dfsp-spirit.github.io/scimesh/
It is built and deployed automatically via GitHub Actions (.github/workflows/docs.yml) on every push to main.
DESCRIPTION (R package version)CMakeLists.txt — the project(scimesh VERSION ...) line (C++ version, single source of truth)version.h is auto-generated by CMake from this value — no need to edit it manually.Doxyfile — the PROJECT_NUMBER field (version shown in published C++ API docs)devtools::document() to re-generate docs.PROJECT_NUMBER: https://dfsp-spirit.github.io/scimesh/ will show a stale or empty version otherwise.run all tests and make sure they are green:
C++ unit tests:
R unit tests:
R CMD build . to build new package versionR CMD check scimesh_0.1.0.tar.gz, or whatever version you are testing. This must pass without errors/warnings/notes.R CMD check scimesh_0.1.0.tar.gz --as-cran and see what you can do to get as little notes and warnings as possible. Stuff in downstream code is not our problem though, but you may have to discuss that with CRAN team on submit, hf.