-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename normalized_chi()
to fei()
#475
Conversation
Codecov Report
@@ Coverage Diff @@
## main #475 +/- ##
==========================================
- Coverage 90.28% 90.16% -0.13%
==========================================
Files 48 48
Lines 2759 2765 +6
==========================================
+ Hits 2491 2493 +2
- Misses 268 272 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hmm... I'll take that as a "no". Any ideas @bwiernik @strengejacke @IndrajeetPatil ?
|
Does using the |
Currently it's always in |
@IndrajeetPatil, any idea why these are happening? |
This is beyond our control, unfortunately. |
Ah okay :/ Any idea why an example is running in |
CRAN tests examples in donttest (for some inexplicable reason). If you want them not to run ever, use dontrun |
You can't use the actual symbol. Only ASCII is allowed on CRAN. You need to use latex macros in eqn or the Unicode escape numbers. For the PDF, it might be the case that we just can't use the symbols if there isn't a built in latex macro we can use in eqn. In that case, have it conditionally display the symbol in HTML and plain text (via the Unicode escape) and just the fei spelling in Latex. (Because very few people read the pdf manual and CRAN's support for TeX is so limited) |
I'll try it out |
The Writing R Extensions docs make it sound like including UTF-8 characters in the Latex version should be possible (https://cran.r-project.org/doc/manuals/R-exts.html#Encoding), but I can't figure out what to do there. So, for now, I just set it to use the proper symbols in HTML and text, but Fei in PDF (ironic considering that Writing R Extensions says "Mathematical formulae should be set beautifully for printed [PDF] documentation") |
Yup - I also saw some examples on SO, but could not make them work :/ Thanks B! Once I see all tests pass now on my latest push I will merge. Welcome Fei! |
Can you share the links to the StackOverflow examples? |
The title of the paper should totally start with "phi, fei, fo, fum…" |
Closes #474
The פ should render fine in the docs, right?