render rmd by walk2 , x=vector of variables, y=one variable

If you look at the documentation, you'll see that walk2 does not take a list of x and y as first argument. You get the error because you did not provided 3 arguments.

You are probably working with pwalk() in mind or just need to change the way you are calling the function.

Nothing related to rmarkdown is this issue I believe.

Also please format your question correctly :

FAQ: How to Format R Markdown Source