You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I upgrade to R 4.1.1, repr_html() no longer works:
hfile<-utils::help("get")
repr::repr_html(hfile)
Error in seq_len(head.end.idx) :
argument must be coercible to non-negative integer
In addition: Warning message:
In seq_len(head.end.idx) : first element used of 'length.out' argument
Backtrace:
1: repr_help_files_with_topic_generic(obj, Rd2HTML)
2: repr_html.help_files_with_topic(hfile)
3: repr::repr_html(hfile)
Activity
renkun-ken commentedon Aug 12, 2021
Looks like
repr/R/repr_help_files_with_topic.r
Lines 51 to 53 in 7f27d6a
no longer applies to the HTML files of R 4.1.1 where it should match these two lines instead.
Looks like search for the line that contains or
startsWith</head><body>andendsWith</body></html>should be enough.colettace commentedon Aug 17, 2021
For me, when I use the
?operator or the functionutils::helpto pull the doc pages, it returns unrendered latex, rather than html.When I try to render it using
IRdisplay::display_latex( my_doc_text )I get an error with the following backtrace:rvalieris commentedon Aug 29, 2021
same issue here, I can confirm that the proposed PR #144 fixes the issue.
MLKaufman commentedon Oct 14, 2021
Getting the same issue when running ?help based commands.
kaufmanno commentedon Nov 7, 2021
I still getting the same issue under R4.1.2 in Jupyterlab 3.2.2.
CholoTook commentedon Nov 15, 2021
Why closed?
flying-sheep commentedon Nov 15, 2021
See the close event:
There’s a link you can click which tells you what the fix was.