Running examples in ‘mongolite-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gridfs
> ### Title: GridFS API
> ### Aliases: gridfs
> 
> ### ** Examples
> 
> # New GridFS
> fs <- gridfs(url = "mongodb+srv://readwrite:test@cluster0-84vdt.mongodb.net/test")
> download.file('https://cloud.r-project.org/doc/manuals/r-devel/NEWS.pdf', 'NEWS.pdf', mode = 'wb')
trying URL 'https://cloud.r-project.org/doc/manuals/r-devel/NEWS.pdf'
Content type 'application/pdf' length 614389 bytes (599 KB)
==================================================
downloaded 599 KB

> fs$upload('NEWS.pdf')
                        id     name   size                date            type
1 5cd10d2521a7a75a0a1e3c82 NEWS.pdf 614389 2019-05-07 06:44:21 application/pdf
  metadata
1     <NA>
                                                                        path
1 /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/mongolite.Rcheck/NEWS.pdf
> fs$download('NEWS.pdf', file.path(tempdir(), 'output.pdf'))
                        id     name   size                date            type
1 5cd0822ba166ed39ae554bf2 NEWS.pdf 614389 2019-05-06 20:51:23 application/pdf
  metadata                       path
1     <NA> /tmp/Rtmpnerzcf/output.pdf
> con <- file(file.path(tempdir(), 'output2.pdf'))
> fs$read('NEWS.pdf', con)

[NEWS.pdf]: read 614.39 kB (100%)     
[NEWS.pdf]: read 614.39 kB (done)
List of 6
 $ id      : chr "5cd0822ba166ed39ae554bf2"
 $ name    : chr "NEWS.pdf"
 $ size    : num 614389
 $ date    : POSIXct[1:1], format: "2019-05-06 20:51:23"
 $ type    : chr "application/pdf"
 $ metadata: chr NA
> fs$remove('NEWS.pdf')
                        id     name   size                date            type
1 5cd0822ba166ed39ae554bf2 NEWS.pdf 614389 2019-05-06 20:51:23 application/pdf
  metadata
1     <NA>
> 
> files <- c('NEWS.pdf', file.path(tempdir(), c('output.pdf', 'output2.pdf')))
> hashes <- tools::md5sum(files)
> unlink(files)
> stopifnot(length(unique(hashes)) == 1)
Error: length(unique(hashes)) == 1 is not TRUE
Execution halted