Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 476 Bytes

File metadata and controls

25 lines (20 loc) · 476 Bytes

This project is an R package that transpiles R functions to Fortran.

  • To run run the full test suite:
R -q -e 'testthat::test_local()'
  • To run a single test file:
R -q -e 'testthat::test_file("tests/testthat/test-dims2f.R")'
  • To see the generated C and Fortran code for an R function, use r2f():
R --no-save -q <<'EOF'
devtools::load_all()
r2f(function(x) {
  declare(type(x = double(NA)))
  x + 1
})
EOF
  • Never disable or skip tests.