Cooling process of brown dwarfs in Palatini f(R) gravity