Open MLopez-Ibanez opened 5 months ago
FWIW if I call
/private/tmp/mootools main* 7s
❯ R CMD build r
from your repo, that also fails, although with a different error:
** help
Loading required namespace: moocore
Failed with error: ‘unable to load shared object '/private/var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T/RtmpHUlpWM/Rinst17f7d2f3b9e4d/00LOCK-moocore/00new/moocore/libs/moocore.so':
dlopen(/private/var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T/RtmpHUlpWM/Rinst17f7d2f3b9e4d/00LOCK-moocore/00new/moocore/libs/moocore.so, 0x0006): symbol not found in flat namespace '_errprintf'’
Failed with error: ‘unable to load shared object '/private/var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T/RtmpHUlpWM/Rinst17f7d2f3b9e4d/00LOCK-moocore/00new/moocore/libs/moocore.so': dlopen(/private/var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T/RtmpHUlpWM/Rinst17f7d2f3b9e4d/00LOCK-moocore/00new/moocore/libs/moocore.so, 0x0006): symbol not found in flat namespace '_errprintf'’
Strange. I cannot reproduce that and neither can the github actions. Is that Linux or Mac? It looks like a Mac problem. If you are happy to open an issue in my repository and give me a full log I can investigate.
Does devtools::install_github("auto-optimization/mootools/r")
give you the same error? It doesn't look at all like the error that pak
gives me.
You can see here that installing with remotes::install_github
works (even in MacOS):
so it seems this may be a bug in pak
, perhaps in handling packages that are in subdirectories of a github repo?
works!
FAILS with: