metrumresearchgroup / ghpm

BSD 3-Clause Clear License
1 stars 0 forks source link

gh 1.2.0 appears to break ghpm #18

Open copernican opened 3 years ago

copernican commented 3 years ago

It appears that gh 1.2.0 breaks ghpm. The examples below show behavior with 1.1.0 and 1.2.0, respectively.

library(ghpm)
packageVersion("ghpm")
#> [1] '0.5.0'
packageVersion("gh")
#> [1] '1.1.0'
get_issues("metrumresearchgroup", "rbabylon")
#> # A tibble: 163 x 14
#>    issue title body  closed closed_at           resource_path url  
#>    <dbl> <chr> <chr> <lgl>  <dttm>              <chr>         <chr>
#>  1     1 get … "I w… TRUE   2019-08-26 17:28:08 /metrumresea… http…
#>  2     2 impo… "Cre… TRUE   2020-03-11 18:45:43 /metrumresea… http…
#>  3     3 buil… "Cre… TRUE   2020-03-11 18:47:16 /metrumresea… http…
#>  4     5 remi… "per… TRUE   2020-03-06 17:16:56 /metrumresea… http…
#>  5    11 Run … "# S… TRUE   2020-03-03 20:51:48 /metrumresea… http…
#>  6    12 Take… "# S… TRUE   2020-03-03 20:50:44 /metrumresea… http…
#>  7    13 Crea… "# S… TRUE   2020-03-03 20:48:56 /metrumresea… http…
#>  8    14 Pars… "# S… TRUE   2020-03-03 20:44:40 /metrumresea… http…
#>  9    15 Crea… "# S… TRUE   2020-03-03 20:43:52 /metrumresea… http…
#> 10    16 sync… "@sh… TRUE   2020-09-21 21:04:24 /metrumresea… http…
#> # … with 153 more rows, and 7 more variables: last_edited_at <dttm>,
#> #   editor <chr>, published_at <dttm>, creator <chr>, milestone <chr>,
#> #   milestone_number <int>, state <chr>

With 1.2.0:

library(ghpm)
packageVersion("ghpm")
#> [1] '0.5.0'
packageVersion("gh")
#> [1] '1.2.0'
get_issues("metrumresearchgroup", "rbabylon")
#> Error in gh_process_response(raw): 
#> GitHub API error (404): 404 Not Found
#> Message: Not Found
#> Read more at https://docs.github.com/rest
#> 
#> URL not found: https://api.github.com