Closed albersonmiranda closed 2 months ago
Just wanted to say, this looks impressive already. Keep up the good work @albersonmiranda!
@Ilia-Kosenkov After https://github.com/extendr/extendr/pull/844 it is now passing R CMD Check locally and it's ready to review.
I got it that the version in DESCRIPTION
is annoying for snapshot tests, I will fix it after you merge this.
What type of PR is this? (check all applicable)
Description
This PR updates
use_cran_defaults()
to checkSystemRequirements
field inDESCRIPTION
and perform a system check for bothRust
andCargo
tools. If any of them is not found, build fails with a message to install them. If they are found, it checks for the minimum version ofrustc
. If it is lower than specified inSystemRequirements
, build fails with a message stating both installed and minimum version required. Finally, if all tests pass, it prints the version ofcargo
andrustc
found, which will be used to build the package.Related Tickets & Documents
Added/updated tests?
Goal is code coverage percentage at 80% and above.
Release checklist