Description
Support for the 'Mathpix' API (Image to 'LaTeX').
Description
Given an image of a formula (typeset or handwritten) this package provides calls to the 'Mathpix' service to produce the 'LaTeX' code which should generate that image, and pastes it into a (e.g. an 'rmarkdown') document. See <https://docs.mathpix.com/> for full details. 'Mathpix' is an external service and use of the API is subject to their terms and conditions.
README.md
Tests and Coverage
27 April, 2018 22:06:07
This output is created by covrpage.
Coverage
Coverage summary is created using the covr package.
Object | Coverage (%) |
---|---|
mathpix | 9.68 |
R/connect.R | 9.68 |
Unit Tests
Unit Test summary is created using the testthat package.
file | n | time | error | failed | skipped | warning |
---|---|---|---|---|---|---|
test_api.R | 5 | 4.394 | 0 | 0 | 0 | 0 |
file | test | context | status | n | time |
---|---|---|---|---|---|
test_api.R | eq1 returns correct LaTeX | Connect to API | PASS | 1 | 1.066 |
test_api.R | Travis successfully uses API key | Connect to API | PASS | 1 | 0.792 |
test_api.R | Retrying image processing can be successful | Connect to API | PASS | 2 | 2.533 |
test_api.R | Missing image produces an error | File processing | PASS | 1 | 0.003 |