Author here, just wanted to show off an example of using my pathtracing R package, rayrender. Here's a link to the Github page:
Github:
https://www.github.com/tylermorganwall/rayrender
And here's the pkgdown website that includes the documentation and examples: