Last updated on 2024-12-18 19:49:39 CET.
Package | ERROR | OK |
---|---|---|
echo | 13 | |
fuj | 13 | |
mark | 1 | 12 |
scribe | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.8.2
Check: examples
Result: 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 dd46
Warning in utils::readClipboard(format = format) :
unpaired surrogate Unicode point df1c
Warning in utils::readClipboard(format = format) :
unpaired surrogate Unicode point dfee
Warning in utils::readClipboard(format = format) :
unpaired surrogate Unicode point df02
Warning in utils::readClipboard(format = format) :
unpaired surrogate Unicode point df9f
Error in sub(re, "", x, perl = TRUE) : input string 5 is invalid UTF-8
Calls: foo ... trimws -> mysub -> sub -> is.factor -> mysub -> sub
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13