  The presently open problem of the Hubble tension is shown to be removed in
the context of a modified theory of gravity with a non-minimal coupling between
curvature and matter. By evolving the cosmological parameters that match the
cosmic microwave background data until their values from direct late-time
measurements, we obtain an agreement between different experimental methods
without disrupting their individual validity. These modified gravity models are
shown to provide adequate fits for other observational data from recent
astrophysical surveys and to reproduce the late-time accelerated expansion of
the Universe without the inclusion of a cosmological constant. This
compatibility with observations presents further evidence of the versatility of
these models in mimicking diverse cosmological phenomena in a unified manner.
