I ask the question on https://stackoverflow.com/questions/64927720/failed-to-install-unknown-package-from-github-line-starting-roxyg-is-ma
when downloading the package with
remotes::install_github('yihui/xaringan')
I met a error saying:
Failed to install 'unknown package' from GitHub: Line starting 'Roxyg ...' is malformed!
And I don't understand what's happening, let alone solving it...
Sorry that i haven't wait for 24h in stack overflow since I need xaringan urgently.
Please keep the below portion in your issue. Your issue will be closed if any of the boxes is not checked. In certain (rare) cases, you may be exempted if you give a brief explanation (e.g., you are only making a suggestion for improvement). Thanks!
By filing an issue to this repo, I promise that
xfun::session_info('xaringan'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/xaringan').I understand that my issue may be closed if I don't fulfill my promises.
Please include the code you executed, otherwise we cannot help you.
Also please try to format issues in the way outlined - thanks.
Please include the code you executed, otherwise we cannot help you.
Also please try to format issues in the way outlined - thanks.
I am so sorry that I haven't read the guideline thoroughly and abused issues. I have edited my question. Hope this time it meets the criteria.
I cannot reproduce your error - I suspect that something is messed up with your R installation.
I'd try to reinstall R, update your packages (maybe do that first) and try again.
PS: Please do not cross-post, this is very much disliked by many people (saying sorry does not make it better :) )
Also please remove this part of the issue next time
Please keep the below portion in your issue. Your issue will be closed if any of the boxes is not checked. In certain (rare) cases, you may be exempted if you give a brief explanation (e.g., you are only making a suggestion for improvement). Thanks!
Thank you a lot and really appreciate your kindness (>.<)
I have reinstalled the R-studio but it didn't work.
Finally I try to set my locale by
Sys.setlocale("LC_ALL","English")
And it then seems to work out!
Good to hear - this is often an issue and easily overlooked.
Thanks. My kindness is also sometimes seen as rude - it depends ;)
Most helpful comment
Good to hear - this is often an issue and easily overlooked.
Thanks. My kindness is also sometimes seen as rude - it depends ;)