- Notifications
You must be signed in to change notification settings - Fork75
Closed
Description
When trying to install from a package in a subdirectory, I get:
> pak::pkg_install("apache/arrow-nanoarrow/r") → Will update 1 package.→ Will download 1 package with unknown size.+ nanoarrow 0.0.0.9000 → 0.0.0.9000 👷🏾♀️🔧 ⬇ (GitHub: 5d5234d)? Do you want to continue (Y/n) Yℹ Getting 1 pkg with unknown size✓ Got nanoarrow 0.0.0.9000 (source) (236.48 kB) ✓ Downloaded 1 package (236.48 kB)in 912ms ℹ Packaging nanoarrow 0.0.0.9000Error: No root directory found in /private/var/folders/p5/sxv05ml96sd1n2p3ssfhzzth0000gn/T/RtmponxckR/X/nanoarrow or its parent directories. Root criterion: contains a file "DESCRIPTION"Type .Last.error.trace to see where the error occurredThe equivalent call for remotes seems to work:
remotes::install_github("apache/arrow-nanoarrow/r")
Downloading GitHub repo apache/arrow-nanoarrow@HEAD
✔ checking for file ‘/private/var/folders/p5/sxv05ml96sd1n2p3ssfhzzth0000gn/T/RtmpWIFiBY/remotes162f0305e40be/apache-arrow-nanoarrow-5d5234d/r/DESCRIPTION’ ...
─ preparing ‘nanoarrow’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ 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’
- installingsource package ‘nanoarrow’ ...
** using staged installation
Fetched bundled nanoarrow fromhttps://github.com/apache/arrow-nanoarrow/tree/main/dist
** libs
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c altrep.c -o altrep.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c array.c -o array.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c array_convert_vector.c -o array_convert_vector.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c array_stream.c -o array_stream.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c array_view.c -o array_view.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c buffer.c -o buffer.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c build_id.c -o build_id.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c materialize.c -o materialize.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c nanoarrow.c -o nanoarrow.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c pointers.c -o pointers.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c pointers_cpp.cc -o pointers_cpp.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c schema.c -o schema.o
clang++ -arch arm64 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o nanoarrow.so altrep.o array.o array_convert_vector.o array_stream.o array_view.o buffer.o build_id.o init.o materialize.o nanoarrow.o pointers.o pointers_cpp.o schema.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: -undefined dynamic_lookup may not work with chained fixups
installing to /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-nanoarrow/00new/nanoarrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path - DONE (nanoarrow)
This would be rather helpful for running CI with a nanoarrow dependency since all those workflows use pak for the dependency install!
Metadata
Metadata
Assignees
Labels
No labels