CRAN Package Check Results for Package cyphr

Last updated on 2021-04-16 08:48:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 3.59 38.54 42.13 NOTE
r-devel-linux-x86_64-debian-gcc 1.1.0 2.51 29.67 32.18 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 60.86 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.0 64.42 NOTE
r-devel-windows-ix86+x86_64 1.1.0 7.00 55.00 62.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 1.1.0 NOTE
r-patched-linux-x86_64 1.1.0 3.29 37.45 40.74 OK
r-patched-solaris-x86 1.1.0 79.80 OK
r-release-linux-x86_64 1.1.0 2.65 38.39 41.04 OK
r-release-macos-x86_64 1.1.0 OK
r-release-windows-ix86+x86_64 1.1.0 7.00 59.00 66.00 OK
r-oldrel-macos-x86_64 1.1.0 OK
r-oldrel-windows-ix86+x86_64 1.1.0 4.00 53.00 57.00 OK

Check Details

Version: 1.1.0
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
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-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT

Version: 1.1.0
Check: examples
Result: ERROR
    Running examples in ‘cyphr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: encrypt
    > ### Title: Easy encryption and decryption
    > ### Aliases: encrypt decrypt encrypt_ decrypt_
    >
    > ### ** Examples
    >
    > # To do anything we first need a key:
    > key <- cyphr::key_sodium(sodium::keygen())
    >
    > # Encrypted write.csv - note how any number of arguments to
    > # write.csv will be passed along
    > path <- tempfile(fileext = ".csv")
    > cyphr::encrypt(write.csv(iris, path, row.names = FALSE), key)
    >
    > # The new file now exists
    > file.exists(path)
    [1] TRUE
    >
    > # ...but it cannot be read with read.csv!
    > try(read.csv(path, stringsAsFactors = FALSE))
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 1 appears to contain embedded nulls
    Warning in read.table(file = file, header = header, sep = sep, quote = quote, :
     line 4 appears to contain embedded nulls
    Error in nchar(sm[1L], type = "w") : invalid multibyte string, element 1
    Calls: try ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc