* using log directory 'd:/RCompile/CRANincoming/R-devel/PSweight.Rcheck' * using R Under development (unstable) (2025-02-11 r87713 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'PSweight/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PSweight' version '2.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [32s] NOTE Maintainer: 'Yukang Zeng ' Package has a VignetteBuilder field but no prebuilt vignette index. * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'PSweight' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'cran-comments.md' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [31s] NOTE PSmethod_SW: no visible global function definition for 'quasibinomial' binest_SW: no visible global function definition for 'update' Undefined global functions or variables: quasibinomial update Consider adding importFrom("stats", "quasibinomial", "update") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'OUTmethod_SW.Rd': \examples lines wider than 100 characters: outfit <- OUTmethod_SW(out.formula = out.formula, y=y, datain = datain, dataout = psdata_bin_retrospective_fp) Rd file 'PSmethod_SW.Rd': \examples lines wider than 100 characters: psfit <- PSmethod_SW(ps.formula = ps.formula,data = psdata_bin_retrospective_fp, survey.weight = survey.weight, ncate=2) Rd file 'PSweight_SW.Rd': \examples lines wider than 100 characters: pato1_sw <- PSweight_SW(ps.formula = ps.formula, yname = "Y", data = psdata_bin_prospective_fp, weight = "overlap", survey.indicator = TRUE, survey.design = "Prospective", svywtname = "survey_weight", out.formula = NULL, out.estimate = NULL, family = "gaussian", ps.method = "glm", # Example 2: Retrospective design with augmentation using the Weighted Regression Estimator(WET) estimator pato2_sw <- PSweight_SW(ps.formula = ps.formula, yname = "Y", data = psdata_bin_retrospective_fp, weight = "overlap", survey.indicator = TRUE, survey.design = "Retrospective", svywtname = "survey_weight", delta = 0.1, augmentation = TRUE, augmentation.type = "WET", bootstrap = FALSE, R = 50, out.formula = out.formula, out.estimate = NULL, family = "gaussian", ps.method = "glm", Rd file 'SumStat_SW.Rd': \examples lines wider than 100 characters: survey.indicator = TRUE, svywtname = "survey_weight", survey.design = "Prospective") sumstat_retro <- SumStat_SW(ps.formula = ps.formula, trtgrp = "2", data = psdata_bin_retrospective_fp, survey.indicator = TRUE, svywtname = "survey_weight", survey.design = "Retrospective") Rd file 'plot.SumStat_SW.Rd': \examples lines wider than 100 characters: survey.indicator = TRUE, svywtname = "survey_weight", survey.design = "Prospective") These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking files in 'vignettes' ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': 'Software_vig.pdf' * checking examples ... [12s] OK * checking package vignettes ... NOTE Package has 'vignettes' subdirectory but apparently no vignettes. Perhaps the 'VignetteBuilder' information is missing from the DESCRIPTION file? * checking PDF version of manual ... [30s] OK * checking HTML version of manual ... OK * DONE Status: 1 WARNING, 5 NOTEs