pkgload
pkgload copied to clipboard
Automatically `clean_dll()` if architecture changes?
i.e. can we automatically detect this situation?
Error in dyn.load(dll_copy_file) :
unable to load shared object '/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so':
dlopen(/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so, 0x0006): tried: '/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))), '/private/tmp/Rtmpqo4q9b/pkgload1454961696d44/purrr.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
Calls: suppressPackageStartupMessages ... <Anonymous> -> load_dll -> library.dynam2 -> dyn.load
Execution halted