we are getting error while installing"utf8" packages in R

Error: package or namespace load failed for ‘utf8’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/R/R-4.2.1/library/00LOCK-utf8/00new/utf8/libs/utf8.so':
  /opt/R/R-4.2.1/library/00LOCK-utf8/00new/utf8/libs/utf8.so: undefined symbol: utf8lite_text_assign
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/opt/R/R-4.2.1/library/utf8’

The downloaded source packages are in
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("utf8") :
  installation of package ‘utf8’ had non-zero exit status

what command did you use to install ?