Closed duytrung closed 3 years ago
On windows, updating package with source code can be tricky because of the dll issue.
You need to be sure to use a clean session, with nothing loaded and even outside of RStudio - this is to avoid having xfun package loaded in anyway in your session or in another session. This is a known constraint on windows
That is why I advice now to you use the new pak package which greatly improve this experience on Windows: It will detect any other sessions where a package could be loaded and could cause a dll lock issue.
Can you try :
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
pak::pak("xfun")
If you don't want to use pak
install.packages("xfun")
in this clean sessionHope it helps
hi @cderv , I just know about pak by your reply and have opened the link to the pak page. It's interesting. I would try tomorrow to see if I can fix the installation myself. Thank you very much
By filing an issue to this repo, I promise that
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')
.I understand that my issue may be closed if I don't fulfill my promises.
Hi YiHui,
I have tried to update the package xfun for some times but not successful. Here is the log of the program in the console:
I came to the folder but found the dll file remain the same.