Closed CGMossa closed 7 months ago
I also found that devtools
should be Imports
and not just Suggests
.
This can be related to #168. We can at least provide the information about what is available and what is missing. Not sure we should interfere with the installation process.
Thanks for catching. I already updated the setup instruction, so I hope not so many people will see this error, but I think it's nice if we can display more friendly error.
I also found that
devtools
should beImports
and not justSuggests
.
JFYI, rextendr requires users to install devtools when it's necessary, so I don't think so.
I ran into this problem today when installing on my work machine (windows).
Solved by following the instruction rustup target add x86_64-pc-windows-gnu
We could, in theory, catch that specific message, but that feels icky.
Is this resolved by rust_sitrep()
? Perhaps if error is encountered in rust_function() or rust_source() the error message can recommend running rust_sitrep()
?
Sounds reasonable. Also we should update docs (README) to mention rust_sitrep()
. Up for the task? :)
Calling
rust_function
causes this error if targetx86_64-pc-windows-gnu
.This is fixed with
rustup target add x86_64-pc-windows-gnu
.Maybe we can remedy this somehow?