In this case you could use pacman -Qo to check if one of those files belong to a package or not.
If you indeed installed those from a third party source, it may be cleaner to delete the whole directorie(s) you copied manually instead of using --force on the new package, so that there are no leftover files.
]]>error: failed to commit transaction (conflicting files)
r: /usr/lib/R/library/foreign/COPYRIGHTS exists in filesystem
r: /usr/lib/R/library/rpart/Meta/vignette.rds exists in filesystem
r: /usr/lib/R/library/rpart/NEWS.Rd exists in filesystem
r: /usr/lib/R/library/rpart/doc/index.html exists in filesystem
r: /usr/lib/R/library/rpart/doc/longintro.R exists in filesystem
r: /usr/lib/R/library/rpart/doc/longintro.Rnw exists in filesystem
r: /usr/lib/R/library/rpart/doc/longintro.pdf exists in filesystem
r: /usr/lib/R/library/rpart/doc/usercode.R exists in filesystem
r: /usr/lib/R/library/rpart/doc/usercode.Rnw exists in filesystem
r: /usr/lib/R/library/rpart/doc/usercode.pdf exists in filesystem
r: /usr/lib/R/library/survival/doc/sourcecode.pdf exists in filesystem
Errors occurred, no packages were upgraded
Thanks
]]>