The basic example in line 21 of test-compileNimble.R is failing when it tries to set up the symbol table to contain x, when calling typeList2symbolTable. That in turn calls symTab$addSymbol on the output of type2symbol.
In type2symbol, we call nTypeSpec with argument ttypeToUse being:
<quosure>
expr: ^<symblBsc>
env: empty
and we try to do funName <- deparse(typeToUse[[1]]), but typeToUse is a symbol that doesn't have a [[1]] element:
Browse[1]> typeToUse
x: integer sizes = (NA), nDim = 1
So maybe the issue is that when we are calling NC_InternalsClass' initialize, we need that Cpublic elements for the member data to not be in symbol form, when we are preparing things in NF_2_nClass and nimbleSymTab_to_nComp_types.
The basic example in line 21 of
test-compileNimble.Ris failing when it tries to set up the symbol table to containx, when callingtypeList2symbolTable. That in turn callssymTab$addSymbolon the output oftype2symbol.In
type2symbol, we callnTypeSpecwith argumentttypeToUsebeing:and we try to do
funName <- deparse(typeToUse[[1]]), buttypeToUseis a symbol that doesn't have a [[1]] element:So maybe the issue is that when we are calling NC_InternalsClass' initialize, we need that Cpublic elements for the member data to not be in symbol form, when we are preparing things in
NF_2_nClassandnimbleSymTab_to_nComp_types.