Skip to content
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

Error in xfun::normalize_path when knit RMarkdown to HTML #79

Closed
3 tasks done
ThanhQuan23 opened this issue Mar 30, 2023 · 1 comment
Closed
3 tasks done

Error in xfun::normalize_path when knit RMarkdown to HTML #79

ThanhQuan23 opened this issue Mar 30, 2023 · 1 comment

Comments

@ThanhQuan23
Copy link

ThanhQuan23 commented Mar 30, 2023

My issue is:

Error in xfun::normalize_path(path, ..., must_work = must_work, resolve_symlink = FALSE) : 
  unused argument (resolve_symlink = FALSE)
Calls: <Anonymous> -> normalize_path
Execution halted

By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('xfun'). 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/xfun').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

@cderv
Copy link
Collaborator

cderv commented Apr 7, 2023

Please update xfun package and try again.

resolve_symlink has been added in v0.36 and as you can see on CRAN, rmarkdown imports xfun >= 0.36 already.

The error is from rmarkdown calling this function in xfun with new argument (since rmarkdown 2.20). Updating rmarkdown should have updated xfun too.

Something is not ok in your update probably.

So please do update rmarkdown and if it does not install xfun, do update xfun manually.

Thanks

@yihui yihui closed this as completed Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants