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

Not able to locate meetup-token.rds when running examples #147

Open
ledell opened this issue Jul 27, 2024 · 0 comments
Open

Not able to locate meetup-token.rds when running examples #147

ledell opened this issue Jul 27, 2024 · 0 comments

Comments

@ledell
Copy link
Member

ledell commented Jul 27, 2024

This is what happens when I run the example on the README.md (made sure I am using latest version of the package from GitHub). I am using a Macbook Pro (Apple M1 Max), Sonoma 14.5, using R 4.2.2. Edit: Also upgraded to R 4.4.1 and got same errors.

> remotes::install_github("rladies/meetupr")
Skipping install of 'meetupr' from a github remote, the SHA1 (4faca394) has not changed since last install.
  Use `force = TRUE` to force installation
> library(meetupr)
>
> urlname <- "rladies-san-francisco"
> events <- get_events(urlname)
Error: Cannot read token from alleged .rds file:
~/Library/Application Support/meetupr/meetupr-token.rds

The file is indeed there:

▶ ls ~/Library/Application\ Support/meetupr/meetupr-token.rds
-rw-------  1 me  staff     0B Jul 17 12:28 /Users/me/Library/Application Support/meetupr/meetupr-token.rds

I also tried reading the file directly in R, and it did not work:

> token <- readRDS("/Users/me/Library/Application Support/meetupr/meetupr-token.rds")
Error in readRDS("/Users/me/Library/Application Support/meetupr/meetupr-token.rds") : 
  error reading from connection

Also tried with a backslash just in case:

> token <- readRDS("/Users/me/Library/Application\ Support/meetupr/meetupr-token.rds")
Error in readRDS("/Users/me/Library/Application Support/meetupr/meetupr-token.rds") : 
  error reading from connection
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

1 participant