Closed tomsing1 closed 9 years ago
Seems that 'p' is interpreted as a short cut for 'population'. In the devel version, the 'p' argument isn't listed explictly anymore. Instead, the three-dots is used.
It should work if you supply population=NULL, but I will most likely revert the changes that led to the introduction of the three-dots.
At http://cran.r-project.org/doc/manuals/r-release/R-lang.html#Argument-matching the rules are described.
The bug may be fixed. It will usually take some time until the fixed verison is deployed, but you could check it by compiling the devel version yourself. Please report back if it works or not.
Yes, things work again as before. Thank you for looking into this so quickly !
Thanks for reporting the issue and confirming the fix.
I noticed a change in behavior of the 'mgsa' method in your 'mgsa' package between the current release and development versions.
In the release version of R (see sessionInfo below), the following command works:
In the devel version (again, see sessionInfo below), the same command throws an exception, which refers to the 'population' argument.
When I checked the changes between the release and devel versions of the mgsa:::mgsa.main function, I noticed that the former lists the available parameters explicitly, while the latter uses the '...' notations.
I suspect that some partial matching within the parameters provided as '...' may confuse the 'p' and 'population' arguments. Would you mind taking a look ?
Thanks a lot ! Thomas
---- SessionInfo for release version