role-model / roleR

R package implementing the RoLE model
https://role-model.github.io/roleR
GNU General Public License v3.0
1 stars 2 forks source link

roleParams _class_ doesn't export #99

Closed diazrenata closed 1 year ago

diazrenata commented 1 year ago

roleParams exports as a constructor function but not as a Class. If I delete the constructor function the class exports but code that uses the constructo breaks (of course).

What really puzzles me about this is, the same documentation structure works just fine for getting roleModel (for example) to export as both a class and a function.

diazrenata commented 1 year ago

Solved by changing

roleParams <- setClass

to

setClass