В Wed, 30 Mar 2022 11:27:05 +0200 Göran Broström <goran.brost...@umu.se> пишет:
> I can guess what 'list.names' is (from the documentation), but where > and how is it defined? Interesting! It's defined first thing inside the function, so by the time the function tries to use the argument, list.names exists and can be called, but for all other purposes, it's not there. What if you don't set a default value for dnn in your wrapper or even mention dnn as a formal argument in your wrapper? In many cases, it's possible to forward missing arguments to functions and have them do the right thing. The only other solution I can think of is non-standard evaluation. -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.