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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sensus.decompress.gz.files
> ### Title: Decompresses JSON files downloaded from AWS S3.
> ### Aliases: sensus.decompress.gz.files
> 
> ### ** Examples
> 
> data.path = system.file("extdata", "example-data", package="SensusR")
> sensus.decompress.gz.files(data.path)
[1] "Decompressing 2 file(s)..."
[2019-01-28 18:04:19] Exception: No write permission for directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/SensusR/extdata/example-data

  at #10. getWritablePathname.Arguments(static, ...)
          - getWritablePathname.Arguments() is in environment 'R.utils'

  at #09. getWritablePathname(static, ...)
          - getWritablePathname() is in environment 'R.utils'

  at #08. Arguments$getWritablePathname(filename, path = path, mustExist = isFile, 
              mustNotExist = !isFile)
          - Arguments$getWritablePathname() is local of the calling function

  at #07. pushTemporaryFile.default(destname)
          - pushTemporaryFile.default() is in environment 'R.utils'

  at #06. pushTemporaryFile(destname)
          - pushTemporaryFile() is in environment 'R.utils'

  at #05. decompressFile.default(filename = filename, ..., ext = ext, FUN = FUN)
          - decompressFile.default() is in environment 'R.utils'

  at #04. decompressFile(filename = filename, ..., ext = ext, FUN = FUN)
          - decompressFile() is in environment 'R.utils'

  at #03. gunzip.default(gz.path, skip = skip, overwrite = overwrite, remove = remove)
          - gunzip.default() is in environment 'R.utils'

  at #02. gunzip(gz.path, skip = skip, overwrite = overwrite, remove = remove)
          - gunzip() is in environment 'R.utils'

  at #01. sensus.decompress.gz.files(data.path)
          - sensus.decompress.gz.files() is in environment 'SensusR'

Error: No write permission for directory: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/SensusR/extdata/example-data
Execution halted