reactorlabs/rir

R API for contexts

Aperta

#911 aperta il 22 set 2020

 (0 commenti) (0 reazioni) (1 assegnatario)C++ (19 fork)github user discovery
help wanted

Metriche repository

Star
 (61 stelle)
Metriche merge PR
 (Merge medio 1m) (1 PR mergiata in 30 g)

Descrizione

There should be an R api to create contexts. This needs some thinking as to ensure that the R implementation and the C++ code of contexts stay in sync. In R we can represent the context just as a RAW vector or similar. Probably the most part should be done in C++. One option would be to use envs?

function() {
  arg1 <- c("eager","int")
  arg3 <- c("eager")
  noReflection <- T
  new.context(environment())
}

This might collide with #913

Guida contributor