CRAN Package Check Results for Package SurvDisc

Last updated on 2024-11-08 07:50:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 9.40 64.45 73.85 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.1 6.67 46.05 52.72 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.1 117.18 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 109.97 NOTE
r-devel-windows-x86_64 0.1.1 10.00 75.00 85.00 NOTE
r-patched-linux-x86_64 0.1.1 10.22 60.36 70.58 NOTE
r-release-linux-x86_64 0.1.1 8.81 60.32 69.13 NOTE
r-release-macos-arm64 0.1.1 33.00 NOTE
r-release-macos-x86_64 0.1.1 50.00 NOTE
r-release-windows-x86_64 0.1.1 11.00 78.00 89.00 NOTE
r-oldrel-macos-arm64 0.1.1 43.00 OK
r-oldrel-macos-x86_64 0.1.1 58.00 OK
r-oldrel-windows-x86_64 0.1.1 14.00 94.00 108.00 OK

Check Details

Version: 0.1.1
Check: Rd files
Result: NOTE checkRd: (-1) AsympDiscSurv.Rd:24: Lost braces; missing escapes or markup? 24 | \code{p0} and \code{p1} are not the survival curves because they also include information about the allocation ratio between groups and the censoring distribution. The j^{th} element of \code{p0} is the probability of being assigned to the control group and being at risk at time \code{time[j]}. \code{p0+p1} is always less than or equal to 1 and should be close to 1 at the first time point and decreasing with time. Note that subjects censored at \code{time[j]} are not in the risk set, only subjects who have an event at this time or later or who are censored later. This definition of censoring time is the definition used in the reference and may be different than used in other places. Add 1 to all censored times if desired to force censoring to conform with the more standard ways. With equal allocation and no censoring, then \code{p0[1]=p1[1]=0.5}. | ^ checkRd: (-1) LongToSurv.Rd:24: Lost braces 24 | The discrete survival function is found given a distribution of covariates and a longitudinal model. The event is defined by the response variable crossing a threshold value either once (confirmation = "none") or twice in successive time points. The distribution of the covariates is assumed to be truncated multivariate normal. If method is \code{"simulation"}, then /code{nsim/accept.rate} values of the covariates are simulated first. The truncation conditions are tested and approximately \code{nsim} of these covariates will be accepted. The survival curve is found and averaged over the covariate values in the sample. If the method is \code{"analytic"}, then the survival curve function is integrated analytically (using the \code{adaptIntegrate} function from the \code{cubature} package). | ^ checkRd: (-1) SampleSizeDiscSurv.Rd:40: Lost braces; missing escapes or markup? 40 | \code{p0} and \code{p1} are not the survival curves because they also include information about the allocation ratio between groups and the censoring distribution. The j^{th} element of \code{p0} is the probability of being assigned to the control group and being at risk at time \code{time[j]}. \code{p0+p1} is always less than or equal to 1 and should be close to 1 at the first time point and decreasing with time. Note that subjects censored at \code{time[j]} are not in the risk set, only subjects who have an event at this time or later or who are censored later. This definition of censoring time is the definition used in the reference and may be different than used in other places. Add 1 to all censored times if desired to force censoring to conform with the more standard ways. With equal allocation and no censoring, then \code{p0[1]=p1[1]=0.5}. | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64