HighlanderLab / SIMplyBee

SIMplyBee R package extends AlphaSimR for simulating honeybee populations and breeding programmes
http://www.simplybee.info/
Other
0 stars 5 forks source link

n* sampling functions throwing a weird error #510

Closed janaobsteter closed 1 year ago

janaobsteter commented 1 year ago

Can someone duplicate this error? All this n* functions for sampling have been throwing a weird error and I don't know whether it's something to do with R update. ThisnDrones(x = x, ...) is how we're using it in the code.

image

gregorgorjanc commented 1 year ago

@janaobsteter … can only be used within a function. Are you getting this error from within a function?

janaobsteter commented 1 year ago

This is now solved. The problem was, that this function was called within a function, but the "..." wasn't amongs the argument of the "outer" function.