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

Can't determine installation order. #144

Closed
Howquez opened this issue Jun 14, 2023 · 3 comments
Closed

Can't determine installation order. #144

Howquez opened this issue Jun 14, 2023 · 3 comments

Comments

@Howquez
Copy link

Howquez commented Jun 14, 2023

Hi,

I am trying to run the following lines:

pacman::p_load(magrittr, data.table, stringr, lubridate, glue, haven, DescTools, censReg, stargazer, vtable, ggplot2, patchwork, Rmisc, knitr, rang)

packages <- pacman::p_loaded()

graph <- rang::resolve(pkgs = packages,
                       snapshot_date = '2023-06-14')

export_rang(graph, "DEPENDENCIES.R")

The last line yields the following error:

Error: Can't determine installation order. Please report the to the developers:
cran::DescTools

I hope that this is the correct form to report it. Let me know if you need more information.

so long,
Hauke

@chainsawriot
Copy link
Collaborator

@Howquez Thank you for your report. I can confirm the problem. A fixed version will be delivered soon.

packages <- c("magrittr", "data.table", "stringr", "lubridate", "glue", "haven", "DescTools", "censReg", "stargazer", "vtable", "ggplot2", "patchwork", "Rmisc", "knitr", "rang")

require(rang)
#> Loading required package: rang


graph <- rang::resolve(pkgs = packages, snapshot_date = '2023-06-14')

export_rang(graph, temp.file())
#> Error: Can't determine installation order. Please report this to the developers:
#> cran::DescTools

sessionInfo()
#> R version 4.3.0 (2023-04-21)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 22.04.2 LTS
#> 
#> Matrix products: default
#> BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0 
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       
#> 
#> time zone: Europe/Berlin
#> tzcode source: system (glibc)
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] rang_0.2.4
#> 
#> loaded via a namespace (and not attached):
#>  [1] vctrs_0.6.2       cli_3.6.1         knitr_1.43        rlang_1.1.1      
#>  [5] xfun_0.39         purrr_1.0.1       pkgsearch_3.1.2   styler_1.9.0     
#>  [9] jsonlite_1.8.5    glue_1.6.2        prettyunits_1.1.1 parsedate_1.3.1  
#> [13] rprojroot_2.0.3   htmltools_0.5.5   rmarkdown_2.22    R.cache_0.16.0   
#> [17] evaluate_0.21     fastmap_1.1.1     yaml_2.3.7        lifecycle_1.0.3  
#> [21] memoise_2.0.1     compiler_4.3.0    fs_1.6.2          here_1.0.1       
#> [25] R.oo_1.25.0       R.utils_2.12.2    digest_0.6.31     reprex_2.0.2     
#> [29] curl_5.0.1        magrittr_2.0.3    R.methodsS3_1.8.2 tools_4.3.0      
#> [33] withr_2.5.0       remotes_2.4.2     cachem_1.0.8

Created on 2023-06-14 with reprex v2.0.2

@Howquez
Copy link
Author

Howquez commented Jun 14, 2023

Thank you!

@chainsawriot
Copy link
Collaborator

@Howquez

Fixed. Please install the GitHub version.

remotes::install_github("chainsawriot/rang")

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

2 participants