* using log directory ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/suddengains.Rcheck’ * using R version 4.5.3 Patched (2026-03-11 r89696) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-15) 15.2.0 GNU Fortran (Debian 15.2.0-15) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘suddengains/DESCRIPTION’ ... OK * this is package ‘suddengains’ version ‘0.7.2’ * package encoding: UTF-8 * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘suddengains’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/suddengains-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [1s/2s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK * checking whether the namespace can be unloaded cleanly ... [2s/3s] OK * checking loading without being on the library search path ... [2s/3s] OK * checking whether startup messages can be suppressed ... [2s/3s] 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 ... [13s/18s] OK * checking Rd files ... [1s/1s] NOTE checkRd: (-1) count_intervals.Rd:22: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) count_intervals.Rd:23: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) count_intervals.Rd:24: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) count_intervals.Rd:25: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:19: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:20: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:21: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:22: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:23: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:24: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:25: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:27: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) describe_sg.Rd:28: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) sgdata.Rd:10: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:11: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:12: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:13: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:14: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:15: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:16: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:17: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:18: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:19: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:20: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:21: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:22: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:23: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:24: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:25: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:26: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:27: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:28: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:29: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:30: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:31: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:32: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:33: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:34: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:35: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:36: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:37: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:38: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:39: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata.Rd:40: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:10: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:11: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:12: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:13: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:14: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:15: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:16: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:17: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:18: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:19: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:20: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:21: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:22: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:23: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:24: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:25: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:26: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:27: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:28: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:29: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:30: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:31: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:32: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:33: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:34: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:35: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:36: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:37: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:38: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:39: Lost braces in \itemize; meant \describe ? checkRd: (-1) sgdata_bad.Rd:40: Lost braces in \itemize; meant \describe ? * checking Rd metadata ... OK * checking Rd line widths ... OK * 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 ... [0s/1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [24s/29s] ERROR Running examples in ‘suddengains-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: write_byperson > ### Title: Write a sudden gains data frame (byperson) to CSV, SPSS, STATA > ### or Excel files > ### Aliases: write_byperson > > ### ** Examples > > # Adjust "path" argument before running > # Create character string name for temporary "byperson.csv" file > temp <- tempfile(pattern = "byperson", fileext = ".csv") > > # Write byperson dataset (CSV file) > # To write a different format change the 'format' argument ... > # ... as well as the file extension in the 'path' argument > write_byperson(data = sgdata, + sg_crit1_cutoff = 7, + id_var_name = "id", + tx_start_var_name = "bdi_s1", + tx_end_var_name = "bdi_s12", + sg_var_list = c("bdi_s1", "bdi_s2", "bdi_s3", "bdi_s4", + "bdi_s5", "bdi_s6", "bdi_s7", "bdi_s8", + "bdi_s9", "bdi_s10", "bdi_s11", "bdi_s12"), + sg_measure_name = "bdi", + identify_sg_1to2 = FALSE, + multiple_sg_select = "largest", + format = "CSV", + path = temp) First, second, and third sudden gains criteria were applied. The critical value for the third criterion was adjusted for missingness. The first gain/loss was selected in case of multiple gains/losses. Error in readr::write_csv(x = byperson_data, path = path, ...) : unused argument (path = path) Calls: write_byperson Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [27s/36s] OK * checking PDF version of manual ... [5s/7s] OK * checking HTML version of manual ... [2s/3s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR, 1 NOTE