I have an R package that completes devtools::check() without errors,
warnings or notes running under Linux Mint, so I thought that all was
well. Everything works as expected when the package is installed on the
Linux box from GitHub.
However, when I attempt to install it on a Windows box I get:
R> devtools::install_github("sgutreuter/screenr")
Downloading GitHub repo sgutreuter/screenr@HEAD
Error: Failed to install 'screenr' from GitHub:
Multiple results for CXX11FLAGS found, something is wrong.FALSE
Next I tried devtools::check on clone on that same Windows box, and I gott:
R> devtools::check()
i Updating screenr documentation
i Loading screenr
Writing NAMESPACE
Writing NAMESPACE
-- Building ---------------------------------------------------------
screenr --
Setting env vars:
* CFLAGS : -Wall -pedantic -fdiagnostics-color=always
* CXXFLAGS : -Wall -pedantic -fdiagnostics-color=always
* CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
--------------------------------------------------------------------------------
Error in set_makevars(.new, .path, makevars_file, assignment =
.assignment) :
Multiple results for CXX11FLAGS found, something is wrong.FALSE
The strange (to me) thing is that the package is 100% R, so I don't
understand why C compiler flags are even in play. Earlier versions
worked as expected under both Linux and Windows.
Any hints?
Thanks!
--
Steve Gutreuter
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel