Magrittr not found in github action (Windows)

I'm getting this error in my github action for windows:

Error: Error: package or namespace load failed for 'iatlas.modules' in library.dynam(lib, package, package.lib):

 DLL 'magrittr' not found: maybe not installed for this architecture?

Error: Error: loading failed

Execution halted

arch - x64

ERROR: loading failed for 'i386'

Github action log

It seems to that renv only compiles packages for the x64 architecture, but then the check-r action tries to check the code for both i386 and x64.

You can try passing --no-multiarch to R CMD check to ignore the i386 arch.

I am not sure if it is possible to tell renv to install source packages for both archs.

Would that be an arg or build_arg? (It looks like the github action calls rcmdcheck::rcmdcheck)

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.