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

Add doc in how to apply multiple selectors #649

Closed
latot opened this issue Jun 18, 2024 · 5 comments
Closed

Add doc in how to apply multiple selectors #649

latot opened this issue Jun 18, 2024 · 5 comments

Comments

@latot
Copy link

latot commented Jun 18, 2024

Hi!, here is described: https://pak.r-lib.org/reference/faq.html

We can use reinstall or source if want for example how to reinstall or install from source, so here the question, how to reinstall a package that was installed from source? ?reinstall?source does not works.

Don't know if is implemented, if it is, please update the docs to know how to do it.

Ideally also, in the pkg_install mention this options and create a reference to the FAQ.

Thx!

@gaborcsardi
Copy link
Member

Use & to concatenate parameters: ?reinstall&source. (AFAIR reinstall impies source, so it is not needed in this case.)

@gaborcsardi
Copy link
Member

@latot
Copy link
Author

latot commented Jun 19, 2024

Can this doc be linked in the FAQ or pkg_install? even as a reference would be good.

@gaborcsardi
Copy link
Member

It is linked from pkg_install().

@latot
Copy link
Author

latot commented Jun 19, 2024

What is linked down is the pkg_sources, which does hard to guess it also has relation with the actual parameters, because the parameters are not only for sources, there is also reinstall.

I think put a direct reference for parameters, and a link to that webpage section of them could be very good, or say where is the parameter info.

Particularly pkg_install is a hard place for this info, because they does not talk about parameters, so we can't know they exists, we can found this info only in FAQ, the info about them is too dispersed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants