No. It still does not solve the problem. I know it is not typst problem but my less experience suing typst and quarto together.
video
Attaching Video for your reference. As it can be seen, when i manually change params and render i get expected results. Then when the results of render.R is opened, you see only colour of plots change according to species. the inline r code also changes the species, but species controlled by typst is not changing.