Thanks for your test result Simon, I really appreciate it. I borrowed a new
laptop and found the issue is only reproducible on my machine, so there is
something not in R or the package that causes this problem. I will
stop chattering and try to figure out where the problem is. Thanks again
for your
Jiefei,
you did not commit all files into the example package - your example has things
like RcppExports.cpp as well as additional flags which are not in your GH
project. I suspect the issue is with the extra flags you're adding - those
don't come from R. Please make sure you can replicate the
Thanks a lot for your suggestions. I see what you mean. I have removed all
unnecessary files and dependences on https://github.com/Jiefei-Wang/example,
but still no luck. I've tried to install the package as a user, not admin,
but I got the same error. Also, I apologize for spamming the mail list.
Thanks, Tomas. I took your suggestion and change the make file to
test1:=$(shell $(R_HOME)/bin/R --slave -e 'runif(3)')
all: testPackage.dll
echo "test1 is $(test1)"
echo "R_HOME is $(R_HOME)"
However, R CMD INSTALL still gives me the same error:
> R CMD INSTALL testPackage_1.0.tar.gz*
Thanks, Jiefei, unfortunately your example does not work on my system,
and also it is far from minimal. The error message you are getting is
from Windows and could be caused for example by accidental quoting of
the path using single quotes.
Issues with RStudio or devtools would have to be dis
Oops, I think both of us forget to cite the r-devel channel.
Best,
Jiefei
On Tue, Mar 10, 2020 at 5:13 AM Wang Jiefei wrote:
> Thanks for your quick response, Tomas.
>
> Yes, this is a path issue, I think the problem is related to R, not the
> Rtools make. I built an example package for repro
Hi all,
Here is a bug(or feature?) that exists at least from R 2020-02-24
r77852 to 2020-03-09 r77919 on Window. Consider this example makefile in a
package
```
*test1=$(shell echo 'runif(3)'|R --vanilla --slave)test2=$(shell echo
'runif(3)'|"C:/Program Files/R/R-devel/bin/R" --vanilla
--sla