I'm aware that my question sounds duplicate to the following two posts:
NOTE in R CRAN Check: No repository set, so cyclic dependency check skipped
NOTE in R CRAN check ---No repository set, so cyclic dependency check skipped
The reason I ask this question again is I don't think answers to the two questions above have solved the problem: I'm going to submit a package to CRAN, and I would like to use win-builder
from CRAN server to check if my package works for Windows platform. However, there's always a "NOTE: No repository set, so cyclic dependency check skipped". The answers to the above posts indeed work for me when I'm testing on my local Linux and Windows machine. That is, if I edit ~/.Rprofile
and profile.site
, the problem goes away on my local machine. But when I use devtools::build_win
to check my package, this note appears again, even if I have included the line of rep-setting code in~/.Rprofile
file in my package.
Therefore, my question is, how can I fix this NOTE when I'm using devtools::build_win
to run on CRAN win-builder? Thanks!!