paleolimbot commented on PR #98:
URL: https://github.com/apache/arrow-nanoarrow/pull/98#issuecomment-1406649419
Hmm...unfortunately, the `cleanup` approach doesn't work out of the box with
pak or remotes:
```
> pak::pkg_install("apache/arrow-nanoarrow/r#98")
→ Will update 1 package.
→ Will download 1 package with unknown size.
+ nanoarrow 0.0.0.9000 → 0.0.0.9000 👷🏿🔧 ⬇ (GitHub: 64ac136)
? Do you want to continue (Y/n) y
ℹ Getting 1 pkg with unknown size
✔ Got nanoarrow 0.0.0.9000 (source) (849.66 kB)
✔ Downloaded 1 package (849.66 kB)in 1.2s
ℹ Packaging nanoarrow 0.0.0.9000
✔ Packaged nanoarrow 0.0.0.9000 (601ms)
ℹ Building nanoarrow 0.0.0.9000
✖ Failed to build nanoarrow 0.0.0.9000
Error:
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package 'nanoarrow'
Full installation output:
* installing *source* package ‘nanoarrow’ ...
staged installation is only possible with locking
** using non-staged installation
Vendored src/nanoarrow.h and/or src/nanoarrow.c are missing
ERROR: configuration failed for package ‘nanoarrow’
* removing
‘/private/var/folders/p5/sxv05ml96sd1n2p3ssfhzzth0000gn/T/Rtmpt56Awm/pkg-lib19c5751f3f2b/nanoarrow’
Type .Last.error to see the more details.
> remotes::install_github("apache/arrow-nanoarrow/r#98")
Downloading GitHub repo paleolimbot/arrow-nanoarrow@better-vendoring
✔ checking for file
‘/private/var/folders/p5/sxv05ml96sd1n2p3ssfhzzth0000gn/T/RtmpS8kwJl/remotes18994502408f/paleolimbot-arrow-nanoarrow-64ac136/r/DESCRIPTION’
...
─ preparing ‘nanoarrow’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘nanoarrow_0.0.0.9000.tar.gz’
* installing *source* package ‘nanoarrow’ ...
** using staged installation
Vendored src/nanoarrow.h and/or src/nanoarrow.c are missing
ERROR: configuration failed for package ‘nanoarrow’
* removing
‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/nanoarrow’
* restoring previous
‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/nanoarrow’
Warning message:
In i.p(...) :
installation of package
‘/var/folders/p5/sxv05ml96sd1n2p3ssfhzzth0000gn/T//RtmpS8kwJl/file18996a5cf43b/nanoarrow_0.0.0.9000.tar.gz’
had non-zero exit status
```
--
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]