I am trying to run devtools::check() function on a package I am building. Everything runs fine except at the end I get the following error:
*** arch - i386
Error : package 'nimble' is not installed for 'arch = i386'
Error: loading failed
*** arch - x64
ERROR: loading failed for 'i386'
The package nimble loads fine on my own machine when I type library(nimble). I have updated to the latest version of R and all my packages are up to date. Some other forums suggested adding the --multithread command to R CMD check, but that didn't seem to help the problem. Any thoughts about how to fix this error? Is it something with my Rtools settings? Any tips would be much appreciated.