Tags$img problem with srcset

Hello I want use parametr srcset for set responsivity in images but if i used some like this

tags$img(src="shiny.png",srcset="small.png 600w, medium.png 1024w, large.png 1600w")

Rstudio give me error message.

What error do you get? If possible, it would be helpful to give a reproducible example, (FAQ: What's a reproducible example (`reprex`) and how do I do one?)

This is working ok.

box(tags$img(src="1.jpg",srcset="smaller.jpg 1024w"))