Please upgrade TERR to the latest R version, in order to support latest R packages.
Currently the latest TERR version is 6.0.3 which is based on R 4.0.2 which is released in July 2020. There have been lots of newer versions of R since then.