bs4Dash icon indicating copy to clipboard operation
bs4Dash copied to clipboard

DESCRIPTION remotes

Open dkulp2 opened this issue 3 years ago • 1 comments

When I add

remotes:
  RinteRface/​bs4Dash

to my packages DESCRIPTION file, I get an error:

> devtools::install_deps()
Error: JSON: EXPECTED value GOT <
> traceback()
16: stop("JSON: ", ..., call. = FALSE)
15: throw("EXPECTED value GOT ", token)
14: parse_value(tokens)
13: json$parse(raw_to_char_utf8(res$content))
12: github_error(res)
11: stop(github_error(res))
10: github_DESCRIPTION(username = remote$username, repo = remote$repo, 
        subdir = remote$subdir, host = remote$host, ref = remote$ref, 
        pat = remote$auth_token %||% github_pat(), use_curl = use_curl)
9: remote_package_name.github_remote(x)
8: remote_package_name(x)
7: FUN(X[[i]], ...)
6: vapply(extra, function(x) remote_package_name(x), character(1), 
       USE.NAMES = FALSE)
5: extra_deps(pkg, "remotes")
4: combine_remote_deps(cran_deps, extra_deps(pkg, "remotes"))
3: dev_package_deps(pkgdir, repos = repos, dependencies = dependencies, 
       type = type)
2: remotes::install_deps(pkg$path, dependencies = dependencies, 
       repos = repos, type = type, upgrade = upgrade, quiet = quiet, 
       build = build, build_opts = build_opts, ...)
1: devtools::install_deps()

When I remove that bs4Dash from remotes, I get no error. The traceback seems to be complaining about reading the bs4Dash DESCRIPTION file. However, I have no problem installing bs4Dash manually with devtools::install_github("RinteRface/bs4Dash"). Any thoughts??

dkulp2 avatar Mar 10 '21 23:03 dkulp2

Is the error still going on?

DivadNojnarg avatar May 20 '21 07:05 DivadNojnarg