Hi - I'm trying to build my first package and one of the errors I'm running into is that when I try to run devtools::check(), I'm getting an error I don't understand and I've become stuck. The error is Error: right is not a string (length 1 character). I don't think I have anything named right
and when I google that error message I don't get any relevant results. I've attached the full output of the check() call below (the package is called ppscore
).
I'm on a Windows 10 machine and I've been having other issues with Rtools being recognized by RStudio but not sure if that's related.
Any help would be appreciated! Thank you!
> devtools::check()
Updating ppscore documentation
Loading ppscore
Writing NAMESPACE
Writing NAMESPACE
-- Building --------------------------------------------------------- ppscore --
Setting env vars:
* CFLAGS : -Wall -pedantic
* CXXFLAGS : -Wall -pedantic
* CXX11FLAGS: -Wall -pedantic
--------------------------------------------------------------------------------
√ checking for file 'C:\Users\jtl\src\r_packages\ppscore/DESCRIPTION' (672ms)
- preparing 'ppscore': (692ms)
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'ppscore_0.0.0.1.tar.gz'
Error: right is not a string (length 1 character)