sounds like your homebrew installation is somehow messed up. but instead, you can also install pandoc from https://pandoc.org/installing.html

On Sunday, June 30, 2019 at 6:57:23 AM UTC+2, Gaby L wrote:
Complete beginner here - hope someone can help.

I needed to use a function in R called pandoc.table and discovered RStudio (Version 1.2.1335) did not contain any pandoc packages so I found some suggestions online and installed pandoc-2.7.3-macOS.pkg.
No luck there - so I tried to install pandoc by using this command in the terminal window

brew install pandoc

Below is the code towards the end of the installation:

[...]

==> Downloading https://homebrew.bintray.com/bottles/pandoc-2.7.3.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bb/bb4246119de8f6f8769d4a7baf3127ed66df0edd69bb84c92b1bdeaa90064caf?__gda__=exp=1561867408~hmac=e393ab0dbfd
######################################################################## 100.0%
Error: No such file or directory @ dir_chdir - /usr/local/Cellar
Warning: Bottle installation failed: building from source.
==> Installing dependencies for pandoc: ghc and cabal-install
==> Installing pandoc dependency: ghc
==> Downloading https://homebrew.bintray.com/bottles/ghc-8.6.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ab/ab7cfe45159057538fcde888c14ccf19b0154ac6e0e2d9bd92727c5a0b7734d5?__gda__=exp=1561867415~hmac=e0e537eaad1
GL-MBP:~ GL$ brew install pandoc-citeproc
==> Installing dependencies for pandoc-citeproc: pandoc
==> Installing pandoc-citeproc dependency: pandoc
==> Downloading https://homebrew.bintray.com/bottles/pandoc-2.7.3.mojave.bottle.tar.gz
Already downloaded: /Users/GL/Library/Caches/Homebrew/downloads/e5c410b008ebaff5a8464e18ca9a49a0c3cd0aabeafe24e732adf312d2a31f6b--pandoc-2.7.3.mojave.bottle.tar.gz
Error: No such file or directory @ dir_chdir - /usr/local/Cellar
Warning: Bottle installation failed: building from source.
==> Installing dependencies for pandoc: ghc and cabal-install
==> Installing pandoc dependency: ghc
==> Downloading https://homebrew.bintray.com/bottles/ghc-8.6.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ab/ab7cfe45159057538fcde888c14ccf19b0154ac6e0e2d9bd92727c5a0b7734d5?__gda__=exp=1561867750~hmac=bc2610080cc
######################################################################## 100.0%
Error: No such file or directory @ dir_chdir - /usr/local/Cellar
Warning: Bottle installation failed: building from source.
==> Installing dependencies for ghc: gdbm, openssl, readline, sqlite, xz, python and sphinx-doc
==> Installing ghc dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1.mojave.bottle.1.tar.gz
######################################################################## 100.0%
Error: No such file or directory @ dir_chdir - /usr/local/Cellar
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
######################################################################## 100.0%
Error: An exception occurred within a child process:
  Errno::EPERM: Operation not permitted @ dir_s_mkdir - /usr/local/Cellar

GL-MBP:~ GL$ brew update
Already up-to-date.
=====================================================================================

I am not sure what type of problem I have. I tried to find information online but couldn't find any helpful posts or documentation.

If anyone able to help could kindly spare the time to write back that would be wonderful.

Thanks a million
Gaby



--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b63c033f-c82d-414d-886b-12b75e13330f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.