I have made some updates to my R package (named xrfr), and when I tried to run devtools::check() it told me that the NAMESPACE file is not readable. I have updated R and all my installed packages, and I have deleted the old NAMESPACE file to create a new one with devtools::document(), but I still get this error. I did move the package from my computer to my workplace's server, but that has not been a problem otherwise, so I do not believe that is the reason.
Here is the error:
> devtools::document()
i Updating xrfr documentation
i Loading xrfr
Writing NAMESPACE
Error: The specified file is not readable: myfolders\xrfr\NAMESPACE
Does anyone have an idea why? Thanks