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 7 months ago

fredjaya commented 7 months 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 7 months ago

Perhaps a function that returns an integrand function?

AngusMcLure commented 7 months ago

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