compile: Overloaded definition of compile to allow debugging on...

Usage Arguments Examples

Usage

1

Arguments

...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (...) 
{
    args <- list(...)
    if (.Platform$OS.type == "windows") {
        args$flags <- "-O1 -g"
        args$DLLFLAGS <- ""
    }
    else {
        args$flags <- "-O0 -g"
    }
    do.call(TMB::compile, args)
  }

John-R-Wallace/TMB-debug documentation built on May 7, 2019, 11:16 a.m.