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

callr_remote_error: Cannot install packages...can't find on remote crazycapivara/h3-r #663

Closed
7yl4r opened this issue Nov 16, 2022 · 6 comments

Comments

@7yl4r
Copy link

7yl4r commented Nov 16, 2022

Describe the bug

Error: Error: <callr_remote_error: Cannot install packages:
  * deps::.: Can't install dependency h3
  * h3: Can't find package called h3.

To Reproduce

Expected behavior
The package should install successfully as it does locally when doing devtools::install_local() or remotes::install_github()

Additional context
This package name is unusual in that it has a dash (-) in the name; there is some speculation that this may be related to the bug.

@7yl4r 7yl4r added the bug an unexpected problem or unintended behavior label Nov 16, 2022
@gaborcsardi gaborcsardi removed the bug an unexpected problem or unintended behavior label Nov 16, 2022
@gaborcsardi
Copy link
Member

If the package name is not the same as the repo name, you need to tell pak what the name of the package is, like this:

Remotes:
    h3=crazycapivara/h3-r

7yl4r added a commit to marinebon/obisindicators that referenced this issue Nov 16, 2022
@7yl4r
Copy link
Author

7yl4r commented Nov 16, 2022

trying that yielded a different error:

  Error: Error: <callr_remote_error: Cannot install packages:
  * pkgdown: dependencies must be TRUE, FALSE, NA or a list of dependency types>
   in process 10233 

@gaborcsardi
Copy link
Member

Try using the latest actions, i.e. r-lib/actions/...@v2 everywhere, and specify pkgdown as any::pkgdown, like in the example workflow at https://github.com/r-lib/actions/blob/v2-branch/examples/pkgdown.yaml#L33

In general, it is best to follow the example workflows.

@7yl4r
Copy link
Author

7yl4r commented Nov 17, 2022

Thanks! I started over using the @ v2 example action. That has gotten us to a new error related to #2126. This one might might be a detail I am missing in the pkgdown docstring for one of our functions but I can't find it.

@gaborcsardi
Copy link
Member

pkgdown now errors on the CI if you don't document all exported objects. You can also put them in a section called "internal" and then there is no error and the topics are left out, if you don't want to document them. See the pkgdown docs.

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants