Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 882 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 882 Bytes

vtrace

An R package for collecting information about how vectors and data frames are used in R programs.

See the vtrace-analysis "meta" repository for details on how to develop and use this package.

Architecture

  • R/ - R source code
    • R/tracer.R - Main application code, in R
  • src/ - C++ source code
    • src/callbacks.{h,cpp} - Main application code, in C++
  • src/model - Models R objects in the tracer -- these need to be header-only

Boilerplate

  • src/init.c - Registers native functions so they can be called from R
  • src/r_callbacks.{h,cpp} - Wrapper functions that return R pointers to C++ functions

Libraries

  • src/lib/picosha2.h - PicoSHA2 is a small, header-only, C++ library for generating SHA256 hashes