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

> ### Name: DataPackageR-package
> ### Title: DataPackageR
> ### Aliases: DataPackageR-package
> 
> ### ** Examples
> 
> # A simple Rmd file that creates one data object
> # named "tbl".
> if(rmarkdown::pandoc_available()){
+ f <- tempdir()
+ f <- file.path(f,"foo.Rmd")
+ con <- file(f)
+ writeLines("```{r}\n tbl = table(sample(1:10,1000,replace=TRUE)) \n```\n",con=con)
+ close(con)
+ 
+ # construct a data package skeleton named "MyDataPackage" and pass
+ # in the Rmd file name with full path, and the name of the object(s) it
+ # creates.
+ 
+ pname <- basename(tempfile())
+ datapackage_skeleton(name=pname,
+    path=tempdir(),
+    force = TRUE,
+    r_object_names = "tbl",
+    code_files = f)
+ 
+ # call package_build to run the "foo.Rmd" processing and
+ # build a data package.
+ package_build(file.path(tempdir(), pname), install = FALSE)
+ 
+ # "install" the data package
+ devtools::load_all(file.path(tempdir(), pname))
+ 
+ # read the data version
+ data_version(pname)
+ 
+ # list the data sets in the package.
+ data(package = pname)
+ 
+ # The data objects are in the package source under "/data"
+ list.files(pattern="rda", path = file.path(tempdir(),pname,"data"), full = TRUE)
+ 
+ # The documentation that needs to be edited is in "/R"
+ list.files(pattern="R", path = file.path(tempdir(), pname,"R"), full = TRUE)
+ readLines(list.files(pattern="R", path = file.path(tempdir(),pname,"R"), full = TRUE))
+ # view the documentation with
+ ?tbl
+ }
✔ Creating '/var/folders/08/nc4f1s3x1jqd9ln5mnvrqzqh0000gp/T/RtmpV84KhP/fileb86c1825288a/'
✔ Setting active project to '/private/var/folders/08/nc4f1s3x1jqd9ln5mnvrqzqh0000gp/T/RtmpV84KhP/fileb86c1825288a'
✔ Creating 'R/'
✔ Writing 'DESCRIPTION'
Package: fileb86c1825288a
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
    * First Last <first.last@example.com> [aut, cre] (YOUR-ORCID-ID)
Description: What the package does (one paragraph).
License: What license it uses
Encoding: UTF-8
LazyData: true
✔ Writing 'NAMESPACE'
✔ Setting active project to '<no active project>'
✔ Setting active project to '/private/var/folders/08/nc4f1s3x1jqd9ln5mnvrqzqh0000gp/T/RtmpV84KhP/fileb86c1825288a'
✔ Added DataVersion string to 'DESCRIPTION'
✔ Creating 'data-raw/'
✔ Creating 'data/'
✔ Creating 'inst/extdata/'
✔ Copied foo.Rmd into 'data-raw'
✔ configured 'datapackager.yml' file

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/bin/pandoc (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Error: pandoc document conversion failed with error 6
Execution halted