Skip to content

PRL-PRG/instrumentr

Repository files navigation

instrumentr

CRAN Status Package Lifecycle License: MIT Build Status lintr Status clang-tidy cppcheck Status rchk Code Coverage

Overview

instrumentr is an instrumentation framework for R that helps you address common dynamic analysis problems. It exposes hooks for the following program execution events :

  • Application

    • Load
    • Unload
    • Attach
    • Detach
  • Package

    • Load
    • Unload
    • Attach
    • Detach
  • Function

    • Attach
    • Detach
  • Call

    • Entry
    • Exit

These hooks invoke user defined callbacks that receive the state of the running program in the form of model objects. Model object properties can be queried using a comprehensive API at both R and C++ level.

Setup

To install the latest version, run the following R command:

devtools::install_github("PRL-PRG/instrumentr")

To uninstall the existing version, run the following R command:

remove.packages("instrumentr")

Getting help

Please report bugs with a minimal reproducible example at GitHub.

Request new features with use cases at GitHub.

For questions please contact Aviral Goel.