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 pak subprocess #1634

Open
PhilicJone opened this issue Jun 16, 2023 · 2 comments
Open

!error in pak subprocess #1634

PhilicJone opened this issue Jun 16, 2023 · 2 comments

Comments

@PhilicJone
Copy link

I encountered this error when installing rlang with “pak::pkg_install("r-lib/rlang")”

pak::pkg_install("r-lib/rlang")
Error:
! error in pak subprocess
Caused by error in loadNamespace(name):
! 不存在叫'pkgdepends'这个名字的程辑包
Type .Last.error to see the more details.

@lionel-
Copy link
Member

lionel- commented Jun 16, 2023

There is an issue on your side. Is this with Windows? If so try closing all R and RStudio sessions running on your computer, start a fresh one, then try installing again.

! 不存在叫'pkgdepends'这个名字的程辑包

Can you translate please?

@psychelzh
Copy link
Contributor

psychelzh commented Jul 8, 2023

I am Chinese, and this line

! 不存在叫'pkgdepends'这个名字的程辑包

translates into English is:

! there is no package called 'pkgdepends'

This is probably related to the path where the package is installed. For example, if the path has a 'space', this error will be raised.

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