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

Compatibility Issue with R 4.4.0 #84

Open
stevefatz95 opened this issue May 10, 2024 · 4 comments
Open

Compatibility Issue with R 4.4.0 #84

stevefatz95 opened this issue May 10, 2024 · 4 comments

Comments

@stevefatz95
Copy link

Hi Mark,

I recently upgraded to R version 4.4.0 and encountered an issue when trying to install searchConsoleR. It seems that the package is not available for this version of R.

Steps to Reproduce:

  1. Install R 4.4.0.
  2. Attempt to install searchConsoleR using install.packages("searchConsoleR").

Expected Behavior:

The searchConsoleR package should install without any issues on R 4.4.0.

Actual Behavior:

The installation fails with the following warning message:

Warning in install.packages :
  package ‘searchConsoleR’ is not available for this version of R

Additional Information:

  • R Version: 4.4.0
  • Operating System: MacOS Sonoma version 14.4.1
  • R Environment: Rstudio

Additional context or information that may be helpful in resolving this issue.

Potential Solutions Considered:

  • Checking for updates to searchConsoleR that may support R 4.4.0.
  • Investigating compatibility issues between searchConsoleR and R 4.4.0.

Note:

I'm keen to continue using searchConsoleR and would appreciate any guidance or updates regarding its compatibility with R 4.4.0. Thank you!

@MarkEdmondson1234
Copy link
Owner

It’s not available at the moment for any R versions actually! It’s removed from CRAN due to an issue with googleAuthR - it can still be installed from GitHub

https://cran.r-project.org/web/packages/searchConsoleR/index.html

@bart-turczynski
Copy link

bart-turczynski commented Jul 12, 2024

Hi there! I have the same problem.
When I try using GH, I get:

devtools::install_github("MarkEdmondson1234/searchConsoleR")
Using GitHub PAT from the git credential store.
Error: Failed to install 'unknown package' from GitHub:
  HTTP error 401.
  Bad credentials

  Rate limit remaining: 53/60
  Rate limit reset at: 2024-07-12 17:11:50 UTC

Update:
OK, so this is a minor thing I was able to resolve with help from: https://stackoverflow.com/questions/70908295/failed-to-install-unknown-package-from-github
I basically ran usethis::create_github_token() got sent to GitHub, created a token with default settings, copied the token into Sys.setenv(GITHUB_PAT = "token") and installed your library with no problems. Hope this helps those who haven't used devtools/GitHub in a while.

@MarkEdmondson1234
Copy link
Owner

@bart-turczynski that looks like an issue with your github PAT maybe? you shouldn't need one as this is a public github repo

@bart-turczynski
Copy link

bart-turczynski commented Jul 13, 2024

Yup, this helped:
OK, so this is a minor thing I was able to resolve with help from: https://stackoverflow.com/questions/70908295/failed-to-install-unknown-package-from-github
I basically ran usethis::create_github_token() got sent to GitHub, created a token with default settings, copied the token into Sys.setenv(GITHUB_PAT = "token") and installed your library with no problems. Hope this helps those who haven't used devtools/GitHub in a while.

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