* using log directory 'd:/Rcompile/CRANpkg/local/4.3/mark.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'mark/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mark' version '0.8.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'mark' can be installed ... OK * checking installed package size ... OK * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [0s] 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 ... [22s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 examples ... [2s] ERROR Running examples in 'mark-Ex.R' failed The error most likely occurred in: > ### Name: clipboard > ### Title: Write to and read from the clipboard > ### Aliases: clipboard write_clipboard write_clipboard.default > ### write_clipboard.data.frame write_clipboard.matrix > ### write_clipboard.list read_clipboard read_clipboard_methods > > ### ** Examples > > # Will only run on windows > if (Sys.info()[["sysname"]] == "Windows") { + foo <- function(x) { + write_clipboard(x) + y <- read_clipboard() + res <- all.equal(x, y) + if (isTRUE(res)) return("All equal") + print(x) + print(y) + } + foo(1:4) + foo(seq(-1, 1, .02)) + foo(Sys.Date() + 1:4) + + # May have some rounding issues + x <- "0.316362437326461129" + write_clipboard(x) + res <- as.character(read_clipboard()) + all.equal(x, res) + x; res + } Warning in utils::readClipboard(format = format) : unpaired surrogate Unicode point de00 Warning in utils::readClipboard(format = format) : unpaired surrogate Unicode point dd1e Error in type.convert.default(x, as.is = TRUE, numerals = "warn.loss", : invalid multibyte string at '<80>' Calls: foo ... type_convert2 -> -> type.convert.default Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [24s] OK Running 'spelling.R' [0s] Running 'testthat.R' [23s] * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [18s] OK * DONE Status: 1 ERROR