Package not installing due to Rfprintf error
Closed this issue · 6 comments
CaitlinA commented
PAckage fails to install on both my mac and on the Linux HPC...
This is the error:
SW_Site.c:700:3: warning: implicit declaration of function 'Rfprintf' is invalid in C99 [-Wimplicit-function-declaration]
swfprintf(logfp, "\n");
^
./generic.h:130:21: note: expanded from macro 'swfprintf'
#define swfprintf Rfprintf
^
1 warning generated.
SW_VegProd.c:610:3: warning: implicit declaration of function 'Rfprintf' is invalid in C99 [-Wimplicit-function-declaration]
swfprintf(logfp, "\n");
CaitlinA commented
That branch isn't passing all the checks. Do you recommend I use it now anyway?
dschlaep commented
When you check why the test on appveyor is failing you will see that
Complete output:
> library("testthat")
Error: package or namespace load failed for 'testthat':
package 'testthat' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Execution halted
* DONE
So, this is an appveyor/testthat problem and not a rSOILWAT2
problem.
CaitlinA commented
Great. Do I just connect to SOILWAT2 master, or do I need to be on a
different SOILWAT2 branch to make this rSOILWAT2 branch work?
…On Wed, Jun 27, 2018 at 11:57 AM, daniel ***@***.***> wrote:
When you check why the test on appveyor is failing you will see that
Complete output:
> library("testthat")
Error: package or namespace load failed for 'testthat':
package 'testthat' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Execution halted
* DONE
So, this is an appveyor/testthat problem and not a rSOILWAT2 problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AM0e_0upcLKkVOIJRZFixLiLN4CQeg9eks5uA9W0gaJpZM4U6Mt8>
.
--
Caitlin Andrews
Ecologist
Southwest Biological Science Center
U.S. Geological Survey
Mobile: 802-922-3494
Office: 928-556-7036
dschlaep commented
See content of .gitmodules
: branch = bugfix_177
That is, if you run the normal git submodule update --remote
(see README), then it will pull the correct version of `SOILWAT2.