pkgload icon indicating copy to clipboard operation
pkgload copied to clipboard

Automatically `clean_dll()` if architecture changes?

Open hadley opened this issue 2 years ago • 0 comments

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

hadley avatar Sep 20 '22 13:09 hadley