Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  pbcsample.Rd: pbcseq, survival
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
File ‘LTRCforests/libs/LTRCforests.so’:
  Found non-API call to R: ‘STRING_PTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  pbcsample.Rd: pbcseq, survival
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
File ‘LTRCforests/libs/LTRCforests.so’:
  Found non-API call to R: ‘STRING_PTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
File ‘LTRCforests/libs/LTRCforests.so’:
  Found non-API call to R: ‘STRING_PTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
File ‘LTRCforests/libs/LTRCforests.so’:
  Found non-API call to R: ‘STRING_PTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  pbcsample.Rd: pbcseq, survival
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
File 'LTRCforests/libs/x64/LTRCforests.dll':
  Found non-API call to R: 'STRING_PTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
Running examples in 'LTRCforests-Ex.R' failed
The error most likely occurred in:

> ### Name: ltrcrrf
> ### Title: Fit a LTRC relative risk forest
> ### Aliases: ltrcrrf
> 
> ### ** Examples
> 
> #### Example with time-varying data pbcsample
> library(survival)
> Formula = Surv(Start, Stop, Event) ~ age + alk.phos + ast + chol + edema
> # Built a LTRCRRF forest (based on bootstrapping subjects without replacement)
> # on the time-varying data by specifying id:
> LTRCRRFobj = ltrcrrf(formula = Formula, data = pbcsample, id = ID, stepFactor = 3,
+                      ntree = 10L)