paleolimbot commented on issue #966:
URL: https://github.com/apache/arrow-adbc/issues/966#issuecomment-1667871119

   I *think* this is because you installed pak before pkgbuild 1.4.2 was 
released (we had to add a feature to pkgbuild to make this type of installation 
work). pak installs pkgbuild to a separate location and manages it 
independently of the system version, so you have to do:
   
   ```r
   install.packages("pkgbuild", pak:::private_lib_dir())
   pak::cache_clean()
   ```
   
   You should be able to verify pak's version of pkgbuild by running:
   
   ``` r
   packageVersion("pkgbuild", pak:::private_lib_dir())
   #> [1] '1.4.2'
   ```
   
   > Somewhat weirdly, I do actualy have golang installed via homebrew.
   
   Probably not related to the install failure, but if `go` isn't on `PATH` 
this could happen, and typically does on MacOS M1 if you don't have homebrew's 
binary directory added to `PATH` (you could do so by adding 
`PATH=${PATH}:/opt/homebrew/bin:/opt/homebrew/sbin` to `~/.Renviron`). This can 
help install other things from source, too, since brew is the normal way to 
install `pkg-config`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to