AngusMcLure / PoolPoweR

Power and sample size calculations for surveys using pool testing (AKA group testing)
GNU General Public License v3.0
0 stars 1 forks source link

multiple local function definitions for ‘integrand’ #21

Closed fredjaya closed 12 months ago

fredjaya commented 1 year ago

Currently the only note returned (no errors or warnings) when running R CMD check:

N  checking R code for possible problems (2.1s)
   fi_pool_cluster: multiple local function definitions for ‘integrand’
     with different formal arguments

Posting as an issue so I don't forget later

AngusMcLure commented 1 year ago

Perhaps a function that returns an integrand function?

AngusMcLure commented 12 months ago

I solved this by having a different name for the integrand function for form = xnorm. Closed with 564be51