-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error: Problems parsing JSON #77
Comments
@cderv this was my experimenting with the same idea as yours 😉 tidyverse/reprex#190 |
forgot we've dealt with this before , see cant upload binary files with the http api, so got to use git flow instead see if this example works https://github.com/ropensci/gistr/blob/master/R/gist_create_git.R#L79-L85 |
Thanks. Now I get a reprex::reprex(plot(1:10),
outfile = "myreprex")
#> Preparing reprex as .R file:
#> * myreprex_reprex.R
#> Rendering reprex...
#> Writing reprex markdown:
#> * myreprex_reprex.md
#> Rendered reprex is on the clipboard.
suppfiles <- fs::dir_ls("myreprex_reprex_files",
recursive = TRUE)
suppfiles <- suppfiles[fs::is_file(suppfiles)]
fs::file_move(suppfiles, getwd())
files <- c("myreprex_reprex.md",
fs::path_file(suppfiles),
"myreprex_reprex.R")
gistr::gist_create_git(files = files,
description = "my reprex")
#> Error in sprintf("%s/?|\\./", git@path): trying to get slot "path" from an object (class "git_repository") that is not an S4 object Created on 2018-09-28 by the reprex package (v0.2.1) |
FWIW i have the CRAN version of |
But you don't use Windows 😉 I'm installing the dev version, I might report the bug over there if I still get the error. |
ok, thanks |
My problems are now linked to |
Created on 2018-09-28 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: