Skip to content

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

@ledell

Description

@ledell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions