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

FAQ - How do I install the {curl} package? #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

terrymclaughlin
Copy link
Contributor

Pull Request Details

Issue Number: #123

Type: Documentation

Description of the Change

FAQ entry on how to install the {curl} package?

Verification Process

This has been tested in a Posit Workbench session.

Additional Work Required

Notification of this update to be shared via Microsoft Teams

Release Notes

Not applicable

Add hyperlink to page detailing steps to install {curl} package
Provide detail of how to install {curl} v5.2.3
@terrymclaughlin terrymclaughlin linked an issue Nov 28, 2024 that may be closed by this pull request
@terrymclaughlin terrymclaughlin self-assigned this Nov 28, 2024
@terrymclaughlin terrymclaughlin added the documentation Improvements or additions to documentation label Nov 28, 2024
Copy link
Contributor

@JFix89 JFix89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me Terry! I think it's fine as it is, but could possibly consider calling this a 'workaround' rather than a solution.

Copy link
Contributor

@mgannon99 mgannon99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Comment on lines +144 to +147
# -- or --

# Install {curl} v5.2.3 from the source code in Posit Package Manager
install.packages("https://ppm.publichealthscotland.org/all-r/latest/src/contrib/Archive/curl/curl_5.2.3.tar.gz", repos = NULL, type="source")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit isn't needed, since we're already assuming people have access to PPM in the above example, and that will serve binary or source as available.

Comment on lines +141 to +142
# Install {curl} v5.2.3 from the last Posit Package Manager snapshot that contained this version
install.packages("curl", repos = "https://ppm.publichealthscotland.org/all-r/__linux__/centos7/2024-11-04+Y3JhbiwzOjIyNzUsNDoyMjQ5LDU6MjM4OCw2Ojg2Myw3OjIzNjksODoyMzE0OzI4MkU4MzFE")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Install {curl} v5.2.3 from the last Posit Package Manager snapshot that contained this version
install.packages("curl", repos = "https://ppm.publichealthscotland.org/all-r/__linux__/centos7/2024-11-04+Y3JhbiwzOjIyNzUsNDoyMjQ5LDU6MjM4OCw2Ojg2Myw3OjIzNjksODoyMzE0OzI4MkU4MzFE")
# Install {curl} v5.2.3 from the PHS Posit Package Manager. You may have to install {remotes} first
remotes::install_version('curl', '5.2.3')

This is the suggested way to install (https://ppm.publichealthscotland.org/client/#/repos/3/packages/curl)

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

Successfully merging this pull request may close these issues.

FAQ - How do I install the {curl} package?
4 participants