I'm not familiar with the R bindings, but from the code generated by SWIG is seems that the constructor expects the integer corresponding to the enumeration value. (This also holds for CallabilityPrice::Type, so I have no idea why "Clean" works in that case.)
Luigi
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users