Main Body

2 Testing code snippets

Testing differences in rendering code and latex with different display options. The first is adding via [ c o d e ] as follows:

 # Submit the form using html_form() and set_values() to set parameters for form entry
session <- html_session("https://portal.sispub.wisc.edu:7052/psp/public/EMPLOYEE/HRMS/c/COMMUNITY_ACCESS.CLASS_SEARCH.GBL?")
form <- html_form(session)[[1]]
form <- set_values(form, "Term")
set_values(form, q = query, l = loc)

The second is adding via < p r e > as follows:

# Submit the form using html_form() and set_values() to set parameters for form entry
session <- html_session("https://portal.sispub.wisc.edu:7052/psp/public/EMPLOYEE/HRMS/c/COMMUNITY_ACCESS.CLASS_SEARCH.GBL?")
form <- html_form(session)[[1]]
form <- set_values(form, "Term")
set_values(form, q = query, l = loc)

Also testing rendering LaTeX with [ l a t e x ] as follows:

[latex]\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/latex]

[latex]\begin{bmatrix}a & b \\c & d \end{bmatrix}[/latex]

Share This Book