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

pkgr not correctly identifying devtools deps on Windows #326

Open
Dreznel opened this issue Dec 17, 2020 · 1 comment
Open

pkgr not correctly identifying devtools deps on Windows #326

Dreznel opened this issue Dec 17, 2020 · 1 comment

Comments

@Dreznel
Copy link
Contributor

Dreznel commented Dec 17, 2020

Info

Operating System: Windows 10

Pkgr version: pkgr cli version v2.0.1

pkgr.yml:

Version: 1

Packages:
  - devtools
  - dplyr
  - rmarkdown
  - devutils

Repos:
  - MPN: https://mpn.metworx.com/snapshots/stable/2020-11-21
  # - CRAN: https://cran.rstudio.com

Lockfile:
  Type: renv

Recommended: true

Problem:

I expect the following command to return cli as one of the dependencies of devtools. I do not see it:

pkgr inspect devtools --deps
INFO[0000] found installed packages                      count=88
WARN[0000] Packages not installed by pkgr                packages="[renv]"
INFO[0000] Default package installation type:  binary
INFO[0000] 1027:1036 (binary:source) packages available in for MPN from https://mpn.metworx.com/snapshots/stable/2020-11-21
INFO[0000] Package installation cache directory:  C:\Users\Captain Yob\AppData\Local\pkgr
INFO[0000] Database cache directory:  C:\Users\Captain Yob\AppData\Local\pkgr\r_packagedb_caches
WARN[0000] outdated package found                        installed_version=0.11.0 pkg=renv update_version=0.12.2
INFO[0000] package installation status                   installed=88 not_from_pkgr=1 outdated=1 total_packages_required=87
INFO[0000] package installation sources                  MPN=87 tarballs=0
INFO[0000] package installation plan                     to_install=0 to_update=0
INFO[0000] Library path to install packages: renv\library\R-4.0\x86_64-w64-mingw32
INFO[0000] resolution time 79.0566ms
{
  "devtools": [
    "lazyeval",
    "highr",
    "pkgconfig",
    "ps",
    "Rcpp",
    "rprojroot",
    "crayon",
    "base64enc",
    "stringi",
    "ini",
    "commonmark",
    "fansi",
    "digest",
    "withr",
    "clipr",
    "sys",
    "R6",
    "praise",
    "brew",
    "git2r",
    "evaluate",
    "glue",
    "rlang",
    "assertthat",
    "yaml",
    "xfun",
    "remotes",
    "whisker",
    "fs",
    "mime",
    "brio",
    "jsonlite",
    "curl",
    "magrittr",
    "prettyunits",
    "rstudioapi",
    "BH",
    "xml2",
    "lifecycle",
    "askpass",
    "desc",
    "purrr",
    "ellipsis",
    "sessioninfo",
    "rex",
    "stringr",
    "processx",
    "memoise",
    "diffobj",
    "rversions",
    "htmltools",
    "later",
    "markdown",
    "vctrs",
    "crosstalk",
    "knitr",
    "callr",
    "promises",
    "xopen",
    "htmlwidgets",
    "openssl",
    "DT",
    "tibble",
    "httr",
    "pkgbuild",
    "rematch2",
    "rcmdcheck",
    "gh",
    "covr",
    "pkgload",
    "usethis",
    "waldo",
    "roxygen2",
    "testthat"
  ]
}
@Dreznel
Copy link
Contributor Author

Dreznel commented Dec 17, 2020

Update: It seems that when I switch to CRAN, pkgr correctly identifies the dependency, so this might be an MPN issue.

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