Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  coxed.Rd: mgcv, rms
  coxed.gam.Rd: mgcv
  coxed.gam.tvc.Rd: mgcv
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Namespace in Imports field not imported from: ‘mediation’
  All declared Imports should be used.