diff --git a/dev/articles/pkgdepends-how-to.html b/dev/articles/pkgdepends-how-to.html index d01d4aed..d912b699 100644 --- a/dev/articles/pkgdepends-how-to.html +++ b/dev/articles/pkgdepends-how-to.html @@ -260,33 +260,33 @@

How to download a
 #>  Getting 22 pkgs (19.03 MB) and 5 pkgs with unknown sizes, 6 (1.74 MB) cached  
-#>  Got labeling 0.4.3 (source) (10.17 kB)                                        
 #>  Got fansi 1.0.6 (source) (482.48 kB)                                          
+#>  Got labeling 0.4.3 (source) (10.17 kB)                                        
 #>  Got magrittr 2.0.3 (source) (267.07 kB)                                       
 #>  Got pillar 1.9.0 (source) (444.53 kB)                                         
+#>  Got scales 1.3.0 (source) (302.54 kB)                                         
 #>  Got farver 2.1.2 (source) (1.28 MB)                                           
+#>  Got utf8 1.2.4 (source) (241.08 kB)                                           
 #>  Got nlme 3.1-166 (source) (847.67 kB)                                         
 #>  Got colorspace 2.1-1 (source) (2.14 MB)                                       
-#>  Got lattice 0.22-6 (source) (598.58 kB)                                       
-#>  Got vctrs 0.6.5 (source) (969.07 kB)                                          
 #>  Got RColorBrewer 1.1-3 (source) (11.64 kB)                                    
 #>  Got MASS 7.3-61 (source) (509.90 kB)                                          
-#>  Got utf8 1.2.4 (source) (241.08 kB)                                           
-#>  Got mgcv 1.9-1 (source) (1.08 MB)                                             
-#>  Got munsell 0.5.1 (source) (182.31 kB)                                        
-#>  Got Matrix 1.7-1 (source) (2.48 MB)                                           
-#>  Got MASS 7.3-61 (source) (509.90 kB)                                          
-#>  Got scales 1.3.0 (source) (302.54 kB)                                         
 #>  Got isoband 0.2.7 (source) (1.59 MB)                                          
+#>  Got Matrix 1.7-1 (source) (2.48 MB)                                           
+#>  Got munsell 0.5.1 (source) (182.31 kB)                                        
 #>  Got lattice 0.22-6 (source) (598.58 kB)                                       
-#>  Got gtable 0.3.6 (source) (148.15 kB)                                         
-#>  Got pkgconfig 2.0.3 (source) (6.08 kB)                                        
-#>  Got viridisLite 0.4.2 (source) (1.27 MB)                                      
-#>  Got tibble 3.2.1 (source) (565.98 kB)                                         
 #>  Got nlme 3.1-166 (source) (847.67 kB)                                         
-#>  Got mgcv 1.9-1 (source) (1.08 MB)                                             
 #>  Got Matrix 1.7-1 (source) (2.48 MB)                                           
+#>  Got pkgconfig 2.0.3 (source) (6.08 kB)                                        
+#>  Got tibble 3.2.1 (source) (565.98 kB)                                         
+#>  Got gtable 0.3.6 (source) (148.15 kB)                                         
+#>  Got MASS 7.3-61 (source) (509.90 kB)                                          
 #>  Got ggplot2 3.5.1 (source) (3.60 MB)                                          
+#>  Got vctrs 0.6.5 (source) (969.07 kB)                                          
+#>  Got lattice 0.22-6 (source) (598.58 kB)                                       
+#>  Got mgcv 1.9-1 (source) (1.08 MB)                                             
+#>  Got mgcv 1.9-1 (source) (1.08 MB)                                             
+#>  Got viridisLite 0.4.2 (source) (1.27 MB)                                      
 #> # A data frame: 33 × 40                                                         
 #>    ref    type  direct directpkg status package version license needscompilation
 #>    <chr>  <chr> <lgl>  <lgl>     <chr>  <chr>   <chr>   <chr>   <lgl>           
@@ -331,13 +331,13 @@ 

How to install a package in
 #>  No downloads are needed, 1 pkg (6.08 kB) is cached                            
 #>  Building pkgconfig 2.0.3                                                      
-#>  Built pkgconfig 2.0.3 (857ms)                                                 
-#>  Installed pkgconfig 2.0.3  (1s)                                               
-#>  Summary:   1 new  in 1.9s                                                     
+#>  Built pkgconfig 2.0.3 (869ms)                                                 
+#>  Installed pkgconfig 2.0.3  (24ms)                                             
+#>  Summary:   1 new  in 893ms                                                    
 #> # A data frame: 1 × 31                                                          
 #>   library        package title version license imports suggests needscompilation
 #>   <chr>          <chr>   <chr> <chr>   <chr>   <chr>   <chr>    <lgl>           
-#> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.3   MIT + … utils   covr, t… FALSE           
+#> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.3   MIT + … utils   covr, t… FALSE           
 #> # ℹ 23 more variables: repository <chr>, built <chr>, remotetype <chr>,         
 #> #   remotepkgref <chr>, remoteref <chr>, remoterepos <chr>,                     
 #> #   remotepkgplatform <chr>, remotesha <chr>, depends <chr>, linkingto <chr>,   
@@ -365,15 +365,15 @@ 

How to update a package?ℹ No downloads are needed, 1 pkg is cached #> Got pkgconfig 2.0.2 (source) (13.22 kB) #> Packaging pkgconfig 2.0.2 -#> Packaged pkgconfig 2.0.2 (472ms) +#> Packaged pkgconfig 2.0.2 (478ms) #> Building pkgconfig 2.0.2 -#> Built pkgconfig 2.0.2 (852ms) +#> Built pkgconfig 2.0.2 (877ms) #> Installed pkgconfig 2.0.2 (github::cran/pkgconfig@d892880) (1s) #> Summary: 1 new in 1.9s #> # A data frame: 1 × 32 #> library package title version license imports suggests needscompilation #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <lgl> -#> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.2 MIT + … utils covr, t… FALSE +#> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.2 MIT + … utils covr, t… FALSE #> # ℹ 24 more variables: repository <chr>, remotetype <chr>, remotehost <chr>, #> # remoterepo <chr>, remoteusername <chr>, remotepkgref <chr>, #> # remoteref <chr>, remotesha <chr>, built <chr>, depends <chr>, @@ -395,13 +395,13 @@

How to update a package? #> No downloads are needed, 1 pkg (6.08 kB) is cached #> Building pkgconfig 2.0.3 -#> Built pkgconfig 2.0.3 (846ms) +#> Built pkgconfig 2.0.3 (882ms) #> Installed pkgconfig 2.0.3 (1s) #> Summary: 1 updated in 1.9s #> # A data frame: 1 × 31 #> library package title version license imports suggests needscompilation #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <lgl> -#> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE +#> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE #> # ℹ 23 more variables: repository <chr>, built <chr>, remotetype <chr>, #> # remotepkgref <chr>, remoteref <chr>, remoterepos <chr>, #> # remotepkgplatform <chr>, remotesha <chr>, depends <chr>, linkingto <chr>, diff --git a/dev/index.html b/dev/index.html index 97c3831f..a74fafaa 100644 --- a/dev/index.html +++ b/dev/index.html @@ -177,9 +177,9 @@

Package installationℹ Packaging cli 3.6.3.9001 ## Packaged cli 3.6.3.9001 (1.2s) ## Building cli 3.6.3.9001 -## Built cli 3.6.3.9001 (8.7s) -## Installed cli 3.6.3.9001 (github::r-lib/cli@007c388) (1s) -## Summary: 1 new in 9.8s +## Built cli 3.6.3.9001 (8.3s) +## Installed cli 3.6.3.9001 (github::r-lib/cli@007c388) (34ms) +## Summary: 1 new in 8.3s

diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index 3d7fe8b6..6f274de7 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -3,7 +3,7 @@ pkgdown: 2.1.1 pkgdown_sha: ~ articles: pkgdepends-how-to: pkgdepends-how-to.html -last_built: 2024-12-15T11:59Z +last_built: 2024-12-15T15:57Z urls: reference: https://r-lib.github.io/pkgdepends/reference article: https://r-lib.github.io/pkgdepends/articles diff --git a/dev/reference/pkg_deps.html b/dev/reference/pkg_deps.html index 79d13bcc..cac9d52f 100644 --- a/dev/reference/pkg_deps.html +++ b/dev/reference/pkg_deps.html @@ -395,7 +395,7 @@

Examples#> #> ## metadata_cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da5fcee629" +#> [1] "/tmp/RtmpSpRxHi/file186c2d24c02a" #> #> ## platforms #> <default> @@ -411,11 +411,11 @@

Examples#> #> ## cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da6f66763" +#> [1] "/tmp/RtmpSpRxHi/file186c7ab65b1" #> #> ## library #> <set> -#> [1] "/tmp/RtmpI1G0pE/file18da5eab0e0e" +#> [1] "/tmp/RtmpSpRxHi/file186c7007792a" #> #> ## metadata_update_after #> <default> diff --git a/dev/reference/pkg_download_proposal.html b/dev/reference/pkg_download_proposal.html index 9ab23186..f1e6c690 100644 --- a/dev/reference/pkg_download_proposal.html +++ b/dev/reference/pkg_download_proposal.html @@ -348,7 +348,7 @@

Examples#> #> ## metadata_cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da702be8ec" +#> [1] "/tmp/RtmpSpRxHi/file186c350902ff" #> #> ## platforms #> <default> @@ -364,7 +364,7 @@

Examples#> #> ## cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da6f66763" +#> [1] "/tmp/RtmpSpRxHi/file186c7ab65b1" #> #> ## library #> <default> @@ -486,30 +486,30 @@

Examples#> Getting 13 pkgs (4.04 MB) and 15 pkgs with unknown sizes #> Cached copy of cli 3.6.3.9001 (source) is the latest build #> Got callr 3.7.6 (source) (104.36 kB) -#> Got filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (24.75 kB) #> Got desc 1.4.3 (source) (80.07 kB) -#> Got processx 3.8.4 (source) (163.98 kB) +#> Got ps 1.8.1 (source) (164.39 kB) +#> Got filelock 1.0.3 (source) (15.44 kB) #> Got cli 3.6.3 (source) (568.16 kB) -#> Got desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (334.41 kB) +#> Got filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (24.75 kB) +#> Got R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (83.25 kB) +#> Got pkgbuild 1.4.5 (source) (48.10 kB) #> Got lpSolve 5.6.23 (source) (467.59 kB) -#> Got filelock 1.0.3 (source) (15.44 kB) -#> Got callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) (445.43 kB) -#> Got lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) (374.02 kB) -#> Got ps 1.8.1 (source) (164.39 kB) +#> Got desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (334.41 kB) #> Got pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (203.40 kB) -#> Got R6 2.5.1 (source) (63.42 kB) -#> Got pkgbuild 1.4.5 (source) (48.10 kB) #> Got curl 6.0.1 (source) (932.72 kB) -#> Got pkgcache 2.2.3 (source) (266.66 kB) +#> Got R6 2.5.1 (source) (63.42 kB) +#> Got callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) (445.43 kB) +#> Got processx 3.8.4 (source) (163.98 kB) #> Got zip 2.3.1 (source) (111.28 kB) +#> Got pkgcache 2.2.3 (source) (266.66 kB) #> Got curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (783.82 kB) -#> Got ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (486.48 kB) -#> Got R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (83.25 kB) +#> Got lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) (374.02 kB) +#> Got jsonlite 1.8.9 (source) (1.06 MB) #> Got processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (444.53 kB) -#> Got cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.30 MB) #> Got jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.09 MB) +#> Got cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.30 MB) #> Got pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (921.54 kB) -#> Got jsonlite 1.8.9 (source) (1.06 MB) +#> Got ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (486.48 kB) #> Got zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (636.87 kB) #> Got pkgdepends 0.8.0.9000 (source) (1.70 MB) pdl$get_downloads() @@ -539,25 +539,25 @@

Examplespdl$download() #> Getting 7 pkgs (2.45 MB) and 14 pkgs with unknown sizes, 7 (1.19 MB) cached #> Got lifecycle 1.0.4 (source) (107.66 kB) +#> Got glue 1.8.0 (source) (126.68 kB) +#> Got rprojroot 2.0.4 (source) (59.95 kB) +#> Got pkgload 1.4.0 (source) (85.66 kB) #> Cached copy of callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build -#> Got rprojroot 2.0.4 (source) (59.95 kB) #> Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build -#> Got glue 1.8.0 (source) (126.68 kB) -#> Got pkgload 1.4.0 (source) (85.66 kB) #> Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build +#> Got withr 3.0.2 (source) (103.24 kB) #> Got lifecycle 1.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (125.14 kB) +#> Got rprojroot 2.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (107.18 kB) #> Got glue 1.8.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (168.32 kB) #> Got pkgload 1.4.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (217.65 kB) -#> Got rprojroot 2.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (107.18 kB) #> Got fs 1.6.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (310.00 kB) -#> Got withr 3.0.2 (source) (103.24 kB) -#> Got withr 3.0.2 (x86_64-pc-linux-gnu-ubuntu-22.04) (223.69 kB) #> Got rlang 1.1.4 (source) (767.04 kB) #> Got fs 1.6.5 (source) (1.20 MB) +#> Got withr 3.0.2 (x86_64-pc-linux-gnu-ubuntu-22.04) (223.69 kB) #> Got rlang 1.1.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.60 MB) pdl$get_downloads() #> # A data frame: 28 × 40 @@ -606,14 +606,14 @@

Examples#> Cached copy of curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build +#> Cached copy of jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build +#> Cached copy of pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build -#> Cached copy of jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build -#> Cached copy of zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build -#> Cached copy of pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build +#> Cached copy of zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build pdl #> <pkg_download_proposal> #> + refs: diff --git a/dev/reference/pkg_installation_proposal.html b/dev/reference/pkg_installation_proposal.html index 7cf9e0f0..f1774e5e 100644 --- a/dev/reference/pkg_installation_proposal.html +++ b/dev/reference/pkg_installation_proposal.html @@ -569,7 +569,7 @@

Examplespdi <- new_pkg_installation_proposal( "r-lib/pkgdepends", config = list(library = tempfile())) -#> Creating library directory: /tmp/RtmpI1G0pE/file18da29860c17 +#> Creating library directory: /tmp/RtmpSpRxHi/file186c356b3bac pdi #> <pkg_installation_proposal> #> + refs: @@ -583,7 +583,7 @@

Examples "pak", config = list(library = tempfile()) ) -#> Creating library directory: /tmp/RtmpI1G0pE/file18da567a49af +#> Creating library directory: /tmp/RtmpSpRxHi/file186cadc685d pdi$get_config() #> # pkg config #> ## build_vignettes @@ -600,7 +600,7 @@

Examples#> #> ## metadata_cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da7fe6e6ab" +#> [1] "/tmp/RtmpSpRxHi/file186c3ee1f855" #> #> ## platforms #> <default> @@ -616,11 +616,11 @@

Examples#> #> ## cache_dir #> <default> -#> [1] "/tmp/RtmpI1G0pE/file18da6f66763" +#> [1] "/tmp/RtmpSpRxHi/file186c7ab65b1" #> #> ## library #> <set> -#> [1] "/tmp/RtmpI1G0pE/file18da567a49af" +#> [1] "/tmp/RtmpSpRxHi/file186cadc685d" #> #> ## metadata_update_after #> <default> @@ -712,7 +712,7 @@

Examples "r-lib/pkgdepends", config = list(library = tempfile()) ) -#> Creating library directory: /tmp/RtmpI1G0pE/file18da236657aa +#> Creating library directory: /tmp/RtmpSpRxHi/file186c141b9f3d pdi$get_solve_policy() #> [1] "lazy" pdi$set_solve_policy("upgrade") @@ -722,7 +722,7 @@

Examples "r-lib/pkgdepends", config = list(library = tempfile()) ) -#> Creating library directory: /tmp/RtmpI1G0pE/file18da3d89f206 +#> Creating library directory: /tmp/RtmpSpRxHi/file186c1bab60b0 pdi$get_solve_policy() #> [1] "lazy" pdi$set_solve_policy("upgrade") @@ -812,7 +812,7 @@

Examples "pak", config = list(library = tempfile()) ) -#> Creating library directory: /tmp/RtmpI1G0pE/file18da268602b5 +#> Creating library directory: /tmp/RtmpSpRxHi/file186c73c470f1 pdi #> <pkg_installation_proposal> #> + refs: diff --git a/dev/search.json b/dev/search.json index 3adde0dd..2129030b 100644 --- a/dev/search.json +++ b/dev/search.json @@ -1 +1 @@ -[{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement codeofconduct@posit.co. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.1, available https://www.contributor-covenant.org/version/2/1/code_of_conduct.html. Community Impact Guidelines inspired [Mozilla’s code conduct enforcement ladder][https://github.com/mozilla/inclusion]. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2023 pkgdepends authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-cranbioconductor-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a CRAN/Bioconductor package?","title":"pkgdepends HOWTO","text":"can also draw dependency tree:","code":"library(pkgdepends) prop <- new_pkg_deps(\"ggplot2\") prop$solve() prop$get_solution()$data #> ✔ Loading metadata database ... done #> # A data frame: 28 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 2 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 3 fansi stan… FALSE FALSE OK fansi 1.0.6 GPL-2 … TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 ggplo… stan… TRUE TRUE OK ggplot2 3.5.1 MIT + … FALSE #> 6 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 7 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 8 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 9 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 10 lifec… stan… FALSE FALSE OK lifecy… 1.0.4 MIT + … FALSE #> # ℹ 18 more rows #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , … #> # ℹ Use `print(n = ...)` to see more rows prop$draw() #> ggplot2 3.5.1 [new][bld][dl] (3.60 MB) #> ├─cli 3.6.3 [new][bld][cmp] #> ├─glue 1.8.0 [new][bld][cmp] #> ├─gtable 0.3.6 [new][bld][dl] (148.15 kB) #> │ ├─cli #> │ ├─glue #> │ ├─lifecycle 1.0.4 [new][bld] #> │ │ ├─cli #> │ │ ├─glue #> │ │ └─rlang 1.1.4 [new][bld][cmp] #> │ └─rlang #> ├─isoband 0.2.7 [new][bld][cmp][dl] (1.59 MB) #> ├─lifecycle #> ├─MASS 7.3-61 #> ├─mgcv 1.9-1 #> │ ├─nlme 3.1-166 #> │ │ └─lattice 0.22-6 #> │ └─Matrix 1.7-1 #> │ └─lattice #> ├─rlang #> ├─scales 1.3.0 [new][bld][cmp][dl] (302.54 kB) #> │ ├─cli #> │ ├─farver 2.1.2 [new][bld][cmp][dl] (1.28 MB) #> │ ├─glue #> │ ├─labeling 0.4.3 [new][bld][dl] (10.17 kB) #> │ ├─lifecycle #> │ ├─munsell 0.5.1 [new][bld][dl] (182.31 kB) #> │ │ └─colorspace 2.1-1 [new][bld][cmp][dl] (2.14 MB) #> │ ├─R6 2.5.1 [new][bld] #> │ ├─RColorBrewer 1.1-3 [new][bld][dl] (11.64 kB) #> │ ├─rlang #> │ └─viridisLite 0.4.2 [new][bld][dl] (1.27 MB) #> ├─tibble 3.2.1 [new][bld][cmp][dl] (565.98 kB) #> │ ├─fansi 1.0.6 [new][bld][cmp][dl] (482.48 kB) #> │ ├─lifecycle #> │ ├─magrittr 2.0.3 [new][bld][cmp][dl] (267.07 kB) #> │ ├─pillar 1.9.0 [new][bld][dl] (444.53 kB) #> │ │ ├─cli #> │ │ ├─fansi #> │ │ ├─glue #> │ │ ├─lifecycle #> │ │ ├─rlang #> │ │ ├─utf8 1.2.4 [new][bld][cmp][dl] (241.08 kB) #> │ │ └─vctrs 0.6.5 [new][bld][cmp][dl] (969.07 kB) #> │ │ ├─cli #> │ │ ├─glue #> │ │ ├─lifecycle #> │ │ └─rlang #> │ ├─pkgconfig 2.0.3 [new][bld][dl] (6.08 kB) #> │ ├─rlang #> │ └─vctrs #> ├─vctrs #> └─withr 3.0.2 [new][bld] #> #> Key: [new] new | [dl] download | [bld] build | [cmp] compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-github-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a GitHub package?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) prop <- new_pkg_deps(\"tidyverse/ggplot2\") prop$solve() prop$get_solution()$data #> # A data frame: 17 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 tidyv… gith… TRUE TRUE OK ggplot2 3.5.1.… MIT + … TRUE #> 2 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 3 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 6 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 7 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 8 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 9 lifec… stan… FALSE FALSE OK lifecy… 1.0.4 MIT + … FALSE #> 10 munse… stan… FALSE FALSE OK munsell 0.5.1 MIT + … FALSE #> 11 R6 stan… FALSE FALSE OK R6 2.5.1 MIT + … FALSE #> 12 RColo… stan… FALSE FALSE OK RColor… 1.1-3 Apache… FALSE #> 13 rlang stan… FALSE FALSE OK rlang 1.1.4 MIT + … TRUE #> 14 scales stan… FALSE FALSE OK scales 1.3.0 MIT + … TRUE #> 15 vctrs stan… FALSE FALSE OK vctrs 0.6.5 MIT + … TRUE #> 16 virid… stan… FALSE FALSE OK viridi… 0.4.2 MIT + … FALSE #> 17 withr stan… FALSE FALSE OK withr 3.0.2 MIT + … FALSE #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , #> # sysreqs_post_install , sysreqs_install , lib_status , …"},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-local-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a local package?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) prop <- new_pkg_deps(\"local::.\") prop$solve() prop$get_solution()$data #> # A data frame: 14 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 local… local TRUE TRUE OK pkgdep… 0.8.0.… MIT + … NA #> 2 callr stan… FALSE FALSE OK callr 3.7.6 MIT + … FALSE #> 3 curl stan… FALSE FALSE OK curl 6.0.1 MIT + … TRUE #> 4 desc stan… FALSE FALSE OK desc 1.4.3 MIT + … FALSE #> 5 filel… stan… FALSE FALSE OK filelo… 1.0.3 MIT + … TRUE #> 6 jsonl… stan… FALSE FALSE OK jsonli… 1.8.9 MIT + … TRUE #> 7 lpSol… stan… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 TRUE #> 8 pkgbu… stan… FALSE FALSE OK pkgbui… 1.4.5 MIT + … FALSE #> 9 pkgca… stan… FALSE FALSE OK pkgcac… 2.2.3 MIT + … TRUE #> 10 proce… stan… FALSE FALSE OK proces… 3.8.4 MIT + … TRUE #> 11 ps stan… FALSE FALSE OK ps 1.8.1 MIT + … TRUE #> 12 R6 stan… FALSE FALSE OK R6 2.5.1 MIT + … FALSE #> 13 zip stan… FALSE FALSE OK zip 2.3.1 MIT + … TRUE #> 14 r-lib… gith… FALSE FALSE OK cli 3.6.3.… MIT + … TRUE #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , #> # sysreqs_post_install , sysreqs_install , lib_status , …"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-download-a-package-and-all-of-its-dependencies","dir":"Articles","previous_headings":"Downloads","what":"How to download a package and all of its dependencies?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) target_dir <- tempfile() dir.create(target_dir) prop <- new_pkg_download_proposal(\"ggplot2\", config = list(cache_dir = target_dir)) prop$resolve() prop$download() prop$get_downloads() dir(target_dir) #> ℹ Getting 22 pkgs (19.03 MB) and 5 pkgs with unknown sizes, 6 (1.74 MB) cached #> ✔ Got labeling 0.4.3 (source) (10.17 kB) #> ✔ Got fansi 1.0.6 (source) (482.48 kB) #> ✔ Got magrittr 2.0.3 (source) (267.07 kB) #> ✔ Got pillar 1.9.0 (source) (444.53 kB) #> ✔ Got farver 2.1.2 (source) (1.28 MB) #> ✔ Got nlme 3.1-166 (source) (847.67 kB) #> ✔ Got colorspace 2.1-1 (source) (2.14 MB) #> ✔ Got lattice 0.22-6 (source) (598.58 kB) #> ✔ Got vctrs 0.6.5 (source) (969.07 kB) #> ✔ Got RColorBrewer 1.1-3 (source) (11.64 kB) #> ✔ Got MASS 7.3-61 (source) (509.90 kB) #> ✔ Got utf8 1.2.4 (source) (241.08 kB) #> ✔ Got mgcv 1.9-1 (source) (1.08 MB) #> ✔ Got munsell 0.5.1 (source) (182.31 kB) #> ✔ Got Matrix 1.7-1 (source) (2.48 MB) #> ✔ Got MASS 7.3-61 (source) (509.90 kB) #> ✔ Got scales 1.3.0 (source) (302.54 kB) #> ✔ Got isoband 0.2.7 (source) (1.59 MB) #> ✔ Got lattice 0.22-6 (source) (598.58 kB) #> ✔ Got gtable 0.3.6 (source) (148.15 kB) #> ✔ Got pkgconfig 2.0.3 (source) (6.08 kB) #> ✔ Got viridisLite 0.4.2 (source) (1.27 MB) #> ✔ Got tibble 3.2.1 (source) (565.98 kB) #> ✔ Got nlme 3.1-166 (source) (847.67 kB) #> ✔ Got mgcv 1.9-1 (source) (1.08 MB) #> ✔ Got Matrix 1.7-1 (source) (2.48 MB) #> ✔ Got ggplot2 3.5.1 (source) (3.60 MB) #> # A data frame: 33 × 40 #> ref type direct directpkg status package version license needscompilation #> #> 1 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 2 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 3 fansi stan… FALSE FALSE OK fansi 1.0.6 GPL-2 … TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 ggplo… stan… TRUE TRUE OK ggplot2 3.5.1 MIT + … FALSE #> 6 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 7 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 8 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 9 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 10 latti… stan… FALSE FALSE OK lattice 0.22-6 GPL (>… TRUE #> # ℹ 23 more rows #> # ℹ 31 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , … #> # ℹ Use `print(n = ...)` to see more rows #> [1] \"src\""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-install-a-package-into-a-new-library","dir":"Articles","previous_headings":"Installation","what":"How to install a package into a new library?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) dir.create(new_lib <- tempfile()) prop <- new_pkg_installation_proposal(\"pkgconfig\", config = list(library = new_lib)) prop$solve() prop$download() prop$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg (6.08 kB) is cached #> ℹ Building pkgconfig 2.0.3 #> ✔ Built pkgconfig 2.0.3 (857ms) #> ✔ Installed pkgconfig 2.0.3 (1s) #> ✔ Summary: 1 new in 1.9s #> # A data frame: 1 × 31 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE #> # ℹ 23 more variables: repository , built , remotetype , #> # remotepkgref , remoteref , remoterepos , #> # remotepkgplatform , remotesha , depends , linkingto , #> # enhances , md5sum , platform , priority , #> # biocviews , sysreqs , ref , type , status , #> # rversion , sources , repotype , deps "},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-update-a-package","dir":"Articles","previous_headings":"Installation","what":"How to update a package?","title":"pkgdepends HOWTO","text":"Install older version first. Now update.","code":"library(pkgdepends) dir.create(new_lib <- tempfile()) config <- list(library = new_lib) prop <- new_pkg_installation_proposal(\"cran/pkgconfig@2.0.2\", config = config) prop$solve() prop$download() prop$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg is cached #> ✔ Got pkgconfig 2.0.2 (source) (13.22 kB) #> ℹ Packaging pkgconfig 2.0.2 #> ✔ Packaged pkgconfig 2.0.2 (472ms) #> ℹ Building pkgconfig 2.0.2 #> ✔ Built pkgconfig 2.0.2 (852ms) #> ✔ Installed pkgconfig 2.0.2 (github::cran/pkgconfig@d892880) (1s) #> ✔ Summary: 1 new in 1.9s #> # A data frame: 1 × 32 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.2 MIT + … utils covr, t… FALSE #> # ℹ 24 more variables: repository , remotetype , remotehost , #> # remoterepo , remoteusername , remotepkgref , #> # remoteref , remotesha , built , depends , #> # linkingto , enhances , md5sum , platform , #> # priority , biocviews , sysreqs , ref , type , #> # status , rversion , sources , repotype , deps library(pkgdepends) prop2 <- new_pkg_installation_proposal(\"pkgconfig\", config = config) prop2$set_solve_policy(\"upgrade\") prop2$solve() prop2$download() prop2$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg (6.08 kB) is cached #> ℹ Building pkgconfig 2.0.3 #> ✔ Built pkgconfig 2.0.3 (846ms) #> ✔ Installed pkgconfig 2.0.3 (1s) #> ✔ Summary: 1 updated in 1.9s #> # A data frame: 1 × 31 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpEu3b… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE #> # ℹ 23 more variables: repository , built , remotetype , #> # remotepkgref , remoteref , remoterepos , #> # remotepkgplatform , remotesha , depends , linkingto , #> # enhances , md5sum , platform , priority , #> # biocviews , sysreqs , ref , type , status , #> # rversion , sources , repotype , deps "},{"path":"https://r-lib.github.io/pkgdepends/dev/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Gábor Csárdi. Author, maintainer. . Copyright holder, funder.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Csárdi G (2024). pkgdepends: Package Dependency Resolution Downloads. R package version 0.8.0.9000, https://github.com/r-lib/pkgdepends, https://r-lib.github.io/pkgdepends/.","code":"@Manual{, title = {pkgdepends: Package Dependency Resolution and Downloads}, author = {Gábor Csárdi}, year = {2024}, note = {R package version 0.8.0.9000, https://github.com/r-lib/pkgdepends}, url = {https://r-lib.github.io/pkgdepends/}, }"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"pkgdepends","dir":"","previous_headings":"","what":"Package Dependency Resolution and Downloads","title":"Package Dependency Resolution and Downloads","text":"Package Dependency Resolution, Downloads Installation pkgdepends toolkit package dependencies, downloads installations, used packages. looking package manager, see pak.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"features","dir":"","previous_headings":"","what":"Features","title":"Package Dependency Resolution and Downloads","text":"Look package dependencies recursively. Visualize package dependencies. Download packages dependencies. Install downloaded packages. Includes dependency solver find consistent set dependencies. Supports CRAN Bioconductor packages automatically. Supports packages GitHub GitLab. Supports packages git repositories. Supports package bundles files web. Supports local package file trees. Supports Remotes entry DESCRIPTION file. Caches metadata downloaded packages via pkgcache Performs downloads HTTP queries concurrently. Builds installs packages parallel.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"install","dir":"","previous_headings":"","what":"Install","title":"Package Dependency Resolution and Downloads","text":"Install package : need development version, install ","code":"install.packages(\"pkgdepends\") pak::pak(\"r-lib/pkgdepends\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Package Dependency Resolution and Downloads","text":"","code":"library(pkgdepends)"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-references","dir":"","previous_headings":"","what":"Package references","title":"Package Dependency Resolution and Downloads","text":"package reference (ref) specifies location R package can obtained . Examples: See “Package references” details.","code":"devtools cran::devtools bioc::Biobase r-lib/pkgdepends https://github.com/r-lib/pkgdepends local::~/works/shiny"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-dependencies","dir":"","previous_headings":"","what":"Package dependencies","title":"Package Dependency Resolution and Downloads","text":"Dependencies development version cli package: See pkg_deps class details.","code":"pd <- new_pkg_deps(\"r-lib/pkgcache\") pd$solve() pd$draw() ## ✔ Updated metadata database: 3.07 MB in 8 files. ## ✔ Updating metadata database ... done ## r-lib/pkgcache 2.2.3.9000 [new][bld][cmp][dl] (unknown size) ## ├─callr 3.7.6 [new][bld][dl] (104.36 kB) ## │ ├─processx 3.8.4 [new][bld][cmp][dl] (163.98 kB) ## │ │ ├─ps 1.8.1 [new][bld][cmp][dl] (164.39 kB) ## │ │ └─R6 2.5.1 [new][bld][dl] (63.42 kB) ## │ └─R6 ## ├─cli 3.6.3 [new][bld][cmp][dl] (568.16 kB) ## ├─curl 6.0.1 [new][bld][cmp][dl] (932.72 kB) ## ├─filelock 1.0.3 [new][bld][cmp][dl] (15.44 kB) ## ├─jsonlite 1.8.9 [new][bld][cmp][dl] (1.06 MB) ## ├─processx ## └─R6 ## ## Key: [new] new | [dl] download | [bld] build | [cmp] compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-downloads","dir":"","previous_headings":"","what":"Package downloads","title":"Package Dependency Resolution and Downloads","text":"Downloading dependencies package: See pkg_download_proposal class details.","code":"pdl <- new_pkg_download_proposal(\"r-lib/cli\") pdl$resolve() pdl$download() ## ℹ Getting 1 pkg with unknown size ## ✔ Got cli 3.6.3.9001 (source) (840.19 kB)"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-installation","dir":"","previous_headings":"","what":"Package installation","title":"Package Dependency Resolution and Downloads","text":"Installing updating set package:","code":"lib <- tempfile() dir.create(lib) pdi <- new_pkg_installation_proposal( \"r-lib/cli\", config = list(library = lib) ) pdi$solve() pdi$download() pdi$install() ## ℹ Getting 1 pkg with unknown size ## ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build ## ℹ Packaging cli 3.6.3.9001 ## ✔ Packaged cli 3.6.3.9001 (1.2s) ## ℹ Building cli 3.6.3.9001 ## ✔ Built cli 3.6.3.9001 (8.7s) ## ✔ Installed cli 3.6.3.9001 (github::r-lib/cli@007c388) (1s) ## ✔ Summary: 1 new in 9.8s"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"dependency-resolution","dir":"","previous_headings":"","what":"Dependency resolution","title":"Package Dependency Resolution and Downloads","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references. See “Dependency resolution” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"the-dependency-solver","dir":"","previous_headings":"","what":"The dependency solver","title":"Package Dependency Resolution and Downloads","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied. See “dependency solver” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"installation-plans","dir":"","previous_headings":"","what":"Installation plans","title":"Package Dependency Resolution and Downloads","text":"pkg_installation_proposal can create installation plans, also install . also possible import installation plans created tools. See “Installation plans” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"configuration","dir":"","previous_headings":"","what":"Configuration","title":"Package Dependency Resolution and Downloads","text":"details pkg_deps, pkg_download_proposal pkg_installation_proposal can tuned list configuration options. See “Configuration” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"related","dir":"","previous_headings":"","what":"Related","title":"Package Dependency Resolution and Downloads","text":"pak – R package manager pkgcache – Metadata package cache devtools – Tools R package developers","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"code-of-conduct","dir":"","previous_headings":"","what":"Code of Conduct","title":"Package Dependency Resolution and Downloads","text":"Please note pkgdepends project released Contributor Code Conduct. contributing project, agree abide terms.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"license","dir":"","previous_headings":"","what":"License","title":"Package Dependency Resolution and Downloads","text":"MIT (c) RStudio","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":null,"dir":"Reference","previous_headings":"","what":"Shorthands for dependency specifications — as_pkg_dependencies","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"Shorthands dependency specifications","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"","code":"as_pkg_dependencies(deps)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"deps See .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"named list two character vectors: direct, indirect, dependency types use direct installations dependent packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"R packages may various types dependencies, see Writing R Extensions. pkgdepends groups dependencies three groups: hard dependencies: \"Depends\", \"Imports\", \"LinkingTo\", soft dependencies: \"Suggests\" \"Enhances\", extra dependencies, see . pkgdepends supports concise ways specifying types dependencies package installed. similar utils::install.packages() interprets dependencies argument. typically use one values: NA \"hard\" install package required dependencies, TRUE install required dependencies, plus optional development dependencies. need flexibility, full description possible values deps argument : TRUE: means hard dependencies plus Suggests direct installations, hard dependencies dependent packages. FALSE: dependencies installed . NA (atomic type, NA_character_, etc. well): hard dependencies installed. See pkg_dep_types_hard(). list two entries named direct indirect, taken requested dependency types, direct installations dependent packages. character vector, taken dependency types direct installations, hard dependencies used dependent packages. \"hard\" included value list element, replaced hard dependency types. \"soft\" \"\" included, replaced hard soft dependency.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"extra-dependencies","dir":"Reference","previous_headings":"","what":"Extra dependencies","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"pkgdepends supports extra dependency types direct installations CRAN-like repositories. specified Config/Needs/ prefix DESCRIPTION can contain package references, separated commas. example can specify packages needed pkgdown website package: use dependency types, need specify deps argument pkgdepends functions. Note Config/Needs/* fields currently used CRAN packages, packages CRAN-like repositories general. Usually specify Config/Needs/* dependency type installed together \"hard\" \"\", install hard soft dependencies well.","code":"Config/Needs/website: r-lib/pkgdown"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":null,"dir":"Reference","previous_headings":"","what":"Package configuration (internals) — config","title":"Package configuration (internals) — config","text":"Internal machinery pkgdepends configuration. See current_config() machinery can used define configuration package. standalone file can copied another package without changes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"config"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Package configuration (internals) — config","text":"config list functions closure. can use two ways. one set configuration values package, include .onLoad(): _multiple _ sets configuration values (e.g. one per object), include function like package: call current_config() every time need create new set configuration values.","code":"conf <- config$new(\"prefix\") conf$add(\"myenrry\", \"string\", \"default-value\") ... conf$lock() current_config <- function() { conf <- config$new(\"prefix\") conf$add(\"myentry\", \"string\", \"default-value\") ... conf$lock() conf }"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-entry-or-entry-","dir":"Reference","previous_headings":"","what":"Config entry (or entry)","title":"Package configuration (internals) — config","text":"single configurable entity. config entry name. name always standardized replacing dashes underscores. config entry type: string, flag, user defined type. can also default value. Examples: URL API, can string. Path directory use caching, either string, NULL (string_or_null type). Number processor cores use, positive integer (count type).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"configuration-or-config-","dir":"Reference","previous_headings":"","what":"Configuration (or config)","title":"Package configuration (internals) — config","text":"set configuration entries. config$new() returns configuration. configuration can extended adding new entries , locked.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"r-option-or-option-","dir":"Reference","previous_headings":"","what":"R option (or option)","title":"Package configuration (internals) — config","text":"option set base::options() queried base::getOption().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"configuration-prefix","dir":"Reference","previous_headings":"","what":"Configuration prefix","title":"Package configuration (internals) — config","text":"prefix typically package specific, used config entries package, avoid environment variable option name clashes packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-entry-type","dir":"Reference","previous_headings":"","what":"Config entry type","title":"Package configuration (internals) — config","text":"defines allowed values configuration entries, also string environment variable translated value entry. See list builtin types . can also define new types.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"string","dir":"Reference","previous_headings":"","what":"string","title":"Package configuration (internals) — config","text":"String scalar, NA allowed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"count","dir":"Reference","previous_headings":"","what":"count","title":"Package configuration (internals) — config","text":"Non-negative integer, NA allowed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"flag","dir":"Reference","previous_headings":"","what":"flag","title":"Package configuration (internals) — config","text":"Logical scalar, NA allowed. environment variables TRUE values : yes, true, 1 , FALSE values : , false, 0, . (case insensitive.)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"string-or-null","dir":"Reference","previous_headings":"","what":"string_or_null","title":"Package configuration (internals) — config","text":"String NULL. NA allowed. environment variables string NULL means R NULL value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"character","dir":"Reference","previous_headings":"","what":"character","title":"Package configuration (internals) — config","text":"Character vector without NA values. environment variables entries separated semicolon.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"custom","dir":"Reference","previous_headings":"","what":"custom","title":"Package configuration (internals) — config","text":"Custom type. env_decode function must specified config entry type, otherwise error throw corresponding environment variable set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-onload-hook-pretty-printing-configuration","dir":"Reference","previous_headings":"","what":"config$onload_hook(): pretty-printing configuration","title":"Package configuration (internals) — config","text":"Call config$onload_hook() package's .onLoad() function want define S3 methods print package configuration nicer.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"config$onload_hook()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-new-create-a-new-configuration","dir":"Reference","previous_headings":"","what":"config$new(): Create a new configuration","title":"Package configuration (internals) — config","text":"Typically new() called outside functions package, config object created install time.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf <- config$new(prefix = utils::packageName(parent.frame()))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"prefix: prefix config entry names. environment variables converted uppercase, dots converted underscores. default prefix name calling package. underscore separator used prefix entry name environment variable names. dot separator used R option names.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"new() returns config object, list containing configuration data functions (methods) query change .","code":"conf <- config$new()"},{"path":[]},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$add( name, type = conf$types, default = NULL, check = type[1], env_decode = type[1] )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry. type: type entry, string. default: default value config entry. function, called generate default, time config entry's value queried. check: function, called check value entry. function return TRUE successful FALSE unsuccessful checks. NULL, check performed. can also name type, default check type performed, . env_decode: function, used decode value entry environment variable, .e. string. can also name type, env_decode() function type used decoding.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-1","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$get(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-2","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Value entry. entry set via conf$set() conf$update(), value returned. Otherwise, entry set via R option (see base::getOption()), value returned. config prefix used get option name, dot separator. .e. entry called 'foo', prefix 'pkg', pkg.foo option used. entry check function, called returning. Otherwise, entry set via environment variable, value returned. config prefix used get name environment variable. addition, dots replaced underscores name converted uppercase. .e. entry called 'foo.bar', prefix 'pkg', 'PKG_FOO_BAR` environment variable used. Otherwise, entry default value, returned. default value might function, case function called produce default value. entry check function, called returning.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-set-set-the-value-of-a-configuration-entry","dir":"Reference","previous_headings":"","what":"conf$set(): set the value of a configuration entry","title":"Package configuration (internals) — config","text":"$set() config entry, value used $set() returned $get(), without consulting R options environment variables.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$set(name, value)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry. value: value entry. entry check function, called .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-3","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"-conf-unset-unset-a-configuration-entry","dir":"Reference","previous_headings":"","what":"$conf$unset(): unset a configuration entry","title":"Package configuration (internals) — config","text":"Note function unset R options environment variables. merely removes value assigned $set() $update().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$unset(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-4","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"cond-update-update-the-values-of-configuration-entries","dir":"Reference","previous_headings":"","what":"cond$update(): update the values of configuration entries","title":"Package configuration (internals) — config","text":"can use method set()/$unset()multiple config entries.NULLvalues innew` unset corresponding entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$update(new)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"new: named list, names config entry names values corresponding config entry values. NULL values unset config entry. list processed sequentially, duplicates latest values effect. (every value checked check function, .)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-5","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-list-query-the-names-of-all-config-entries","dir":"Reference","previous_headings":"","what":"conf$list(): query the names of all config entries","title":"Package configuration (internals) — config","text":"Note order non-deterministic currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$list()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-6","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Character vector.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$exists(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-6","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-7","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Logical scalar, TRUE entry exists configuration, FALSE otherwise. Note TRUE mean value entry set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-lock-lock-the-configuration","dir":"Reference","previous_headings":"","what":"conf$lock(): lock the configuration","title":"Package configuration (internals) — config","text":"configuration locked, entries can added .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$lock()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-8","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-fix-fix-the-value-of-a-single-configuration-entry","dir":"Reference","previous_headings":"","what":"conf$fix(): fix the value of a single configuration entry","title":"Package configuration (internals) — config","text":"currently $set() value fixed changed . can fix entry without setting value, case R options environment variables can still used update .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$unset(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-7","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-9","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-add-type-add-a-new-config-entry-type-to-a-configuration","dir":"Reference","previous_headings":"","what":"conf$add_type(): add a new config entry type to a configuration","title":"Package configuration (internals) — config","text":"new type can used conf$add() calls.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$add_type(type_name, check, env_decode)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-8","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"type_name: type name. check: default check function type. Use NULL checks. env_decode: function use decode value type environment variable (.e. string).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-10","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":null,"dir":"Reference","previous_headings":"","what":"R platforms — current_r_platform","title":"R platforms — current_r_platform","text":"default_platfoms() returns default platforms current R session. typically consist detected platform current R session, \"source\", source packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R platforms — current_r_platform","text":"","code":"current_r_platform() default_platforms()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R platforms — current_r_platform","text":"current_r_platform() returns string, name current platform. default_platforms() returns character vector platform names.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R platforms — current_r_platform","text":"current_r_platform() detects platform current R version. default pkgdepends works source packages binary packages current platform. can change , see 'Configuration'. following platform names can configured returned current_r_platform() default_platforms(): \"source\" source packages, platform string like R.version$platform, Linux name version distribution also included. Examples: x86_64-apple-darwin17.0: macOS High Sierra. aarch64-apple-darwin20: macOS Big Sur arm64. x86_64-w64-mingw32: 64 bit Windows. i386-w64-mingw32: 32 bit Windows. i386+x86_64-w64-mingw32: 64 bit + 32 bit Windows. i386-pc-solaris2.10: 32 bit Solaris. (broken 64 Solaris builds might platform string, unfortunately.) x86_64-pc-linux-gnu-debian-10: Debian Linux 10 x86_64. x86_64-pc-linux-musl-alpine-3.14.1: Alpine Linux. x86_64-pc-linux-gnu-unknown: Unknown Linux Distribution x86_64. s390x-ibm-linux-gnu-ubuntu-20.04: Ubuntu Linux 20.04 S390x. amd64-portbld-freebsd12.1: FreeBSD 12.1 x86_64. addition, following platform names can used configure pkgdepends: \"macos\" macOS binaries appropriate R versions pkgdepends working (defaulting version current session), defined CRAN binaries. E.g. R 3.5.0 macOS binaries built macOS El Capitan. \"windows\" Windows binaries default CRAN architecture. currently Windows Vista supported R versions, might change future. actual binary packages repository might support 32 bit 64 builds, one . practice 32-bit packages rare. CRAN builds including R 4.1 architectures, R 4.2 64 bit . \"windows\" alias i386+x86_64-w64-mingw32 currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R platforms — current_r_platform","text":"","code":"current_r_platform() #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" default_platforms() #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":null,"dir":"Reference","previous_headings":"","what":"GitHub Releases — ghr","title":"GitHub Releases — ghr","text":"Functions query manipulate GitHub releases. functions currently experimental.","code":""},{"path":[]},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$list() lists last 100 releases GitHub repository. ghr$async_list() async version ghr$list().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$list(repo) ghr$async_list(repo)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\".","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Data frame columns: id: release id, name: release name, usually version number, possibly v prefix: 3.6.1 v3.6.1, can different. tag_name: usually name. created_at: POSIXct vector.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-1","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$get() downloads information release, including release assets. ghr$async_get async version ghr$get.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$get(repo, tag)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\". tag: tag get.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-1","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Named list, see https://docs.github.com/en/rest/releases/releases#get--release entries.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-2","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$list_assets() lists last 100 assets release. ghr$async_list_assets() async version ghr$list_assets()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$list_assets(repo, tag)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\". tag: tag query.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-2","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Data frame columns: id: asset id, name: file name asset, download_url: download URL, size: size bytes, created_at: POSIXct vector, updated_at: POSXct vector, content_type: content type asset.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-3","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$add_asset() adds asset GitHub release. ghr$async_add_asset() async version ghr$add_asset().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr%add_asset(repo, file, tag, name = basename(file))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. file: path file upload asset. tag: tag name add asset . must exist GitHub. name: file name asset release.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"GitHub Releases — ghr","text":"asset name already exists, deleted first.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-3","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Response GitHub named list. See https://docs.github.com/en/rest/releases/assets#upload--release-asset structure.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-4","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$delete_asset() deleted release asset. ghr$async_delete_asset() async version ghr$delete_asset().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$delete_asset(repo, tag, name) ghr$async_delete_asset(repo, tag, name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. tag: tag name create release . must exist GitHub. name: name asset.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-4","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"list entries: release: list data release, deletion. format return value ghr$get(). deleted: TRUE asset deleted. FALSE asset exist.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-5","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$create() creates GitHub release tag. ghr$async_create() async version ghr$create().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$create( repo, tag, description = \"\", draft = FALSE, prerelease = FALSE, generage_release_notes = FALSE )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. tag: tag name create release . must exist GitHub. description: release description. draft: whether create draft release. prerelease: whether create prerelease. generate_release_notes: whether auto-generate release notes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-5","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Response GitHub named list. See https://docs.github.com/en/rest/releases/releases#create--release structure.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":null,"dir":"Reference","previous_headings":"","what":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"functions currently experimental.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"update-a-cran-like-repository-of-binary-packages-at-github","dir":"Reference","previous_headings":"","what":"Update a CRAN-like repository of binary packages at GitHub","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"ghrepo$update() updates binary package mirror.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"","code":"ghrepo$update( repo, subdir, release_org = \"cran\", source_repo = \"https://cran.r-project.org\", packages = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"repo: GitHub slug, e.g. r-hub/repos. subdir: subdirectory GitHub repository, R package metadata updated. must exist repository. PACKAGES* files, created. release_org: GitHub organization user name packages published releases. source_repo: CRAN-like repository, source packages taken . packages: character vector package names add binary repository, addition updating ones already .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":null,"dir":"Reference","previous_headings":"","what":"git protocol notes, for developers — git-protocol","title":"git protocol notes, for developers — git-protocol","text":"Assumptions, might relaxed checked later: server must speak smart protocol, version 1 2. (Although added functions specifically dumb protocol, pretty limited.) use HTTP transport, SSH. server shallow capability. server filter capability protocol version 2. SHA-1 hashing supported.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"git protocol notes, for developers — git-protocol","text":"Improvements needed: DONE Tests. (Can always .) DONE Use async HTTP. DONE Support packfiles deltas. (ofs-delta objects still supported.) DONE Optionally send authorization. Already possibly URL. DONE Better error messages. Better errors non-existing user, repository, ref, PR, etc. Optional improvements: Support ofs-delta objects packfiles. necessarily, unless send capability, server sending ofs-delta objects. Make unpacking faster. fast currently, bit arithmetic R. already faster tar.gz + uncompress download GitHub, really needed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":"docs-and-other-helpful-links-","dir":"Reference","previous_headings":"","what":"Docs and other helpful links:","title":"git protocol notes, for developers — git-protocol","text":"https://github.com/git/git/blob/master/Documentation/gitprotocol-common.txt https://github.com/git/git/blob/master/Documentation/gitprotocol-pack.txt https://github.com/git/git/blob/master/Documentation/gitprotocol-v2.txt https://github.com/calebsander/git-internals/blob/part2/src/main.rs https://dev./calebsander/git-internals-part-1--git-object-model-474m","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":null,"dir":"Reference","previous_headings":"","what":"Download a blob for a remote git repository — git_download_file","title":"Download a blob for a remote git repository — git_download_file","text":"Download blob remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Download a blob for a remote git repository — git_download_file","text":"","code":"git_download_file(url, sha, output = sha)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Download a blob for a remote git repository — git_download_file","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. sha SHA hash blob. output Path blob written. directory created exist.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Download a blob for a remote git repository — git_download_file","text":"list corresponds git packfile entry, invisibly. entries: type (always \"blob\"), object (raw object, blob ), size, packed_size, hash.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Download a blob for a remote git repository — git_download_file","text":"Download DESCRIPTION file GitHub:","code":"pak_repo <- \"https://github.com/r-lib/pak.git\" fls <- git_list_files(pak_repo, \"HEAD\") git_download_file( pak_repo, fls$files$hash[fls$files$path == \"DESCRIPTION\"], output = tmp <- tempfile() ) readLines(tmp)[1:5] #> [1] \"Package: pak\" #> [2] \"Version: 0.3.1.9999\" #> [3] \"Title: Another Approach to Package Installation\" #> [4] \"Description: The goal of 'pak' is to make package installation faster and\" #> [5] \" more reliable. In particular, it performs all HTTP operations in parallel,\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a packfile for an object from a remote git repository — git_fetch","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"Get packfile object remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"","code":"git_fetch(url, sha, blobs = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. sha SHA object get. blobs Whether want download blobs well . still always requesting shallow (depth = 1) clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"list git objects. element entries: type: commit, tree, blob tag. object: object . character scalar commits, data frame trees, columns: type, mode, path, hash, raw vector blobs, raw vector tags. (probably better .)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"uses filter blob:none, extra blobs downloaded, trees.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"","code":"ft <- git_fetch( \"https://github.com/r-lib/filelock.git\", \"9fdba75a62facaa3e818902f58891166e45eabe9\" ) ft #> [[1]] #> [[1]]$type #> [1] \"commit\" #> #> [[1]]$object #> [1] \"tree f92fab4f8594bd2e6c10f6f3e5dd44e556d7bb7e\\nparent 7c5389719fa50e1827195771ac07c01d44ababa1\\nauthor Gábor Csárdi 1538733728 +0100\\ncommitter Gábor Csárdi 1538733728 +0100\\n\\nFix spelling\\n\" #> #> [[1]]$size #> [1] 239 #> #> [[1]]$packed_size #> [1] 162 #> #> [[1]]$raw #> [1] 74 72 65 65 20 66 39 32 66 61 62 34 66 38 35 39 34 62 64 32 65 36 63 31 30 #> [26] 66 36 66 33 65 35 64 64 34 34 65 35 35 36 64 37 62 62 37 65 0a 70 61 72 65 #> [51] 6e 74 20 37 63 35 33 38 39 37 31 39 66 61 35 30 65 31 38 32 37 31 39 35 37 #> [76] 37 31 61 63 30 37 63 30 31 64 34 34 61 62 61 62 61 31 0a 61 75 74 68 6f 72 #> [101] 20 47 c3 a1 62 6f 72 20 43 73 c3 a1 72 64 69 20 3c 63 73 61 72 64 69 2e 67 #> [126] 61 62 6f 72 40 67 6d 61 69 6c 2e 63 6f 6d 3e 20 31 35 33 38 37 33 33 37 32 #> [151] 38 20 2b 30 31 30 30 0a 63 6f 6d 6d 69 74 74 65 72 20 47 c3 a1 62 6f 72 20 #> [176] 43 73 c3 a1 72 64 69 20 3c 63 73 61 72 64 69 2e 67 61 62 6f 72 40 67 6d 61 #> [201] 69 6c 2e 63 6f 6d 3e 20 31 35 33 38 37 33 33 37 32 38 20 2b 30 31 30 30 0a #> [226] 0a 46 69 78 20 73 70 65 6c 6c 69 6e 67 0a #> #> [[1]]$hash #> [1] \"9fdba75a62facaa3e818902f58891166e45eabe9\" #> #> #> [[2]] #> [[2]]$type #> [1] \"tree\" #> #> [[2]]$object #> type mode path hash #> 1 blob 100644 .Rbuildignore 45181a7157bdd799f225dd8d5b27a224b6a9a2d2 #> 2 blob 100644 .gitignore 9cb99ac4c7fa31d5450f62f8da3487c8a4162e96 #> 3 blob 100644 .travis.yml 85a387228f1b4a0c70d359122f487979ed5eb4a9 #> 4 blob 100644 DESCRIPTION 6013cb378eb62302ec176334b0ab4a2993da1e5e #> 5 blob 100644 LICENSE 1fd2b3ad1dc5f2f946eae143ee3b45da36180bdd #> 6 blob 100644 Makefile dd7836b14f4a04d20a3139c05c76b01a258ffcf3 #> 7 blob 100644 NAMESPACE 906fa2f11a0ba9b43a3e43c9b0cf840fb13dde1b #> 8 blob 100644 NEWS.md f84230bc2ae5f2768677ee72d1085e599263c202 #> 9 tree 40000 R 9c8a4edfaff37a8ee20afe3ff0ec7e18b29b6d3e #> 10 blob 100644 README.Rmd b270933f20b5e16c8a3b3fb3e9bf6a8cfd464ec0 #> 11 blob 100644 README.md d037742ef37ecb903a55d7484cfa30f725085162 #> 12 blob 100644 appveyor.yml 6168ec3805795bd92657ee8bc0208931f4b807d1 #> 13 tree 40000 inst 22c1c69cb093311abb2983012e26bbc20e9fe753 #> 14 tree 40000 man 674f6be38465d83b3f8b44d97bab040ff84b4794 #> 15 tree 40000 src abeb2f2376694746a00797a2c20df24daea66ba3 #> 16 tree 40000 tests 00ad597f0ec5aa7aab56afce1088d67685ef7395 #> #> [[2]]$size #> [1] 566 #> #> [[2]]$packed_size #> [1] 505 #> #> [[2]]$raw #> [1] 31 30 30 36 34 34 20 2e 52 62 75 69 6c 64 69 67 6e 6f 72 65 00 45 18 1a 71 #> [26] 57 bd d7 99 f2 25 dd 8d 5b 27 a2 24 b6 a9 a2 d2 31 30 30 36 34 34 20 2e 67 #> [51] 69 74 69 67 6e 6f 72 65 00 9c b9 9a c4 c7 fa 31 d5 45 0f 62 f8 da 34 87 c8 #> [76] a4 16 2e 96 31 30 30 36 34 34 20 2e 74 72 61 76 69 73 2e 79 6d 6c 00 85 a3 #> [101] 87 22 8f 1b 4a 0c 70 d3 59 12 2f 48 79 79 ed 5e b4 a9 31 30 30 36 34 34 20 #> [126] 44 45 53 43 52 49 50 54 49 4f 4e 00 60 13 cb 37 8e b6 23 02 ec 17 63 34 b0 #> [151] ab 4a 29 93 da 1e 5e 31 30 30 36 34 34 20 4c 49 43 45 4e 53 45 00 1f d2 b3 #> [176] ad 1d c5 f2 f9 46 ea e1 43 ee 3b 45 da 36 18 0b dd 31 30 30 36 34 34 20 4d #> [201] 61 6b 65 66 69 6c 65 00 dd 78 36 b1 4f 4a 04 d2 0a 31 39 c0 5c 76 b0 1a 25 #> [226] 8f fc f3 31 30 30 36 34 34 20 4e 41 4d 45 53 50 41 43 45 00 90 6f a2 f1 1a #> [251] 0b a9 b4 3a 3e 43 c9 b0 cf 84 0f b1 3d de 1b 31 30 30 36 34 34 20 4e 45 57 #> [276] 53 2e 6d 64 00 f8 42 30 bc 2a e5 f2 76 86 77 ee 72 d1 08 5e 59 92 63 c2 02 #> [301] 34 30 30 30 30 20 52 00 9c 8a 4e df af f3 7a 8e e2 0a fe 3f f0 ec 7e 18 b2 #> [326] 9b 6d 3e 31 30 30 36 34 34 20 52 45 41 44 4d 45 2e 52 6d 64 00 b2 70 93 3f #> [351] 20 b5 e1 6c 8a 3b 3f b3 e9 bf 6a 8c fd 46 4e c0 31 30 30 36 34 34 20 52 45 #> [376] 41 44 4d 45 2e 6d 64 00 d0 37 74 2e f3 7e cb 90 3a 55 d7 48 4c fa 30 f7 25 #> [401] 08 51 62 31 30 30 36 34 34 20 61 70 70 76 65 79 6f 72 2e 79 6d 6c 00 61 68 #> [426] ec 38 05 79 5b d9 26 57 ee 8b c0 20 89 31 f4 b8 07 d1 34 30 30 30 30 20 69 #> [451] 6e 73 74 00 22 c1 c6 9c b0 93 31 1a bb 29 83 01 2e 26 bb c2 0e 9f e7 53 34 #> [476] 30 30 30 30 20 6d 61 6e 00 67 4f 6b e3 84 65 d8 3b 3f 8b 44 d9 7b ab 04 0f #> [501] f8 4b 47 94 34 30 30 30 30 20 73 72 63 00 ab eb 2f 23 76 69 47 46 a0 07 97 #> [526] a2 c2 0d f2 4d ae a6 6b a3 34 30 30 30 30 20 74 65 73 74 73 00 00 ad 59 7f #> [551] 0e c5 aa 7a ab 56 af ce 10 88 d6 76 85 ef 73 95 #> #> [[2]]$hash #> [1] \"f92fab4f8594bd2e6c10f6f3e5dd44e556d7bb7e\" #> #> #> [[3]] #> [[3]]$type #> [1] \"tree\" #> #> [[3]]$object #> type mode path hash #> 1 blob 100644 assertions.R c6931259482e745c75d48325f23dc2fcd06f56ff #> 2 blob 100644 package.R 88554b8a205c4005d6f7025c21463a8182f458ab #> #> [[3]]$size #> [1] 77 #> #> [[3]]$packed_size #> [1] 81 #> #> [[3]]$raw #> [1] 31 30 30 36 34 34 20 61 73 73 65 72 74 69 6f 6e 73 2e 52 00 c6 93 12 59 48 #> [26] 2e 74 5c 75 d4 83 25 f2 3d c2 fc d0 6f 56 ff 31 30 30 36 34 34 20 70 61 63 #> [51] 6b 61 67 65 2e 52 00 88 55 4b 8a 20 5c 40 05 d6 f7 02 5c 21 46 3a 81 82 f4 #> [76] 58 ab #> #> [[3]]$hash #> [1] \"9c8a4edfaff37a8ee20afe3ff0ec7e18b29b6d3e\" #> #> #> [[4]] #> [[4]]$type #> [1] \"tree\" #> #> [[4]]$object #> type mode path hash #> 1 blob 100644 WORDLIST 538ab5ce786efef03728f2a5b4592a6ae99c35e5 #> #> [[4]]$size #> [1] 36 #> #> [[4]]$packed_size #> [1] 45 #> #> [[4]]$raw #> [1] 31 30 30 36 34 34 20 57 4f 52 44 4c 49 53 54 00 53 8a b5 ce 78 6e fe f0 37 #> [26] 28 f2 a5 b4 59 2a 6a e9 9c 35 e5 #> #> [[4]]$hash #> [1] \"22c1c69cb093311abb2983012e26bbc20e9fe753\" #> #> #> [[5]] #> [[5]]$type #> [1] \"tree\" #> #> [[5]]$object #> type mode path hash #> 1 blob 100644 lock.Rd c3899949a3573e8ad670610ba389812dd3c9bc90 #> #> [[5]]$size #> [1] 35 #> #> [[5]]$packed_size #> [1] 44 #> #> [[5]]$raw #> [1] 31 30 30 36 34 34 20 6c 6f 63 6b 2e 52 64 00 c3 89 99 49 a3 57 3e 8a d6 70 #> [26] 61 0b a3 89 81 2d d3 c9 bc 90 #> #> [[5]]$hash #> [1] \"674f6be38465d83b3f8b44d97bab040ff84b4794\" #> #> #> [[6]] #> [[6]]$type #> [1] \"tree\" #> #> [[6]]$object #> type mode path hash #> 1 blob 100644 Makevars 945ce829c1bc15a9924342767db832184bea2fe7 #> 2 blob 100644 Makevars.win 1f37ea58dd205928e3f499c6e1db91460e220f9c #> 3 blob 100644 filelock-unix.c 0ecfc663a398a9136ef1e5173f0565a8f733544c #> 4 blob 100644 filelock-windows.c f1e4aae78e81a193ea6a87b7f465bce0eb98d761 #> 5 blob 100644 filelock.h 4aec0dd604f36863d81e693a1424bcf8388397ba #> 6 blob 100644 init.c 2fd89e49f397d31cfd33e895f03d598c7eeca119 #> 7 blob 100644 locklist.c 810c2ea35d59f0336b66ab4f5d31a301e4049b85 #> 8 blob 100644 utf8.c 47849fb8467b37da6620ef1a714894142a851139 #> #> [[6]]$size #> [1] 309 #> #> [[6]]$packed_size #> [1] 259 #> #> [[6]]$raw #> [1] 31 30 30 36 34 34 20 4d 61 6b 65 76 61 72 73 00 94 5c e8 29 c1 bc 15 a9 92 #> [26] 43 42 76 7d b8 32 18 4b ea 2f e7 31 30 30 36 34 34 20 4d 61 6b 65 76 61 72 #> [51] 73 2e 77 69 6e 00 1f 37 ea 58 dd 20 59 28 e3 f4 99 c6 e1 db 91 46 0e 22 0f #> [76] 9c 31 30 30 36 34 34 20 66 69 6c 65 6c 6f 63 6b 2d 75 6e 69 78 2e 63 00 0e #> [101] cf c6 63 a3 98 a9 13 6e f1 e5 17 3f 05 65 a8 f7 33 54 4c 31 30 30 36 34 34 #> [126] 20 66 69 6c 65 6c 6f 63 6b 2d 77 69 6e 64 6f 77 73 2e 63 00 f1 e4 aa e7 8e #> [151] 81 a1 93 ea 6a 87 b7 f4 65 bc e0 eb 98 d7 61 31 30 30 36 34 34 20 66 69 6c #> [176] 65 6c 6f 63 6b 2e 68 00 4a ec 0d d6 04 f3 68 63 d8 1e 69 3a 14 24 bc f8 38 #> [201] 83 97 ba 31 30 30 36 34 34 20 69 6e 69 74 2e 63 00 2f d8 9e 49 f3 97 d3 1c #> [226] fd 33 e8 95 f0 3d 59 8c 7e ec a1 19 31 30 30 36 34 34 20 6c 6f 63 6b 6c 69 #> [251] 73 74 2e 63 00 81 0c 2e a3 5d 59 f0 33 6b 66 ab 4f 5d 31 a3 01 e4 04 9b 85 #> [276] 31 30 30 36 34 34 20 75 74 66 38 2e 63 00 47 84 9f b8 46 7b 37 da 66 20 ef #> [301] 1a 71 48 94 14 2a 85 11 39 #> #> [[6]]$hash #> [1] \"abeb2f2376694746a00797a2c20df24daea66ba3\" #> #> #> [[7]] #> [[7]]$type #> [1] \"tree\" #> #> [[7]]$object #> type mode path hash #> 1 blob 100644 testthat.R ba0c4a16402c81fcf9e23f5435e2f3dc00726805 #> 2 tree 40000 testthat 70486852bb6531d18f3ec76170ded201e320bbd8 #> #> [[7]]$size #> [1] 73 #> #> [[7]]$packed_size #> [1] 74 #> #> [[7]]$raw #> [1] 31 30 30 36 34 34 20 74 65 73 74 74 68 61 74 2e 52 00 ba 0c 4a 16 40 2c 81 #> [26] fc f9 e2 3f 54 35 e2 f3 dc 00 72 68 05 34 30 30 30 30 20 74 65 73 74 74 68 #> [51] 61 74 00 70 48 68 52 bb 65 31 d1 8f 3e c7 61 70 de d2 01 e3 20 bb d8 #> #> [[7]]$hash #> [1] \"00ad597f0ec5aa7aab56afce1088d67685ef7395\" #> #> #> [[8]] #> [[8]]$type #> [1] \"tree\" #> #> [[8]]$object #> type mode path hash #> 1 blob 100644 test.R c1ec36f67434b9e03524180ed3646121ec03e113 #> #> [[8]]$size #> [1] 34 #> #> [[8]]$packed_size #> [1] 43 #> #> [[8]]$raw #> [1] 31 30 30 36 34 34 20 74 65 73 74 2e 52 00 c1 ec 36 f6 74 34 b9 e0 35 24 18 #> [26] 0e d3 64 61 21 ec 03 e1 13 #> #> [[8]]$hash #> [1] \"70486852bb6531d18f3ec76170ded201e320bbd8\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":null,"dir":"Reference","previous_headings":"","what":"List files in a remote git repository — git_list_files","title":"List files in a remote git repository — git_list_files","text":"List files remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List files in a remote git repository — git_list_files","text":"","code":"git_list_files(url, ref = \"HEAD\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List files in a remote git repository — git_list_files","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. ref Either SHA ref name. may also branch name without refs/heads prefix, partial (unique) SHA least seven hexadecimal digits. See git_list_refs() branches, tags GitHub pull requests named.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List files in a remote git repository — git_list_files","text":"list entries: ref: ref function called . sha: SHA ref. commit: named character vector data commit object belonging ref. fields named: tree, parent, author, committer, encoding, message. tree: SHA tree object belonging commit. files: data frame files directories. columns: hash: SHA hash tree blob. type: Either \"tree\" \"blob\". mode: Unix mode. path: Relative path repository's root directory.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List files in a remote git repository — git_list_files","text":"","code":"fls <- git_list_files(\"https://github.com/r-lib/pak.git\", \"refs/heads/main\") fls$files #> hash type mode #> 1 78637c7741f1d05b867e6380b39841f1cc93c6ae blob 100644 #> 2 09365afed2c2de2690f0a2242998b429a74385ee tree 40000 #> 3 2d19fc766d98a08d9d1437896bfb008a7b15f340 blob 100644 #> 4 3e048b6fbe23121b71a8b6e49d78c75b8a211ced tree 40000 #> 5 9b71b7d8638f643f41d9d2eb13017ce72bb60134 blob 100644 #> 6 d906b2bad68d3d516127d003f005a5ccef912235 blob 100644 #> 7 2718673d32485ebc9a92c2b6dfde4e444ab55e7a blob 100644 #> 8 b9f2c86fd564d49bb17b3c5001f8fc3889172e14 blob 100644 #> 9 27a004b785b382edc66d48a4e23d03a255d5de5c blob 100644 #> 10 0d8d414b0375b28538cdf8389691fe2fecfbd47e blob 100644 #> 11 97271eb29faf3b1cecb81f5f7e7caf732c380bc4 blob 100644 #> 12 4b65418291f5c25e76750e3506a05430f623f73f blob 100644 #> 13 02fe05be5eaedabc818c6a3a4494b86561146815 blob 100644 #> 14 398a86d33a97dda48ddf5d8d775a3acab11bd02f blob 100644 #> 15 e0871627c1a339b113f3c37b558c1d9c361d0613 blob 100644 #> 16 ab25a2db01855917a3cee50cba8dcbbdff008e27 blob 100644 #> 17 b464e4652c292e274d1557a59ccf77c31ff1d0ea blob 100644 #> 18 16634163e7dd63b68dde40f6d33a368c0f52ad7b tree 40000 #> 19 cc0b4c1a148451aed7508a6dceef65734e1e81ae blob 100644 #> 20 d992e9f19ef2cdae01f31a59a4c5c2ca42e8bc6e blob 100644 #> 21 ddee0eaff1186dc75bd892ceeb4bb6a763553dbd blob 100644 #> 22 34860cf4adecb83d71e481dce5377c56c7aff53d blob 100644 #> 23 0e5cae27866cdd3dbb334c2d756b120f74d3acf2 blob 100644 #> 24 8d7b0b5e9ed3f6c183fd8ca9b8639156bd6568f9 blob 100644 #> 25 c45156b7dcf689e2bec9c38fa7760c04c665489c blob 100644 #> 26 bbad5095b4f5da6707fe7636a26d0cbe3b76f562 blob 100644 #> 27 d2236e702180ce578b7af8c10ff22a73f47bac5c blob 100644 #> 28 e8df0e553f1235e493264cf2b66981772de10f71 blob 100644 #> 29 5e3f4c049761c50c636d02f0c7214f84c3155302 blob 100644 #> 30 c6a2c28489f590160a7e75a18b910b6d0834ab4c blob 100644 #> 31 09123886d32910c815f53809098e09304518420f blob 100644 #> 32 07e5117d02d56f17864435cb4711d44c9b402d77 blob 100644 #> 33 8b4046c479b3ef98e995c898a20ade4280eb0838 blob 100644 #> 34 6d0209d93f8e87c08c038e9ddffba176294369a3 blob 100644 #> 35 2b615ee9e1f062391280476a558f65edb7a7908e blob 100644 #> 36 9f6edd092486f92a080df8b6712f503fd7824193 blob 100644 #> 37 3b46adf93274cfc402f3a24abb123101ce401a8e blob 100644 #> 38 8e7d159dbdc6ae2f2cd021576c62de37d0407633 blob 100644 #> 39 3cf6e5a441eb00a227a98a2b0c32da7e34dd8d52 blob 100644 #> 40 f277587288a01b20b1b896b70b59fc0ca4422428 blob 100644 #> 41 23bc3da8517a75db4ad69e30f7e79f6da52b4758 blob 100644 #> 42 40f6f0162de3172cd27b140809a91da2f61f1499 blob 100644 #> 43 3356ee4bb7ef406f1103669be14b5df4368dfe9b blob 100644 #> 44 a8ade609dd10a9da209277238e3d5fba586918be blob 100644 #> 45 db30fdc8f45f09108b2e543027f9b4532797a1a7 blob 100644 #> 46 8ebbddd4fa5fec9941ac149b442aa2ead1df6b54 blob 100644 #> 47 99fa806f2a20f2e31d0c5fda57296cde323b2ed0 blob 100644 #> 48 ece743c56ec87c879f8feae78b369dc74fafa903 blob 100644 #> 49 c91a1ebf5bd3a065fab680e19e06a9a2fb361169 blob 100644 #> 50 435614511f3e6fb4f3ce083eda7a5fd708aa16d5 blob 100644 #> 51 062b171dfe9761cc1b6fef5dcdebdfb54a455484 blob 100644 #> 52 db73a46218520379d4a322c26fec19a68f802fbb blob 100644 #> 53 7d168c39d4a6d7bcc08216d5cdd69d32c10544ee blob 100644 #> 54 2e2f5dd3d7e95a8efe14b66ee11f71b3d4b2dff1 blob 100644 #> 55 ca48de1b748b8cd82fe6251cdf67e9dcc02d1e12 blob 100644 #> 56 ba16de3e25c0b98d1d7d1fcaf1cd5ed377d46975 blob 100644 #> 57 391e1fa7b5334b8c4ec7609b1cb7428cdb4602e7 blob 100644 #> 58 34509a42215e00f1a2b2e83eebe52d8433451dd6 blob 100644 #> 59 351c3e7bc9eae89276958ab699d2aec059650c12 blob 100644 #> 60 0adcdf2b124cbced9bf4b2ba3aa373e35db7ad8a blob 100644 #> 61 a351cb8fa452aa7a3d5219be475795c9dbf81a78 blob 100644 #> 62 597abaccad4473498e2ae58c2521d35e0c699bd6 blob 100755 #> 63 04c55859903c1a7db8ce30f4a37f144795cce7c4 blob 100644 #> 64 a6fbe0b30e28e44255d7bb7860e155a235062c9a blob 100755 #> 65 994f9fdcd999611bc799761323fba728edf79389 blob 100644 #> 66 025b39ee265412d822f515f991ce81d39d52cb8b tree 40000 #> 67 cdf512b63d1e4709f538107ad9bdfec0828e56b8 blob 100644 #> 68 f6138ff9081cd95a7d18801e1d89c5f04e5866f1 tree 40000 #> 69 c3b2104e779ca5ca3a79ee69fc7d1041cbe977f6 blob 100644 #> 70 99d774f214e479cfb5d63055afa8fbcb583111f2 blob 100644 #> 71 e8e94bf558013a41dca7de2200ffb2daa3c46770 tree 40000 #> 72 a82fed0623dc0a20a0ccfceb0baceda61144801a blob 100644 #> 73 d6459e005434a49a66a3ddec92279a86160ad71f blob 100644 #> 74 ba11122d4ef6842a3901dfe4f08b9e91aadf1bfb blob 100644 #> 75 25b6e2293346439646077441c41ffc77c20fad1d blob 100644 #> 76 e3b63731626da84ef1f4af9d63c5284408629b4c blob 100644 #> 77 a8afa85ec5c8fd965b74e31a9267e20ad75f5243 blob 100644 #> 78 c32822a40b4a26156da35265d219e15b1b8ba51b blob 100644 #> 79 4c1a1aeb066f22b0ec1f71ae0b42dc9c686b899b tree 40000 #> 80 19a17499e520a9040d13cdb46c98605b4ec21b9d blob 100644 #> 81 fbd95956ddddff2c33a7095103d7a3435b837fdc tree 40000 #> 82 6c613005a2b2b5b1892f2220888c625f992d29ee blob 100644 #> 83 88302306891209038aa0d25f3e5bf5002812e086 blob 100644 #> 84 ab19d1cc3798b651f02a28ceb2cd00cd432207b6 blob 100644 #> 85 621ab042b5c98815ce2eaa25f65eaed1851d6d05 blob 100644 #> 86 c5b9874a2f342052f690e622163d7fa202439dcf blob 100644 #> 87 bb7c1c80e1675267d35174a3c7af47c1132b142b blob 100644 #> 88 95c7c05cd177ad28aa6a1fa00d5b67d2cf954077 tree 40000 #> 89 4d3a18e1abbc29f0facacb0e48e2c00cc3113e16 blob 100644 #> 90 863a64ce1d9c96ba0dc0a7d1832f9c9fb0e9f0ee blob 100644 #> 91 a16a6b75c8a0c73ac56d3f851de1d5ce3e3e97a2 blob 100644 #> 92 d26b353c949e4720978a24f847a5488422b23ab7 blob 100644 #> 93 57e26c7eeccb26cec849f3de52e640fb81076013 blob 100644 #> 94 4071a5a590525325930c0242bfd1f33503bf195c blob 100644 #> 95 2f7049ae7f268d4185333718813e23895ab769ea blob 100644 #> 96 65304a330f52028b5622f227502267a6f1cadcdd blob 100644 #> 97 bc278d72b4f342585d3a9dc4a15dab610298c58e blob 100644 #> 98 51cd88fcf36a1a40da3d5c4ed9739e5047230de7 blob 100644 #> 99 3b20bab9000d791e1991947ac5525b141c5b5dd8 blob 100644 #> 100 9836125cb5dc016f22c6cdea72edfec7477f968d blob 100644 #> 101 6ff2166291d7e9514cb7561b4dd6f59adf9ffa1b blob 100644 #> 102 379c0aa9015ff343d73da8ec37f39fe60f275e21 blob 100644 #> 103 e206c9ea9faabc2c765fe08df489861cfb13273a blob 100644 #> 104 7220d3271aa842edf6d21fc74ca08763a29ddf9a blob 100644 #> 105 c41dd490b63048c5c763a94ff8bfba1be1913dde blob 100644 #> 106 f7bb775c4cdb68b6e3dfeb6bf81246028559f812 blob 100644 #> 107 f657cb12851b53427e799ed39810d0f6cccf8721 blob 100644 #> 108 f74333c25f4691082e1dca8a68f8893a0961f975 blob 100644 #> 109 8a66ec44325a69c96b6409e1d680f934db005a9f blob 100644 #> 110 c5514b382cc5acb15fd55bf65bc3cf57343ed442 blob 100644 #> 111 c75bf73c8a095046862ff2d88cc00bda55c964ba blob 100644 #> 112 3b34b39ffbf4459bfb61f26f10bac2c37d067a74 blob 100644 #> 113 5c40d48c034b2c140b411cc97249cbc29928e3d5 tree 40000 #> 114 ec5c3152480c860a7891341f922352cbd2578c49 blob 100644 #> 115 779824c68264b03ca1b370493c68935c05111dd0 blob 100644 #> 116 64d294582713e9179c5021027699e3cbf0e2064f blob 100644 #> 117 945355ddf0b1a401b43d2587871eecef560ccb87 blob 100644 #> 118 14ebcc4bf98a8df856723a58b30715a474f79683 blob 100644 #> 119 0f290b95d53ce469fe776d2d9e49826b658c98a8 blob 100644 #> 120 21a2426182a8685d40ef20e2641d8f81fd700db8 blob 100644 #> 121 6570312475be4e1a077725cccf3c48af49d89ed5 blob 100644 #> 122 0c107388edf8276ddb41345ae12800af4f10861f blob 100644 #> 123 933f9c94ee403ef0abd8c35c9ef5f73b47ebfeee blob 100644 #> 124 feec47fafdf68fb5252d4f7068977e9a17d6df44 blob 100644 #> 125 ab3ad9618f073b704509fb6db338164c09e652f0 blob 100644 #> 126 606507c0cbc321dac5da2faebc3f687160310725 blob 100644 #> 127 0c6844a99c5f86a1f992061f77a1bf0e5be5185f blob 100644 #> 128 10eee6579377f6c1bbd4f2816a171777105dd935 blob 100644 #> 129 34ae0b70c57113e27cd8570aeaccdb75d0d7aa10 blob 100644 #> 130 902d269ac9e6ed617245785eafcf86097683b080 blob 100644 #> 131 56bd4dded11a76997485fbb42670194c4b6af022 blob 100644 #> 132 c77ac48379e2b00d18f6091ca459fbadd7cc9bd7 blob 100644 #> 133 45ccd98504cf1334c36930ec6adf4bcb87b07454 blob 100644 #> 134 11c167b9d57d7f8e6da22a991c8cff651d7ddf95 blob 100644 #> 135 4e631fe83ce7a46b4bf6d5ac890e6d2551f714d8 blob 100644 #> 136 b71efd8f0f61d95e8ada1088b3be41743a4b8b3e blob 100644 #> 137 1ef531fdc641016b347eb39ae7a4d31af30c541f blob 100644 #> 138 4a48f62c7f735c48ef4c93e0b79a4e7eb40d9f42 blob 100644 #> 139 721eb3e08884c2bfca365183d80ed24ad1dcd6f3 tree 40000 #> 140 2bb9ea0544508dcf9d419bf976bf6e0b9ca249cb blob 100644 #> 141 270314b87d171300f76501b32e8a0354926d9c84 blob 100644 #> 142 261949d09b1fb399b89e48430f5ca18d3a41b34a tree 40000 #> 143 65d5e8e273c120c2bfe0f73a3a4a934e5c81c7eb blob 100644 #> 144 b556efa9133831e2c7fd52092b4b9b74d5b5234f tree 40000 #> 145 9043e8f13610b5e4d25b3520959704058e8df210 tree 40000 #> 146 53589d891b748348206f5b3660a2eab2cfad868e blob 100644 #> 147 ee1b568a9714489e1f2afe58af5517402dd67288 blob 100644 #> 148 93cdf17fc1fc85b62e344dee549e6679c15daf1f blob 100644 #> 149 669cbd2f5b3c5c493f3139d2731b8a0ff52e4dc4 blob 100644 #> 150 e64a41a84776f9d52a4016f1363f648c3403621b blob 100644 #> 151 0ff31ac05c572f1b797faa1de823bbf64a156773 blob 100644 #> 152 7083b82932c1df6117ed4348a6b75eba0210e9e6 blob 100644 #> 153 ab41d001d7a5b8a0e6ebead68844106b905add60 blob 100644 #> 154 bf707418d737259ecdefeee50358f4b904b6b2c6 blob 100644 #> 155 63c494c86d0721196c560f2abb05ed5def1bf5bf blob 100644 #> 156 01b5f065f869e4dd302c86983d76fc5561f61d46 blob 100644 #> 157 1cb24179f61be7f6257c505b0ef8e64a6666d8c7 blob 100644 #> 158 9448734642b391308c0cc142d2ea2c5eee5e58ac blob 100644 #> 159 071c6c4c9c83d52c3609f31ffd8b25333308ca2d tree 40000 #> 160 cc96b41c901541add156a02c39dbfda0ff1cb898 tree 40000 #> 161 552a325bc9790007ec52353c33d03e57ad263978 tree 40000 #> 162 0ce1318498219e9783606b303c90cf2fc893369d blob 100644 #> 163 49e8e97903bde8a58026712473021d5d3ff17da7 blob 100644 #> 164 088477679097737cccdc1bd46d90b577b88a4817 blob 100644 #> 165 9811c5c118d9d190eee3d605bb38c42cf6a3f3d9 blob 100644 #> 166 fc40496978d53be1e58be4a1359cc10b15d23c96 tree 40000 #> 167 58efaf8c4bfed6d3624b0e9fb1bef845951b09a9 blob 100644 #> 168 2ec0d3edc4c016a043028bd748ee09b6f8df0273 blob 100644 #> 169 f8090ad4071bf668868f50c7754ad968cf85cdbf blob 100644 #> 170 7e62ecf2bdea2bdbb1d530cf79c0d451bc9cc294 blob 100755 #> 171 165c68c868430f8129739ca53631645545f4c2bb tree 40000 #> 172 a65b41774ad52b3cc7b60496d35eaafc5da4bb16 blob 100644 #> 173 8260e0f7ee227b2fc002179bb7fe6720ddf2cb34 blob 100644 #> 174 dd8700466c8dafabf9ab08c0bc9dc6fe5ea8b82b blob 100644 #> 175 13f0120982af72c5ed254fcbb74192dc5c20a3f0 tree 40000 #> 176 9d2d50de04bfa00067b74c6d5428d266d8674a7e blob 100644 #> path #> 1 .Rbuildignore #> 2 .github #> 3 .github/.gitignore #> 4 .github/workflows #> 5 .github/workflows/R-CMD-check.yaml #> 6 .github/workflows/build-package.yaml #> 7 .github/workflows/build.yaml #> 8 .github/workflows/linux-builder-containers.yaml #> 9 .github/workflows/nightly.yaml #> 10 .github/workflows/pkgdown.yaml #> 11 .github/workflows/pr-commands.yaml #> 12 .github/workflows/test-coverage.yaml #> 13 .gitignore #> 14 DESCRIPTION #> 15 Makefile #> 16 NAMESPACE #> 17 NEWS.md #> 18 R #> 19 R/aaa-rstudio-detect.R #> 20 R/build-pak-binary.R #> 21 R/cache.R #> 22 R/compat-vctrs.R #> 23 R/confirmation.R #> 24 R/cran-install-order.R #> 25 R/default-cran-mirror.R #> 26 R/deps-explain.R #> 27 R/dev-mode.R #> 28 R/docs.R #> 29 R/embed-ca-certs.R #> 30 R/embed-lib.R #> 31 R/errors.R #> 32 R/extra.R #> 33 R/formatted.R #> 34 R/global-handler.R #> 35 R/json.R #> 36 R/library.R #> 37 R/local.R #> 38 R/lockfile.R #> 39 R/name-check.R #> 40 R/onload.R #> 41 R/package.R #> 42 R/pak-cleanup.R #> 43 R/pak-install.R #> 44 R/pak-update.R #> 45 R/pak.R #> 46 R/print.R #> 47 R/private-lib.R #> 48 R/push-packages.R #> 49 R/repo.R #> 50 R/rstudio-detect.R #> 51 R/safe-cran-install.R #> 52 R/search.R #> 53 R/subprocess.R #> 54 R/system-requirements.R #> 55 R/terminate.R #> 56 R/unload.R #> 57 R/utils.R #> 58 R/warn-loaded.R #> 59 README.Rmd #> 60 README.md #> 61 _pkgdown.yml #> 62 cleanup #> 63 codecov.yml #> 64 configure #> 65 configure.win #> 66 data #> 67 data/pak_sitrep_data.R #> 68 inst #> 69 inst/WORDLIST #> 70 inst/header.md #> 71 inst/tools #> 72 inst/tools/pkg_1.0.0.tgz #> 73 inst/tools/xxx #> 74 inst/tools/xxx.bz2 #> 75 inst/tools/xxx.gz #> 76 inst/tools/xxx.tar.gz #> 77 inst/tools/xxx.xz #> 78 inst/tools/xxx.zip #> 79 man #> 80 man/cache.Rd #> 81 man/chunks #> 82 man/chunks/FAQ.Rmd #> 83 man/chunks/features.Rmd #> 84 man/chunks/install.Rmd #> 85 man/chunks/tldr.Rmd #> 86 man/faq.Rd #> 87 man/features.Rd #> 88 man/figures #> 89 man/figures/cran-dark.svg #> 90 man/figures/cran.svg #> 91 man/figures/deps-dark.svg #> 92 man/figures/deps.svg #> 93 man/figures/explain-dark.svg #> 94 man/figures/explain.svg #> 95 man/figures/gh-dark.svg #> 96 man/figures/gh.svg #> 97 man/figures/local-dark.svg #> 98 man/figures/local.svg #> 99 man/figures/tldr-cran.svg #> 100 man/get-started.Rd #> 101 man/handle_package_not_found.Rd #> 102 man/install.Rd #> 103 man/lib_status.Rd #> 104 man/local_deps.Rd #> 105 man/local_deps_explain.Rd #> 106 man/local_install.Rd #> 107 man/local_install_deps.Rd #> 108 man/local_install_dev_deps.Rd #> 109 man/local_package_trees.Rd #> 110 man/local_system_requirements.Rd #> 111 man/lockfile_create.Rd #> 112 man/lockfile_install.Rd #> 113 man/macros #> 114 man/macros/eval.Rd #> 115 man/metadata.Rd #> 116 man/package-dependency-types.Rd #> 117 man/pak-config.Rd #> 118 man/pak.Rd #> 119 man/pak_cleanup.Rd #> 120 man/pak_install_extra.Rd #> 121 man/pak_package_sources.Rd #> 122 man/pak_setup.Rd #> 123 man/pak_sitrep.Rd #> 124 man/pak_solver.Rd #> 125 man/pak_update.Rd #> 126 man/pkg_deps.Rd #> 127 man/pkg_deps_explain.Rd #> 128 man/pkg_deps_tree.Rd #> 129 man/pkg_download.Rd #> 130 man/pkg_history.Rd #> 131 man/pkg_install.Rd #> 132 man/pkg_name_check.Rd #> 133 man/pkg_remove.Rd #> 134 man/pkg_search.Rd #> 135 man/pkg_status.Rd #> 136 man/repo_add.Rd #> 137 man/repo_get.Rd #> 138 man/repo_status.Rd #> 139 man/roxygen #> 140 man/roxygen/meta.R #> 141 pak.Rproj #> 142 tests #> 143 tests/testthat.R #> 144 tests/testthat #> 145 tests/testthat/_snaps #> 146 tests/testthat/_snaps/print.md #> 147 tests/testthat/helpers.R #> 148 tests/testthat/setup.R #> 149 tests/testthat/test-bundle.R #> 150 tests/testthat/test-create-pak-repo.R #> 151 tests/testthat/test-platform.R #> 152 tests/testthat/test-print.R #> 153 tests/testthat/test-private-lib.R #> 154 tests/testthat/test-repo.R #> 155 tests/testthat/test-subprocess.R #> 156 tests/testthat/test-system-requirements.R #> 157 tests/testthat/test-ui.R #> 158 tests/testthat/test-utils.R #> 159 tools #> 160 tools/build #> 161 tools/build/linux #> 162 tools/build/linux/Dockerfile #> 163 tools/build/linux/Dockerfile-builder #> 164 tools/build/linux/Makefile #> 165 tools/build/linux/Makevars-builder #> 166 tools/build/macos #> 167 tools/build/macos/.gitignore #> 168 tools/build/macos/Makefile #> 169 tools/build/macos/Makevars-curl.in #> 170 tools/build/macos/download.sh #> 171 tools/build/windows #> 172 tools/build/windows/.gitignore #> 173 tools/build/windows/Makefile #> 174 tools/dynamic-help.R #> 175 vignettes #> 176 vignettes/internals.Rmd"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"List references in a remote git repository — git_list_refs","title":"List references in a remote git repository — git_list_refs","text":"List references remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List references in a remote git repository — git_list_refs","text":"","code":"git_list_refs(url, prefixes = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List references in a remote git repository — git_list_refs","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. prefixes NULL, references one prefixes prefix, listed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List references in a remote git repository — git_list_refs","text":"list entries: refs caps. caps character vector capabilities advertised server. refs data frame git refs, columns ref hash.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"List references in a remote git repository — git_list_refs","text":"Branches references named refs/heads/, e.g. refs/heads/main. Tags references named refs/tags/, e.g. refs/tags/v1.0.2. GitHub pull requests references named refs/pull//head, e.g. refs/pull/37/head. open pull requests refs/pull//merge reference well, branch pull request merged. special reference called HEAD. points default branch GitHub.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List references in a remote git repository — git_list_refs","text":"List references certain prefix: Various services:","code":"git_list_refs(\"https://github.com/r-lib/filelock.git\") #> $refs #> ref #> 1 HEAD #> 2 refs/heads/cran-1-0-2 #> 3 refs/heads/fix/testthat-error-parallel #> 4 refs/heads/gh-pages #> 5 refs/heads/main #> 6 refs/heads/refcounting #> 7 refs/pull/14/head #> 8 refs/pull/37/head #> 9 refs/pull/37/merge #> 10 refs/pull/38/head #> 11 refs/pull/40/head #> 12 refs/tags/v1.0.2 #> hash #> 1 0331c49c0b17845468b5f3e2da75680475bc9989 #> 2 dfc615b14dfc030df3f44bd377e752728f76df3d #> 3 6f4b4bfcc1d3442d63496c7640984c0d9570a05a #> 4 2956fbdcbab65b75e3347048a9dc18b15fe377d2 #> 5 0331c49c0b17845468b5f3e2da75680475bc9989 #> 6 48e5bbe0e031897c7f0e194edbf6897f813fbaee #> 7 48e5bbe0e031897c7f0e194edbf6897f813fbaee #> 8 6f4b4bfcc1d3442d63496c7640984c0d9570a05a #> 9 74b253543f6d2e7213a8174ebbe8e397b9cc866b #> 10 c7e58188a55844e6e75cd38cf81388c3452b1259 #> 11 10421f0b7117244002d377d7a9699c2742abdfcc #> 12 9fdba75a62facaa3e818902f58891166e45eabe9 #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"allow-tip-sha1-in-want\" \"allow-reachable-sha1-in-want\" #> [15] \"no-done\" \"symref=HEAD:refs/heads/main\" #> [17] \"filter\" \"object-format=sha1\" #> [19] \"agent=git/github-g8119c27a9d8d\" git_list_refs(\"https://github.com/r-lib/filelock.git\", \"refs/heads/main\") #> $refs #> ref hash #> 1 refs/heads/main 211dde89c4974b295aa02c5c77b5570ead0fc458 #> #> $caps #> [1] \"version 2\" \"agent=git/github-1c5ee477c782\" #> [3] \"ls-refs=unborn\" \"fetch=shallow wait-for-done filter\" #> [5] \"server-option\" \"object-format=sha1\" git_list_refs(\"https://gitlab.com/Linaro/tuxmake.git\", \"HEAD\") #> $refs #> ref hash #> 1 HEAD 9441c1f6ae68148882e9d15ab2d6b3008f4c2c19 #> #> $caps #> [1] \"version 2\" \"agent=git/2.40.0.gl1\" #> [3] \"ls-refs=unborn\" \"fetch=shallow wait-for-done filter\" #> [5] \"server-option\" \"object-format=sha1\" #> [7] \"object-info\" git_list_refs(\"https://bitbucket.org/gaborcsardi/cli.git\") #> $refs #> ref #> 1 HEAD #> 2 refs/heads/ask #> 3 refs/heads/cran-3.0.0 #> 4 refs/heads/cran/v3.0.1 #> 5 refs/heads/feature/cli-capabilities #> 6 refs/heads/feature/cli-condition-width #> 7 refs/heads/feature/format-error-options #> 8 refs/heads/feature/rstudio-job #> 9 refs/heads/feature/span-bullets #> 10 refs/heads/feature/table #> 11 refs/heads/fix/pkgdown-2.0.0 #> 12 refs/heads/gh-pages #> 13 refs/heads/main #> 14 refs/heads/use-glue-literal-argument #> 15 refs/tags/v1.0.1 #> 16 refs/tags/v1.1.0 #> 17 refs/tags/v1.1.0-pre #> 18 refs/tags/v2.0.0 #> 19 refs/tags/v2.0.1 #> 20 refs/tags/v2.0.2 #> 21 refs/tags/v2.1.0 #> 22 refs/tags/v2.2.0 #> 23 refs/tags/v2.3.0 #> 24 refs/tags/v2.3.1 #> 25 refs/tags/v2.4.0 #> 26 refs/tags/v2.5.0 #> 27 refs/tags/v3.0.0 #> 28 refs/tags/v3.0.1 #> 29 refs/tags/v3.1.0 #> hash #> 1 928ff3e6a52a08bbabadc57027c43de13b0d7601 #> 2 736e5824c082e94fc1acc68fb604fa66b19d1826 #> 3 75f3f185c116ff69f3abd56bf89fa9032a9eb965 #> 4 722cd638ebe4529db20442962cd2d7dc56c694d7 #> 5 b6ebff6771ff9ee8e5b19f8b6c20e142182ab866 #> 6 ee931427a9ee51bdfd837bd03c22d2d60ad81946 #> 7 28d4efb9b8875e933d682285b65ab05c61f6aef2 #> 8 8ddc6e68b970f14d45af6109108b17352dc8a4e7 #> 9 bfaabf3658c229d406591b4436991e37720476cf #> 10 0d4089fc2f6cf8c7364f02698cf257363e877660 #> 11 be878b57b6f9978953916b0a1d7272f104e27309 #> 12 928ff3e6a52a08bbabadc57027c43de13b0d7601 #> 13 f6794c4a2d845b6706a41c58f63b4acbbc663968 #> 14 5c2904c05e8f809d0136e2253e2e6ea4b7743992 #> 15 6e0ffb0de1b54953583e01068a8052ae4cbe72aa #> 16 d4f0e8618aba3475974394075f3f5384695d1d28 #> 17 57fb26d1c4582fc73a3a8531aa534948f88e96bc #> 18 9a133422f200f7aa0cdc78b28eb42770cdfe4b35 #> 19 31aaccbdb3904c5b681175483a95688940345725 #> 20 19f3b864f4ee04c31627a3246dbea44bc07b7967 #> 21 a914e326aea8a9ec7d07f7accd64bb624065ba8a #> 22 e0d0668030b482c1bda1fce66db63f402c4e9c5a #> 23 e4c9180c5b53f68c3f938473c0d5871ceefe9991 #> 24 5c0c8a88549050e156ea4469adf536e1c0ac0881 #> 25 251c84f298b46e0529dd992b9ec86da4aaaf4fa8 #> 26 17fd0dc202a51aa82a7704786712d9f77c690c4d #> 27 df963095361d77322676260e60c549d8807ded1d #> 28 525e785e8b34e889707bbbe354287bd4a60e8fcb #> 29 e40cfd4eedad58c22c3e7bcfdba6f23f11a79e13 #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"allow-tip-sha1-in-want\" \"allow-reachable-sha1-in-want\" #> [15] \"no-done\" \"symref=HEAD:refs/heads/gh-pages\" #> [17] \"object-format=sha1\" \"agent=git/2.32.0\" git_list_refs(\"https://git.savannah.nongnu.org/git/administration/savane.git\") #> $refs #> ref hash #> 1 HEAD bdfce5e39c3ebb36b748925dfc8a0cde483fda6a #> 2 refs/heads/i18n e5f2c309b038789a82ab5a54d723a3564f1bde58 #> 3 refs/heads/master bdfce5e39c3ebb36b748925dfc8a0cde483fda6a #> 4 refs/tags/release-3.10 e1db1a011effeb7d16a5af9c15b91d8998579ad7 #> 5 refs/tags/release-3.10^{} d16b7e7e849d5d63794b1c48847e8a57250ce2bd #> 6 refs/tags/release-3.11 7d5723e022a7144c077501ecff5ac23984effe8d #> 7 refs/tags/release-3.11^{} af29b8a99fe4b4e7deefb6bcbf9a6d98f43228bf #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"no-done\" \"symref=HEAD:refs/heads/master\" #> [15] \"agent=git/2.17.1\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform a package installation plan — install_package_plan","title":"Perform a package installation plan — install_package_plan","text":"See 'Installation plans' details format.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform a package installation plan — install_package_plan","text":"","code":"install_package_plan( plan, lib = .libPaths()[[1]], num_workers = 1, cache = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform a package installation plan — install_package_plan","text":"plan Package plan object, data frame, see 'Installation plans' format. lib Library directory install . num_workers Number worker processes use. cache Package cache use, NULL.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform a package installation plan — install_package_plan","text":"Information installation process.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":null,"dir":"Reference","previous_headings":"","what":"Installation plans — install_plans","title":"Installation plans — install_plans","text":"installation plan contains data needed install set package files. usually created installation proposal solving dependencies downloading package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Installation plans — install_plans","text":"also possible create installation plan different way. installation plan object must data frame, least following columns: package: name package. type: type package reference. binary: Whether package binary package. file: Full path package file directory. dependencies: list column lists names dependent packages package. needscompilation: Whether package needs compilation. FALSE binary packages. installation plans created via pkg_installation_proposal, plan contains columns pkg_download_result objects, additional ones: library: library package supposed installed . direct: whether package directly requested installed dependency. vignettes: whether vignettes need (re)built. packaged: whether R CMD build already called package.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Installation plans — install_plans","text":"","code":"if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_install_plan() } # }"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":null,"dir":"Reference","previous_headings":"","what":"Check whether a package name is valid — is_valid_package_name","title":"Check whether a package name is valid — is_valid_package_name","text":"Check whether package name valid","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check whether a package name is valid — is_valid_package_name","text":"","code":"is_valid_package_name(nm)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check whether a package name is valid — is_valid_package_name","text":"nm Potential package name, string length 1.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check whether a package name is valid — is_valid_package_name","text":"Logical flag. FALSE, reason attribute contains character string, explanation package name invalid. See examples .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check whether a package name is valid — is_valid_package_name","text":"","code":"is_valid_package_name(\"pak\") #> [1] TRUE is_valid_package_name(\"pkg\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"Package name forbidden by CRAN.\" is_valid_package_name(\"pak\\u00e1ge\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It can only contain ASCII characters.\" is_valid_package_name(\"good-package\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It can only contain letters, numbers and dot.\" is_valid_package_name(\"x\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must have at least two characters.\" is_valid_package_name(\"1stpackage\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must start with a letter.\" is_valid_package_name(\"dots.\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must not end with a dot.\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":null,"dir":"Reference","previous_headings":"","what":"Status of packages in a library — lib_status","title":"Status of packages in a library — lib_status","text":"Query data packages package library.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Status of packages in a library — lib_status","text":"","code":"lib_status(library = .libPaths()[1], packages = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Status of packages in a library — lib_status","text":"library Path library. packages NULL, packages shown.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Status of packages in a library — lib_status","text":"Data frame contains data packages installed library. always columns: biocviews: corresponding field DESCRIPTION, must present Bioconductor packages, packages typically . built: Built field DESCRIPTION. depends, suggests, Imports, linkingto, enhances: corresponding fields DESCRIPTION files. deps: list data frames, dependencies package. columns: ref, type (dependency type lowercase), package (dependent package, R), op version, last two version requirement. op can >=, >, == <=, although first one common practice. library: path package library containing package. license: DESCRIPTION. md5sum: DESCTIPTION, typically NA, except Windows. needscompilation: DESCRIPTION, column logical. package: package name. platform: Built field DESCRIPTION, current platform missing DESCRIPTION. priority: DESCRIPTION, usually base, recommended, missing. ref: corresponding installed::* package reference. repository: DESCRIPTION. packages CRAN repository CRAN, repositories, e.g. R-universe adds repository URL . repotype: cran, bioc missing. rversion: Built field. field, current R version. sysreqs: SystemRequirements field DESCRIPTION. title: package title. type: always installed. version: package version (string). columns unchanged DESCRIPTION, pkgdepends also adds couple.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"notes-","dir":"Reference","previous_headings":"","what":"Notes:","title":"Status of packages in a library — lib_status","text":"addition, also remote* config/needs/* entries DESCRIPTION files. (Case insensitive.) columns type character, except needscompilation, logical deps, list columns. entry missing package, set NA. Note column names lowercase, even corresponding entries DESCRIPTION. order columns deterministic, assume order. Additional columns might present, internal pkgdepends used user code.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"Parse package location references — parse_pkg_refs","title":"Parse package location references — parse_pkg_refs","text":"See pkg_refs supported package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Parse package location references — parse_pkg_refs","text":"","code":"parse_pkg_refs(refs, remote_types = NULL, ...) parse_pkg_ref(ref, remote_types = NULL, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Parse package location references — parse_pkg_refs","text":"refs Character vector references. remote_types Custom remote types can added , advanced use, experimental currently. ... Additional arguments passed individual parser functions. ref package reference, like refs, length one vector, convenience.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Parse package location references — parse_pkg_refs","text":"parse_pkg_refs() returns list parsed references. parse_pkg_ref() returns one parsed reference. parsed reference list, least elements: ref: original reference string. type: reference type. package: package name. typically contains additional data, specific various reference types. See pkg_refs details. parsed reference always class remote_ref_ remote_ref.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a binary package from an installed package — pkg_build","title":"Create a binary package from an installed package — pkg_build","text":"built package current working directory.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a binary package from an installed package — pkg_build","text":"","code":"pkg_build( pkg, library = .libPaths()[1], flavor = Sys.getenv(\"PKG_BUILD_FLAVOR\"), build_number = 1L )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a binary package from an installed package — pkg_build","text":"pkg Package name. library Library path. flavor Platform flavor. Defaults PKG_BUILD_FLAVOR environment variable. NULL empty string, appended platform string dash. build_number integer number added file name, version number, able multiple builds package version.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a binary package from an installed package — pkg_build","text":"Path built package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Create a binary package from an installed package — pkg_build","text":"function currently experimental.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":null,"dir":"Reference","previous_headings":"","what":"pkgdepends configuration — pkg_config","title":"pkgdepends configuration — pkg_config","text":"Configuration entries several pkgdepends classes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"pkgdepends configuration — pkg_config","text":"","code":"current_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"pkgdepends configuration — pkg_config","text":"pkgdepends configuration set several source. , order preference: Function arguments, e.g. config argument new_pkg_installation_proposal(). Global options, set via options(). name global option pkg. prefix plus name pkgdepends configuration entry. E.g. pkg.platforms. Environment variables. name environment variable PKG_ prefix, plus name pkgdepends configuration entry, uppercase. E.g. PKG_PLATFORMS. Default values. classes use entries. E.g. pkg_download_proposal concerned package libraries, 'll ignore library configuration entry. Call current_config() print current configuration.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"configuration-entries","dir":"Reference","previous_headings":"","what":"Configuration entries","title":"pkgdepends configuration — pkg_config","text":"build_vignettes: Whether build vignettes package trees. used package obtained package tree, source (binary) package archive. default vignettes built case. set TRUE, need make sure vignette builder packages available, installed default currently. cache_dir: Directory download packages . Defaults temporary directory within R session temporary directory, see base::tempdir(). cran_mirror: CRAN mirror use. Defaults repos option (see base::options()), set https://cran.rstudio.com. dependencies: Dependencies consider download install. Defaults hard dependencies, see pkg_dep_types_hard(). following values supported PKG_DEPENDENCIES environment variable: \"TRUE\", \"FALSE\", \"NA\", semicolon separated list dependency types. See as_pkg_dependencies() details. git_submodules: Whether update submodules git repositories. affects git:: gitlab:: package sources . R package subdirectory submodules within directory updated. submodule appears .Rbuildignore, skipped. include_linkingto: Whether always include LinkingTo dependencies solution installation, even needed packages installed binaries. sometimes useful, see e.g. https://github.com/r-lib/pak/issues/485 example use case. library: Package library install packages . also used already installed packages considering dependencies dependency lookup package installation. Defaults first path .libPaths(). metadata_cache_dir: Location metadata replica pkgcache::cranlike_metadata_cache. Defaults temporary directory within R session temporary directory, see base::tempdir(). metadata_update_after: time interval difftime object. pkgdepends update metadata cache older . default one day. PKG_METADATA_UPDATE_AFTER environment variable may set seconds (s suffix), minutes (m suffix), hours (h suffix), days (d suffix). E.g: 1d means one day. package_cache_dir: Package cache location pkgcache::package_cache. default pkgcache default. platforms: Character vector platforms download install packages . See default_platforms() possible platform names. Defaults platform current R session, plus \"source\". r_versions: Character vector, R versions download install packages . defaults current R version. sysreqs: Whether automatically look install system requirements. TRUE, r pak_or_pkgdepends() try install required system packages. FALSE, system requirements still printed (including OS packages supported platforms), installed. default TRUE supported platforms, current user root user password-less sudo configured current user. sysreqs_db_update: Whether try update system requirements database GitHub. update fails, cached build-database used. Defaults TRUE. sysreqs_db_update_timeout: Timeout system requirements database update. Defaults five seconds. sysreqs_dry_run: TRUE, pkgdepends prints system commands install system requirements, execute . sysreqs_platform: platform use system requirements lookup. Linux, system requirements currently supported, must string containing distribution name release, separated dash. E.g.: \"ubuntu-22.04\", \"rhel-9\". sysreqs_rspm_repo_id: Posit Package Manager (formerly RStudio Package Manager) repository id use CRAN system requirements lookup. Defaults RSPM_REPO_ID environment variable, set. set, defaults 1. sysreqs_rspm_url: Root URL Posit Package Manager (formerly RStudio Package Manager) system requirements lookup. default RSPM_ROOT environment variable used, set. set, defaults https://packagemanager.posit.co. sysreqs_sudo: Whether use sudo install system requirements, Unix. default TRUE Linux effective user id current process root user. sysreqs_update: Whether try update system packages already installed. defaults TRUE CI systems: CI environment variable set true. sysreqs_verbose: Whether echo output system requirements installation. Defaults TRUE CI environment variable set. use_bioconductor: Whether automatically use Bioconductor repositories. Defaults TRUE. windows_archs: Character scalar specifying architectures download/install Windows. possible values : \"prefer-x64\": Generally prefer x64 binaries. current R session x64, download/install x64 packages. (packages might still multi-architecture binaries!) current R session i386, download/install packages architectures. might mean compiling packages source binary packages x64 , like CRAN Windows binaries R 4.2.x currently. \"prefer-x64\" default R 4.2.0 later. \"\": Always download/install packages i386 x64 architectures. might need compilation source available binaries x64 , like CRAN Windows binaries R 4.2.x currently. \"\" default R 4.2.0 earlier.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":null,"dir":"Reference","previous_headings":"","what":"Possible package dependency types — pkg_dep_types_hard","title":"Possible package dependency types — pkg_dep_types_hard","text":"Hard dependencies needed package load, soft dependencies optional.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Possible package dependency types — pkg_dep_types_hard","text":"","code":"pkg_dep_types_hard() pkg_dep_types_soft() pkg_dep_types()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Possible package dependency types — pkg_dep_types_hard","text":"string vector dependency types, capitalized.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package dependency lookup — new_pkg_deps","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Look dependencies R packages various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"new_pkg_deps(refs, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"refs Package names references. See 'Package references' syntax. ... Additional arguments, passed pkg_deps$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new_pkg_deps() returns new pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new_pkg_deps() creates new object pkg_deps class. advantage new_pkg_deps() compared using pkg_deps constructor directly avoids making pkgdepends build time dependency. usual steps query package dependencies : Create pkg_deps object new_pkg_deps(). Resolve possible dependencies pkg_deps$resolve(). Solve dependencies, obtain subset possible dependencies can installed together, pkg_deps$solve(). Call pkg_deps$get_solution() list result dependency solver.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps$new() pkg_deps$get_refs() pkg_deps$get_config() pkg_deps$resolve() pkg_deps$async_resolve() pkg_deps$get_resolution() pkg_deps$get_solve_policy() pkg_deps$set_solve_policy() pkg_deps$solve() pkg_deps$get_solution() pkg_deps$stop_for_solution_error() pkg_deps$draw() pkg_deps$format() pkg_deps$print() pkg_deps$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Create new pkg_deps object. Consider using new_pkg_deps() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources. perform actual lookup, need call resolve() method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$new( refs, config = list(), policy = c(\"lazy\", \"upgrade\"), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. policy Solution policy. See 'dependency solver'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"package refs used create pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector package refs used create pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Configuration options pkg_deps object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"See 'Configuration' configuration entries.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Returns current policy dependency solver. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector length one.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Set current policy dependency solver. object already contains solution new policy different old policy, solution deleted. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$set_solve_policy(policy = c(\"lazy\", \"upgrade\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"policy Policy set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Solve package dependencies. resolved dependencies, works set packages, can installed together create functional installation. set includes directly specified packages, required (suggested, depending configuration) packages well. includes every package . See 'dependency solver' details. solve() calls resolve() automatically, called yet.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-solution-","dir":"Reference","previous_headings":"","what":"Method get_solution()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Returns solution package dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_solution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-stop-for-solution-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_solution_error()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Error dependency solver failed find consistent set packages can installed together.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$stop_for_solution_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-draw-","dir":"Reference","previous_headings":"","what":"Method draw()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Draw tree package dependencies. returns tree object, see cli::tree(). Printing object prints dependency tree screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$draw()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"tree object cli package, see cli::tree().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Format pkg_deps object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-10","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Prints pkg_deps object screen. printout includes: package refs. Whether object resolved dependencies. Whether resolution errors. Whether object solved dependencies. Whether solution errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-13","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-11","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-14","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"# Method initialize() pd <- pkg_deps$new(\"r-lib/pkgdepends\") pd #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) #> (use `$solve()` to solve dependencies) # Method get_refs() pd <- new_pkg_deps(c(\"pak\", \"jsonlite\")) pd$get_refs() #> [1] \"pak\" \"jsonlite\" # Method get_config() pd <- new_pkg_deps(\"pak\") pd$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da5fcee629\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"unknown\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da6f66763\" #> #> ## library #> #> [1] \"/tmp/RtmpI1G0pE/file18da5eab0e0e\" #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] FALSE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> # Method resolve() pd <- new_pkg_deps(\"pak\") pd$resolve() #> #> ✔ Updated metadata database: 3.64 MB in 3 files. #> #> ℹ Updating metadata database #> ✔ Updating metadata database ... done #> pd$get_resolution() #> # A data frame: 2 × 35 #> ref type direct directpkg status package version license #> #> 1 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> 2 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , … # Method get_resolution() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd$resolve() pd$get_resolution() #> # A data frame: 28 × 35 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method get_solve_policy() pdi <- new_pkg_deps(\"r-lib/pkgdepends\") pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" # Method set_solve_policy() pdi <- new_pkg_deps(\"r-lib/pkgdepends\") pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" # Method solve() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd$resolve() pd$solve() pd$get_solution() #> #> + result: OK #> + refs: #> - r-lib/pkgdepends #> + constraints (58): #> - select pkgdepends exactly once #> - select callr at most once #> - select cli at most once #> - select curl at most once #> - select desc at most once #> - select filelock at most once #> - select jsonlite at most once #> - select lpSolve at most once #> - select pkgbuild at most once #> - select pkgcache at most once #> ... #> + solution: #> - R6 #> - callr #> - curl #> - desc #> - filelock #> - jsonlite #> - lpSolve #> - pkgbuild #> - pkgcache #> - processx #> - ps #> - r-lib/cli #> - r-lib/pkgdepends #> - zip # Method get_solution() pd <- new_pkg_deps(\"pkgload\") pd$resolve() pd$solve() pd$get_solution() #> #> + result: OK #> + refs: #> - pkgload #> + constraints (52): #> - select pkgload exactly once #> - select callr at most once #> - select cli at most once #> - select desc at most once #> - select fs at most once #> - select glue at most once #> - select lifecycle at most once #> - select pkgbuild at most once #> - select processx at most once #> - select ps at most once #> ... #> + solution: #> - R6 #> - callr #> - cli #> - desc #> - fs #> - glue #> - lifecycle #> - pkgbuild #> - pkgload #> - processx #> - ps #> - rlang #> - rprojroot #> - withr # Method stop_for_solution_error() # This is an error, because the packages conflict: pd <- new_pkg_deps( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pd$resolve() pd$solve() pd #> #> + refs: #> - r-lib/pak #> - cran::pak #> + has resolution (+0 dependencies) #> + has solution #> x has solution errors #> (use `$get_resolution()` to see resolution results) #> (use `$show_solution()` to see the dependencies #> (use `$get_solution()` to see the full solution results) # This fails: # pd$stop_for_solution_error() # Method draw() pd <- new_pkg_deps(\"pkgload\") pd$solve() pd$draw() #> pkgload 1.4.0 [new][dl] (unknown size) #> ├─cli 3.6.3 [new][dl] (unknown size) #> ├─desc 1.4.3 [new][dl] (unknown size) #> │ ├─cli #> │ └─R6 2.5.1 [new][dl] (unknown size) #> ├─fs 1.6.5 [new][dl] (unknown size) #> ├─glue 1.8.0 [new][dl] (unknown size) #> ├─lifecycle 1.0.4 [new][dl] (unknown size) #> │ ├─cli #> │ ├─glue #> │ └─rlang 1.1.4 [new][dl] (unknown size) #> ├─pkgbuild 1.4.5 [new][dl] (unknown size) #> │ ├─callr 3.7.6 [new][dl] (unknown size) #> │ │ ├─processx 3.8.4 [new][dl] (unknown size) #> │ │ │ ├─ps 1.8.1 [new][dl] (unknown size) #> │ │ │ └─R6 #> │ │ └─R6 #> │ ├─cli #> │ ├─desc #> │ ├─processx #> │ └─R6 #> ├─processx #> ├─rlang #> ├─rprojroot 2.0.4 [new][dl] (unknown size) #> └─withr 3.0.2 [new][dl] (unknown size) #> #> Key: [new] new | [dl] download # Method print() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) #> (use `$solve()` to solve dependencies) pd$resolve() pd #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> (use `$get_resolution()` to see resolution results) #> (use `$solve()` to solve dependencies) pd$solve() pd #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> + has solution #> (use `$get_resolution()` to see resolution results) #> (use `$show_solution()` to see the dependencies #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package downloads — new_pkg_download_proposal","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Download packages dependencies, various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"new_pkg_download_proposal(refs, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"refs Package names references. See 'Package references' syntax. ... Additional arguments, passed pkg_download_proposal$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package downloads — new_pkg_download_proposal","text":"new_pkg_download_proposal() returns new pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package downloads — new_pkg_download_proposal","text":"new_pkg_download_proposal() creates new object pkg_download_proposal class, can used look download R packages dependencies. advantage new_pkg_download_proposal() compared using pkg_download_proposal constructor directly avoids making pkgdepends build time dependency. Typical workflow download set packages: Create pkg_download_proposal object new_pkg_download_proposal(). Resolve possible dependencies pkg_download_proposal$resolve(). Download files pkg_download_proposal$download(). Get data packages downloads pkg_download_proposal$get_downloads().","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal$new() pkg_download_proposal$get_refs() pkg_download_proposal$get_config() pkg_download_proposal$resolve() pkg_download_proposal$async_resolve() pkg_download_proposal$get_resolution() pkg_download_proposal$download() pkg_download_proposal$async_download() pkg_download_proposal$get_downloads() pkg_download_proposal$stop_for_download_error() pkg_download_proposal$format() pkg_download_proposal$print() pkg_download_proposal$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Create new pkg_download_proposal object. Consider using new_pkg_download_proposal() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources, download package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$new(refs, config = list(), remote_types = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pdl <- pkg_download_proposal$new(\"r-lib/pkgdepends\") pdl"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"package refs used create pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"character vector package refs used create pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Configuration options pkg_download_proposal object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Named list. See 'Configuration' configuration options.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-download-","dir":"Reference","previous_headings":"","what":"Method download()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Download resolved packages. uses package cache pkgcache package default, avoid downloads possible.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-async-download-","dir":"Reference","previous_headings":"","what":"Method async_download()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"download(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$async_download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-downloads-","dir":"Reference","previous_headings":"","what":"Method get_downloads()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Returns summary package downloads.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_downloads()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_result object, list. See pkg_download_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-stop-for-download-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_download_error()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Throw error downloads failed recent pkg_download_proposal$download() call.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$stop_for_download_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Format pkg_download_proposal object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Nothing. character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Prints pkg_download_proposal object screen. printout includes: package refs. Whether object resolved dependencies. Whether resolution errors. Whether downloads completed. Whether downloads errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"# Method get_refs() pdl <- new_pkg_download_proposal(c(\"pak\", \"jsonlite\")) pdl$get_refs() #> [1] \"pak\" \"jsonlite\" # Method get_config() pdl <- new_pkg_download_proposal(\"pak\") pdl$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da702be8ec\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"unknown\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da6f66763\" #> #> ## library #> #> NULL #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] TRUE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> # Method resolve() pdl <- new_pkg_download_proposal(\"pak\") pdl$resolve() pdl$get_resolution() #> # A data frame: 2 × 35 #> ref type direct directpkg status package version license #> #> 1 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> 2 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , … # Method get_resolution() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl$resolve() pdl$get_resolution() #> # A data frame: 28 × 35 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method download() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl$resolve() pdl$download() #> ℹ Getting 13 pkgs (4.04 MB) and 15 pkgs with unknown sizes #> ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build #> ✔ Got callr 3.7.6 (source) (104.36 kB) #> ✔ Got filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (24.75 kB) #> ✔ Got desc 1.4.3 (source) (80.07 kB) #> ✔ Got processx 3.8.4 (source) (163.98 kB) #> ✔ Got cli 3.6.3 (source) (568.16 kB) #> ✔ Got desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (334.41 kB) #> ✔ Got lpSolve 5.6.23 (source) (467.59 kB) #> ✔ Got filelock 1.0.3 (source) (15.44 kB) #> ✔ Got callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) (445.43 kB) #> ✔ Got lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) (374.02 kB) #> ✔ Got ps 1.8.1 (source) (164.39 kB) #> ✔ Got pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (203.40 kB) #> ✔ Got R6 2.5.1 (source) (63.42 kB) #> ✔ Got pkgbuild 1.4.5 (source) (48.10 kB) #> ✔ Got curl 6.0.1 (source) (932.72 kB) #> ✔ Got pkgcache 2.2.3 (source) (266.66 kB) #> ✔ Got zip 2.3.1 (source) (111.28 kB) #> ✔ Got curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (783.82 kB) #> ✔ Got ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (486.48 kB) #> ✔ Got R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (83.25 kB) #> ✔ Got processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (444.53 kB) #> ✔ Got cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.30 MB) #> ✔ Got jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.09 MB) #> ✔ Got pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (921.54 kB) #> ✔ Got jsonlite 1.8.9 (source) (1.06 MB) #> ✔ Got zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (636.87 kB) #> ✔ Got pkgdepends 0.8.0.9000 (source) (1.70 MB) pdl$get_downloads() #> # A data frame: 28 × 40 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 32 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method get_downloads() pdl <- new_pkg_download_proposal(\"pkgload\") pdl$resolve() pdl$download() #> ℹ Getting 7 pkgs (2.45 MB) and 14 pkgs with unknown sizes, 7 (1.19 MB) cached #> ✔ Got lifecycle 1.0.4 (source) (107.66 kB) #> ✔ Cached copy of callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Got rprojroot 2.0.4 (source) (59.95 kB) #> ✔ Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Got glue 1.8.0 (source) (126.68 kB) #> ✔ Got pkgload 1.4.0 (source) (85.66 kB) #> ✔ Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Got lifecycle 1.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (125.14 kB) #> ✔ Got glue 1.8.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (168.32 kB) #> ✔ Got pkgload 1.4.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (217.65 kB) #> ✔ Got rprojroot 2.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (107.18 kB) #> ✔ Got fs 1.6.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (310.00 kB) #> ✔ Got withr 3.0.2 (source) (103.24 kB) #> ✔ Got withr 3.0.2 (x86_64-pc-linux-gnu-ubuntu-22.04) (223.69 kB) #> ✔ Got rlang 1.1.4 (source) (767.04 kB) #> ✔ Got fs 1.6.5 (source) (1.20 MB) #> ✔ Got rlang 1.1.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.60 MB) pdl$get_downloads() #> # A data frame: 28 × 40 #> ref type direct directpkg status package version license #> #> 1 callr standard FALSE FALSE OK callr 3.7.6 MIT + fil… #> 2 cli standard FALSE FALSE OK cli 3.6.3 MIT + fil… #> 3 desc standard FALSE FALSE OK desc 1.4.3 MIT + fil… #> 4 fs standard FALSE FALSE OK fs 1.6.5 MIT + fil… #> 5 glue standard FALSE FALSE OK glue 1.8.0 MIT + fil… #> 6 lifecycle standard FALSE FALSE OK lifecycle 1.0.4 MIT + fil… #> 7 pkgbuild standard FALSE FALSE OK pkgbuild 1.4.5 MIT + fil… #> 8 pkgload standard TRUE TRUE OK pkgload 1.4.0 GPL-3 #> 9 processx standard FALSE FALSE OK processx 3.8.4 MIT + fil… #> 10 ps standard FALSE FALSE OK ps 1.8.1 MIT + fil… #> # ℹ 18 more rows #> # ℹ 32 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method print() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) pdl$resolve() pdl #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> (use `$download()` to download packages) #> (use `$get_resolution()` to see resolution results) pdl$download() #> ℹ Getting 15 pkgs with unknown sizes, 13 (4.04 MB) cached #> ✔ Cached copy of pkgdepends 0.8.0.9000 (source) is the latest build #> ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build #> ✔ Cached copy of callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build pdl #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> + has downloads #> (use `$get_resolution()` to see resolution results) #> (use `$get_downloads()` to get download data)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":null,"dir":"Reference","previous_headings":"","what":"Package downloads — pkg_downloads","title":"Package downloads — pkg_downloads","text":"pkg_download_proposal pkg_installation_proposal classes download methods, downloads package files configured directory (see 'Configuration').","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Package downloads — pkg_downloads","text":"return pkg_download_result object, data frame, adds extra columns pkg_resolution_result (pkg_download_proposal) pkg_solution_result (pkg_installation_proposal): built: Built field DESCRIPTION file binary packages, information available. cache_status: whether package file package cache. NA installed:: package refs. dep_types: character vector dependency types considered package. (list column.) deps: dependencies package, data frame. See \"Package dependency tables\" . direct: whether package (ref, really) directly specified, added dependency. error: list column contains error objects refs pkgdepends failed resolve. filesize: file size bytes, NA information available. license: license package, NA available. md5sum: MD5 checksum package file, available, NA . metadata: named character vector. fields () added installed DESCRIPTION file package. mirror: URL CRAN(-like) mirror site metadata obtained . NA non-CRAN-like sources, e.g. local files, installed packages, GitHub, etc. needscompilation: whether package needs compilation. package: package name. priority: \"base\" base packages, \"recommended\" recommended packages, NA otherwise. ref: package reference. remote: parsed remote_ref objects, see parse_pkg_refs(). list column. repodir: directory package CRAN-like repository. sha256: SHA256 hash package file, available, otherwise NA. sources: URLs package can downloaded . necessarily URL can download HTTP client. E.g. local:: refs path, git:: refs URL git. zero length vector installed:: refs. status: status dependency resolution, \"OK\" \"FAILED\". target: path package saved CRAN-repository. type: ref type. version: package version. fulltarget: absolute path downloaded file. one fulltarget fulltarget_tree must exist disk. fulltarget_tree: absolute path package tree directory. one fulltarget fulltarget_tree must exist disk. download_status: \"\" \"Got\", depending whether file obtained cache. download_error: error object failed downloads. file_size: Size file, NA. installed:: refs, NA, also NA refs created fulltarget_tree instead fulltarget. fulltarget, exists, contains packaged (via R CMD build) source R package. fulltarget_tree exists, package tree directory, still needs R CMD build call. Additional columns might present. either used internally experimental. might removed changed time. columns type character, except direct (logical), needscompilation (logical), filesize (integer), deps (list column, see \"Package dependency tables\" ), sources (list character vectors), remote (list), error (list), metadata (list), dep_types (list).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":"package-dependency-tables","dir":"Reference","previous_headings":"","what":"Package dependency tables","title":"Package downloads — pkg_downloads","text":"package dependency tables deps list column five columns currently: ref: package ref dependency. type: dependency type, lowercase. .e. imports, suggests, etc. package: package name dependency. op: operator version requirements, e.g. >=. version: version number, version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for installation from a lock file — new_pkg_installation_plan","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"installation plan similar installation proposal (.e. pkg_installation_proposal), already contains solved dependencies, complete download URLs.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"new_pkg_installation_plan(lockfile = \"pkg.lock\", config = list(), ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"lockfile Path lock file use. config Configuration options, named list. See 'Configuration'. include library, .libPaths()[1] added library. ... Additional arguments, passed pkg_installation_plan$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"new_pkg_installation_plan() returns pkg_installation_plan object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Typically create pkg_installation_plan object new_pkg_installation_plan() call $download() method download packages $install() method install .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"super-class","dir":"Reference","previous_headings":"","what":"Super class","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkgdepends::pkg_installation_proposal -> pkg_installation_plan","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkgdepends::pkg_installation_proposal$async_download() pkgdepends::pkg_installation_proposal$create_lockfile() pkgdepends::pkg_installation_proposal$download() pkgdepends::pkg_installation_proposal$draw() pkgdepends::pkg_installation_proposal$get_config() pkgdepends::pkg_installation_proposal$get_downloads() pkgdepends::pkg_installation_proposal$get_install_plan() pkgdepends::pkg_installation_proposal$get_refs() pkgdepends::pkg_installation_proposal$get_resolution() pkgdepends::pkg_installation_proposal$get_solution() pkgdepends::pkg_installation_proposal$get_sysreqs() pkgdepends::pkg_installation_proposal$install() pkgdepends::pkg_installation_proposal$install_sysreqs() pkgdepends::pkg_installation_proposal$print() pkgdepends::pkg_installation_proposal$show_solution() pkgdepends::pkg_installation_proposal$show_sysreqs() pkgdepends::pkg_installation_proposal$stop_for_download_error() pkgdepends::pkg_installation_proposal$stop_for_solution_error()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkg_installation_plan$new() pkg_installation_plan$resolve() pkg_installation_plan$async_resolve() pkg_installation_plan$get_solve_policy() pkg_installation_plan$set_solve_policy() pkg_installation_plan$solve() pkg_installation_plan$update() pkg_installation_plan$update_sysreqs() pkg_installation_plan$format() pkg_installation_plan$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Create new pkg_installation_plan object. Consider using new_pkg_installation_plan() instead calling constructor directly. returned object can used download install packages, according plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$new( lockfile = \"pkg.lock\", config = list(), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"lockfile Path lock file use. config Configuration options. See 'Configuration'. needs include package library install , library. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Installation plans already solved, method return NA_character_, always.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$set_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-update-","dir":"Reference","previous_headings":"","what":"Method update()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Update plan current state library. library changed since plan created, nothing. new packages installed, might necessary download install packages plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$update()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"operation different creating new proposal updated library, uses packages package versions original plan. E.g. library newer version package, $update() downgrade version plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-update-sysreqs-","dir":"Reference","previous_headings":"","what":"Method update_sysreqs()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Update information installed missing system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$update_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Format pkg_installation_plan object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package download and installation. — new_pkg_installation_proposal","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Download install R packages, dependencies, various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"new_pkg_installation_proposal(refs, config = list(), ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. include library, .libPaths()[1] added library. ... Additional arguments, passed pkg_installation_proposal$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"new_pkg_installation_proposal() returns new pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"new_pkg_installation_proposal() creates new object pkg_installation_proposal class. advantage new_pkg_installation_proposal() compared using pkg_installation_proposal constructor directly avoids making pkgdepends build time dependency. Typical workflow install set packages: Create pkg_installation_proposal object new_pkg_installation_proposal(). Resolve possible dependencies pkg_installation_proposal$resolve(). Solve package dependencies, get installation plan, pkg_installation_proposal$solve(). Download files pkg_installation_proposal$download(). Install downloaded files pkg_installation_proposal$install().","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal$new() pkg_installation_proposal$get_refs() pkg_installation_proposal$get_config() pkg_installation_proposal$resolve() pkg_installation_proposal$async_resolve() pkg_installation_proposal$get_resolution() pkg_installation_proposal$get_solve_policy() pkg_installation_proposal$set_solve_policy() pkg_installation_proposal$solve() pkg_installation_proposal$get_solution() pkg_installation_proposal$show_solution() pkg_installation_proposal$get_sysreqs() pkg_installation_proposal$show_sysreqs() pkg_installation_proposal$stop_for_solution_error() pkg_installation_proposal$create_lockfile() pkg_installation_proposal$draw() pkg_installation_proposal$download() pkg_installation_proposal$async_download() pkg_installation_proposal$get_downloads() pkg_installation_proposal$stop_for_download_error() pkg_installation_proposal$install() pkg_installation_proposal$install_sysreqs() pkg_installation_proposal$get_install_plan() pkg_installation_proposal$format() pkg_installation_proposal$print() pkg_installation_proposal$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Create new pkg_installation_proposal object. Consider using new_pkg_installation_proposal() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources, download install package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$new( refs, config = list(), policy = c(\"lazy\", \"upgrade\"), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. needs include package library install , library. policy Solution policy. See 'dependency solver'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"package refs used create pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector package refs used create pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Configuration options pkg_installation_proposal object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Named list. See 'Configuration' configuration options.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns current policy dependency solver. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector length one.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Set current policy dependency solver. object already contains solution new policy different old policy, solution deleted. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$set_solve_policy(policy = c(\"lazy\", \"upgrade\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"policy Policy set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Solve package dependencies. resolved dependencies, works set packages, can installed together create functional installation. set includes directly specified packages, required (suggested, depending configuration) packages well. includes every package . See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-solution-","dir":"Reference","previous_headings":"","what":"Method get_solution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns solution package dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_solution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-show-solution-","dir":"Reference","previous_headings":"","what":"Method show_solution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Show solution screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$show_solution(key = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"key Whether show key package list annotation.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-sysreqs-","dir":"Reference","previous_headings":"","what":"Method get_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Query categorize system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-show-sysreqs-","dir":"Reference","previous_headings":"","what":"Method show_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Show system requirements packages solution.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$show_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-stop-for-solution-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_solution_error()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Error dependency solver failed find consistent set packages can installed together.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-13","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$stop_for_solution_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-create-lockfile-","dir":"Reference","previous_headings":"","what":"Method create_lockfile()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Create lock file contains information perform installation later, possibly another R session.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-14","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$create_lockfile(path = \"pkg.lock\", version = 1)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"path Name lock file. default pkg.lock current working directory. version version 1 supported currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Note, since URLs CRAN CRAN-like repositories change time, practice perform plan lock file much later. example, binary packages older package version removed, found. Similarly, url:: remote types, URL might hold updated version package, compared lock file created. happen, pkgdepends prints warning, try continue installation. installation might fail updated package different (e.g. new) dependencies. Currently intended use case lock files CI systems, facilitate caching. (hash ) lock file provides good key caching systems.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-draw-","dir":"Reference","previous_headings":"","what":"Method draw()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Draw tree package dependencies. returns tree object, see cli::tree(). Printing object prints dependency tree screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-15","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$draw()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"tree object cli package, see cli::tree().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-download-","dir":"Reference","previous_headings":"","what":"Method download()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Download packages part solution. uses package cache pkgcache package default, avoid downloads possible.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-16","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-10","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-async-download-","dir":"Reference","previous_headings":"","what":"Method async_download()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"download(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-17","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$async_download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-11","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-downloads-","dir":"Reference","previous_headings":"","what":"Method get_downloads()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns summary package downloads.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-18","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_downloads()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-12","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_download_result object, list. See pkg_download_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-stop-for-download-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_download_error()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Throw error downloads failed recent pkg_installation_proposal$download() call.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-19","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$stop_for_download_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-install-","dir":"Reference","previous_headings":"","what":"Method install()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Install downloaded packages. calls install_package_plan().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-20","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$install()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-13","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"return value install_package_plan().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-install-sysreqs-","dir":"Reference","previous_headings":"","what":"Method install_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Install system requirements. nothing system requirements turned . Create installation plan downloaded packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-21","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$install_sysreqs()"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-22","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_install_plan()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-14","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"installation plan, see 'Installation plans' format.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Format pkg_installation_proposal object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-23","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-15","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Prints pkg_installation_proposal object screen. printout includes: package refs. policy dependency solver. Whether object solved dependencies. Whether solution errors. Whether object downloads. Whether downloads errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-24","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-6","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-16","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-25","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-7","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi pdi$resolve() pdi pdi$solve() pdi pdi$download() pdi } # } pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile())) #> ℹ Creating library directory: /tmp/RtmpI1G0pE/file18da29860c17 pdi #> #> + refs: #> - r-lib/pkgdepends #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi <- new_pkg_installation_proposal(\"r-lib/pkgdepends\") pdi$get_refs() #> [1] \"r-lib/pkgdepends\" pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpI1G0pE/file18da567a49af pdi$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da7fe6e6ab\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"install\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpI1G0pE/file18da6f66763\" #> #> ## library #> #> [1] \"/tmp/RtmpI1G0pE/file18da567a49af\" #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] TRUE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$get_resolution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$get_resolution() } # } pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpI1G0pE/file18da236657aa pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpI1G0pE/file18da3d89f206 pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() pdi$show_solution() } # } if (FALSE) { # \\dontrun{ # This is an error, because the packages conflict: pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi # This fails: # pdi$stop_for_solution_error() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$draw() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_downloads() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_downloads() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_install_plan() } # } # Method print pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpI1G0pE/file18da268602b5 pdi #> #> + refs: #> - pak #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi$resolve() pdi #> #> + refs: #> - pak #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi$solve() pdi #> #> + refs: #> - pak #> + solution policy: lazy #> + has solution #> (use `$download()` to download packages) #> (use `$show_solution()` to see the packages to install #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree) #> (use `$create_lockfile()` to write a lock file) pdi$download() #> ℹ Getting 1 pkg with unknown size #> ✔ Got pak 0.8.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (5.98 MB) pdi #> #> + refs: #> - pak #> + solution policy: lazy #> + has solution #> + has downloads #> (use `$show_solution()` to see the packages to install #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree) #> (use `$create_lockfile()` to write a lock file) #> (use `$get_downloads()` to get download data) #> (use `$get_install_plan()` to get the installation plan) #> (use `$install()` to install the packages)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if an R package name is available. — pkg_name_check","title":"Check if an R package name is available. — pkg_name_check","text":"Additionally, look candidate name number dictionaries, make sure negative meaning.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if an R package name is available. — pkg_name_check","text":"","code":"pkg_name_check(name, dictionaries = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if an R package name is available. — pkg_name_check","text":"name Package name candidate. dictionaries Character vector, dictionaries query. Available dictionaries: * wikipedia * wiktionary, * sentiment (https://github.com/fnielsen/afinn), * urban (Urban Dictionary). NULL (default), Urban Dictionary omitted, often offensive.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if an R package name is available. — pkg_name_check","text":"pkg_name_check object custom print method.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"valid-package-name-check","dir":"Reference","previous_headings":"","what":"Valid package name check","title":"Check if an R package name is available. — pkg_name_check","text":"Check validity name package name. See 'Writing R Extensions' allowed package names. Also checked list names known cause problems.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"cran-checks","dir":"Reference","previous_headings":"","what":"CRAN checks","title":"Check if an R package name is available. — pkg_name_check","text":"Check name names past current packages CRAN, including base recommended packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"bioconductor-checks","dir":"Reference","previous_headings":"","what":"Bioconductor checks","title":"Check if an R package name is available. — pkg_name_check","text":"Check name past current Bioconductor packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"profanity-check","dir":"Reference","previous_headings":"","what":"Profanity check","title":"Check if an R package name is available. — pkg_name_check","text":"Check name https://www.purgomalum.com/service/containsprofanity make sure profanity.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"dictionaries","dir":"Reference","previous_headings":"","what":"Dictionaries","title":"Check if an R package name is available. — pkg_name_check","text":"See dictionaries argument.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if an R package name is available. — pkg_name_check","text":"","code":"pkg_name_check(\"cli\") #> ╔════════════════════════════════════════════════════════════════════════╗ #> ║ –*– cli –*– ║ #> ╚════════════════════════════════════════════════════════════════════════╝ #> ┌────────────────────────────────────────────────────────────────────────┐ #> │ ✔ valid name ✖ CRAN ✔ Bioconductor │ #> │ ✔ not a profanity │ #> └────────────────────────────────────────────────────────────────────────┘ #> ┌ Wikipedia ─────────────────────────────────────────────────────────────┐ #> │ CLI (from Cli) CLI may refer to multiple articles, see link. │ #> └───────────────────────────────────── https://en.wikipedia.org/wiki/CLI ┘ #> ┌ Wiktionary ────────────────────────────────────────────────────────────┐ #> │ cli No English definition found │ #> └──────────────────────────────────── https://en.wiktionary.org/wiki/cli ┘ #> ┌────────────────────────────────────────────────────────────────────────┐ #> │ Sentiment: :| (0) │ #> └────────────────────────────────────────────────────────────────────────┘"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"Package references — pkg_refs","title":"Package references — pkg_refs","text":"package reference (ref) specifies location R package can obtained . full syntax reference type::ref, type can often omitted, common ref types shortcuts.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-references","dir":"Reference","previous_headings":"","what":"Package references","title":"Package references — pkg_refs","text":"Many pkgdepends pak functions take package names arguments. E.g. pak::pkg_install() takes names packages install, pak::pkg_deps_tree() takes names packages draw dependency trees . function can also take generic package reference instead package name. package reference also tells pkgdepends find package, package source. specify package source, use name prefix, :: separator. E.g. cran::mypkg means mypkg package CRAN. package name special package reference, implicitly specifies configured CRAN(-like) repositories package source. (call standard package source.) mypkg equivalent standard::mypkg pak look mypkg configured CRAN-like repositories. explicitly specify CRAN-like repositories (e.g. options(\"repos\")), pak uses CRAN Bioconductor repositories default. list currently supported package sources. discuss detail . cran: CRAN package. bioc: Bioconductor package. standard: package configured CRAN-like repository. github: package GitHub. gitlab: package GitLab. git: package git repository. local: local package file directory. url: URL points package archive. installed installed package. deps dependencies local package file directory. special reference type accepts package source. See . param special reference change references downloaded installed. See \"Parameters\" .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"shorthands","dir":"Reference","previous_headings":"","what":"Shorthands","title":"Package references — pkg_refs","text":"save typing, always need fully specify package source package reference. seen package name implicitly standard package source. complete rules shorthands, order applied: ref valid package name, package name @ version specification, standard package source used. E.g. pkg equivalent standard::pkg pkg@1.0 equivalent standard::pkg@1.0. ref valid github ref type without github:: prefix, github used. E.g. user/repo equivalent github::user/repo user/repo@tag equivalent github::user/repo@tag, etc. ref GitHub URL (see ) without github:: prefix, github used. ref path starts . / \\ ~ local used. (pkgdepends check path exists.) package reference form =?, special param type. See \"Parameters\" . package reference explicit package source, package source determined rules, pkgdepends throws error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-names","dir":"Reference","previous_headings":"","what":"Package names","title":"Package references — pkg_refs","text":"pkgdepends looking dependencies package, needs able determine name dependency package reference. sometimes easy dependencies Remotes (similar) fields. github:: gitlab:: dependencies pkgdepends assumes package name name repository. hold, need specify package name explicitly, using = prefix. E.g. pins=rstudio/pins-r. specify package source type package name, package name comes first: pins=github::rstudio/pins-r. git:: dependencies, pkgdepends assumes package name last component repository. hold, need specify package name explicitly, using = prefix. E.g. pins=git::https://github.com/rstudio/pins-r. local:: dependencies, always need specify package name explicitly. E.g. pins=local::~/works/pins. url:: dependencies, always need specify package name explicitly. E.g. ggplot2=url::https://cloud.r-project.org/src/contrib/....","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Package references — pkg_refs","text":"Package references may optional parameters, added question mark. Different parameters separated ampersand (&) character. (similar HTTP URLs take query parameters.) Parameters may flags turn behavior, can string value, assigned equal sign (=). value assigned, assume true value. example two package refs equivalent:","code":"cran::testthat?source&nocache cran::testthat?source=true&nocache=true"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameters-for-downstream-packages","dir":"Reference","previous_headings":"","what":"Parameters for downstream packages","title":"Package references — pkg_refs","text":"pkgdepends allows specifying parameters downstream packages, using =? special package reference, package name package, parameters, . useful want add parameter downstream dependency. example, install ggplot2, always reinstall cli package dependency use ggplot2 cli=?reinstall package references. latter tells pkgdepends always reinstall cli, even already installed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"currently-supported-parameters","dir":"Reference","previous_headings":"","what":"Currently supported parameters","title":"Package references — pkg_refs","text":"ignore flag parameter. specified, package ignored. usually makes sense packagename=?ignore form, ignore downstream soft dependency. versions hard dependency ignored lead solution error. ignore--r version number parameter. package ignored R versions older specified one. E.g. Matrix=?ignore--r=4.1.2 ignore Matrix package R versions older 4.1.2. parameter really makes sense packgename=?ignore form. ignore-unavailable flag. can specified soft dependencies. specified package available, ignored. parameter really makes sense packagename=?ignore-unavailable form. source flag parameter. specified, source R package requested CRAN-like repository. package installations source always triggers re-install. words, source implies reinstall parameter. parameter supported bioc::, cran:: standard:: remote types, ignored others. reinstall requests re-install package installations. supported bioc::, cran::, git::, github::, gitlab::, local::, standard::, url:: remote types. nocache ignore package cache. always download package file, add downloaded (built) package(s) package cache. supported bioc::, cran::, git::, github::, gitlab::, standard:: url:: remote types.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"cran-packages-cran-","dir":"Reference","previous_headings":"","what":"CRAN packages (cran::)","title":"Package references — pkg_refs","text":"package CRAN. Full syntax: valid package name. version version requirement. Examples: Note: pkgdepends currently parses version specification part (everything @), use .","code":"[cran::][@[>=] | @current | @last] forecast forecast@8.8 forecast@>=8.8 cran::forecast forecast@last forecast@current"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"bioconductor-packages-bioc-","dir":"Reference","previous_headings":"","what":"Bioconductor packages (bioc::)","title":"Package references — pkg_refs","text":"package Bioconductor. syntax CRAN packages, except prefix.","code":"[bioc::][@[>=] | @current | @last]"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"standard-packages-standard-","dir":"Reference","previous_headings":"","what":"Standard packages (standard::)","title":"Package references — pkg_refs","text":"packages either CRAN Bioconductor, full syntax CRAN packages, except prefix:","code":"[standard::][@[>=] | current | last]"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"github-packages-github-","dir":"Reference","previous_headings":"","what":"GitHub packages (github::)","title":"Package references — pkg_refs","text":"Packages GitHub repository. Full syntax: name package. missing, name repository used. GitHub username organization name. name repository. optional subdirectory, package within subdirectory repository. specifies certain version package, see . may specify: git branch, tag (prefix ) commit hash: @; pull request: #; latest release: @*release. missing, latest commit default branch used. Examples: convenience GitHub HTTP URLs can also used specify package GitHub. Examples: GitHub remote string can also used instead URL, example: git@github.com:r-lib/pak.git","code":"[=][github::]/[/][] r-lib/crayon github::r-lib/crayon r-lib/crayon@84be6207 r-lib/crayon@branch r-lib/crayon#41 r-lib/crayon@release https://github.com/r-lib/withr # A branch: https://github.com/r-lib/withr/tree/ghactions # A tag: https://github.com/r-lib/withr/tree/v2.1.1 # A commit: https://github.com/r-lib/withr/commit/8fbcb548e316 # A pull request: https://github.com/r-lib/withr/pull/76 # A release: https://github.com/r-lib/withr/releases/tag/v2.1.0"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"gitlab-packages-gitlab-","dir":"Reference","previous_headings":"","what":"GitLab packages (gitlab::)","title":"Package references — pkg_refs","text":"Packages GitLab repository. Full syntax: name package. missing, name repository used. typically GitLab username group name, may contain subgroups. name repository, project GitLab terminology. optional subdirectory, package within subdirectory repository. Note GitLab, must come /- prefix, able distinguish subgroups. may specify git branch, tag (prefix ) commit hash. missing, latest commit default branch used. gitlab:: supports git submodules, see git-submodules configuration entry. Examples:","code":"[=][github::]/[/-/][] gitlab::gaborcsardi/cli gitlab::r-hub/filelock@main gitlab::group/subgroup/subsubgroup/project/-/subdir@ref"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"packages-in-git-repositories-git-","dir":"Reference","previous_headings":"","what":"Packages in git repositories (git::)","title":"Package references — pkg_refs","text":"Full syntax: name package. missing, last component used. host name path git repository. git repositories need .git suffix , others forgiving. specifies certain version package: git branch, tag (prefix ) commit hash: @. missing, latest commit default branch used. git:: supports git submodules, see git-submodules configuration entry. Examples: Note pkgdepends built-git client, require system git installation. system git installed, pkgdepends use credentials stored configured git credential store, automatically, via gitcreds package.","code":"[=]git::https?://[] git::https://github.com/r-lib/crayon git::https://github.com/r-lib/crayon.git git::https://github.com/r-lib/crayon.git@84be6207 git::https://github.com/r-lib/crayon.git@branch git::https://gitlab.com/gaborcsardi/cli.git"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"local-packages-local-","dir":"Reference","previous_headings":"","what":"Local packages (local::)","title":"Package references — pkg_refs","text":"path refers package file built R CMD build, directory contains package. Full syntax: brevity, can omit local:: prefix, specify absolute path, path user's home directory, starting ~, relative path starting ./ .\\\\. single dot (\".\") considered local package current working directory. Examples: specify local package dependency (.e. DESCRIPTION), also need specify name package, see \"Package names\" .","code":"local:: local::/foo/bar/package_1.0.0.tar.gz local::/foo/bar/pkg local::. /absolute/path/package_1.0.0.tar.gz ~/path/from/home ./relative/path ."},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"urls-url-","dir":"Reference","previous_headings":"","what":"URLs (url::)","title":"Package references — pkg_refs","text":"can use url:: refer URLs hold R package archives (.e. properly built R CMD build), compressed directories package trees (.e. built R CMD build). pkgdepends figure needs run R CMD build package first. remote type supports .tar.gz .zip files. Note URLs ideal remote types, pkgdepends needs download package file resolve dependencies. happens, puts package file cache, downloads needed installing package later. Examples: specify package URL dependency (.e. DESCRIPTION), also need specify name package, see \"Package names\" .","code":"url::https://cloud.r-project.org/src/contrib/Archive/cli/cli_1.0.0.tar.gz url::https://github.com/tidyverse/stringr/archive/HEAD.zip"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"installed-packages-installed-","dir":"Reference","previous_headings":"","what":"Installed packages (installed::)","title":"Package references — pkg_refs","text":"usually used internally, can also used directly. Full syntax: library package installed . package name. Example:","code":"installed::/ installed::~/R/3.6/crayon"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-dependencies-deps-","dir":"Reference","previous_headings":"","what":"Package dependencies (deps::)","title":"Package references — pkg_refs","text":"Usually used internally, specifies dependencies local package. can used download install dependencies package, without downloading installing package . Full syntax: Examples:","code":"deps:: deps::/foo/bar/package_1.0.0.tar.gz deps::/foo/bar/pkg deps::."},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"any-packages","dir":"Reference","previous_headings":"","what":"any:: packages","title":"Package references — pkg_refs","text":"Sometimes need install additional packages, mind installed . example. want install cli GitHub, r-lib/cli. also want install glue, mind version glue installed, long compatible requested cli version. cli specifies development version glue, fine. cli fine CRAN version glue, OK, . future version cli depend glue, still want glue installed, CRAN. :: reference type exactly . example might write first, fail rlib/cli requests (say) tidyverse/glue, pkg_install() \"glue\" interpreted \"standard::glue\", creating conflict tidyverse/glue. hand works, independently glue version requested cli.","code":"pak::pkg_install(c(\"glue\", \"r-lib/cli\")) pak::pkg_install(c(\"any::glue\", \"r-lib/cli\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameter-refs-param-","dir":"Reference","previous_headings":"","what":"Parameter refs (param::)","title":"Package references — pkg_refs","text":"See \"Parameters\" .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"the-remotes-field","dir":"Reference","previous_headings":"","what":"The Remotes field","title":"Package references — pkg_refs","text":"DESCRIPTION file R package can mark regular dependency defined Depends, Imports, Suggests Enhances fields installed non-standard package source adding package reference Remotes entry. pkgdepends download install package specified location, instead CRAN-like repository. remote dependencies specified Remotes comma separated list package sources: Note still need add package one regular dependency fields, .e. Imports, Suggests, etc. concrete example specifies r-lib/glue package: CRAN Bioconductor repositories support Remotes field, need remove field, submitting package either .","code":"Remotes: , , [ ... ] Imports: glue Remotes: r-lib/glue, r-lib/httr@v0.4, klutometis/roxygen#142, r-lib/testthat@c67018fa4970"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":null,"dir":"Reference","previous_headings":"","what":"Dependency resolution — pkg_resolution","title":"Dependency resolution — pkg_resolution","text":"Collect information dependencies R packages, recursively.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Dependency resolution — pkg_resolution","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"cran-and-bioconductor-packages","dir":"Reference","previous_headings":"","what":"CRAN and Bioconductor packages","title":"Dependency resolution — pkg_resolution","text":"Resolution currently start downloading CRAN Bioconductor metadata, date. CRAN, also download additional metadata, includes file sizes, SHA hashes, system requirements, \"built\" (binary packages) \"packaged\" time stamps. extra meta information updated daily currently, packages might incorrect missing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"github-packages","dir":"Reference","previous_headings":"","what":"GitHub packages","title":"Dependency resolution — pkg_resolution","text":"GitHub packages, query download URL able download package later, also download DESCRIPTION file, learn dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"local-packages","dir":"Reference","previous_headings":"","what":"Local packages","title":"Dependency resolution — pkg_resolution","text":"local package files extract DESCRIPTION file, learn dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"the-remotes-field-in-description","dir":"Reference","previous_headings":"","what":"The remotes field in DESCRIPTION","title":"Dependency resolution — pkg_resolution","text":"support non-standard Remotes field package DESCRIPTION file. field may contain list package references dependencies specified one Depends, Includes, Suggests Enhances fields. syntax comma separated list package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"the-result","dir":"Reference","previous_headings":"","what":"The result","title":"Dependency resolution — pkg_resolution","text":"result resolution data frame information packages dependencies. built: Built field DESCRIPTION file binary packages, information available. cache_status: whether package file package cache. NA installed:: package refs. dep_types: character vector dependency types considered package. (list column.) deps: dependencies package, data frame. See \"Package dependency tables\" . direct: whether package (ref, really) directly specified, added dependency. error: list column contains error objects refs pkgdepends failed resolve. filesize: file size bytes, NA information available. license: license package, NA available. md5sum: MD5 checksum package file, available, NA . metadata: named character vector. fields () added installed DESCRIPTION file package. mirror: URL CRAN(-like) mirror site metadata obtained . NA non-CRAN-like sources, e.g. local files, installed packages, GitHub, etc. needscompilation: whether package needs compilation. package: package name. priority: \"base\" base packages, \"recommended\" recommended packages, NA otherwise. ref: package reference. remote: parsed remote_ref objects, see parse_pkg_refs(). list column. repodir: directory package CRAN-like repository. sha256: SHA256 hash package file, available, otherwise NA. sources: URLs package can downloaded . necessarily URL can download HTTP client. E.g. local:: refs path, git:: refs URL git. zero length vector installed:: refs. status: status dependency resolution, \"OK\" \"FAILED\". target: path package saved CRAN-repository. type: ref type. version: package version. Additional columns might present. either used internally experimental. might removed changed time. columns type character, except direct (logical), needscompilation (logical), filesize (integer), deps (list column, see \"Package dependency tables\" ), sources (list character vectors), remote (list), error (list), metadata (list), dep_types (list).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"package-dependency-tables","dir":"Reference","previous_headings":"","what":"Package dependency tables","title":"Dependency resolution — pkg_resolution","text":"package dependency tables deps list column five columns currently: ref: package ref dependency. type: dependency type, lowercase. .e. imports, suggests, etc. package: package name dependency. op: operator version requirements, e.g. >=. version: version number, version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"resolution-failures","dir":"Reference","previous_headings":"","what":"Resolution failures","title":"Dependency resolution — pkg_resolution","text":"resolution process stop error. Instead, failed resolutions return error object error column result data frame.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":null,"dir":"Reference","previous_headings":"","what":"A set of handy regular expressions related to R packages — pkg_rx","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"use R, make sure specify perl = TRUE, see base::grep().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"","code":"pkg_rx()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"named list strings.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"Currently included: pkg_name: valid package name. type_cran: cran:: package reference. type_bioc: bioc:: package reference. type_standard: standard:: package reference. type_github: github:: package reference. type_git: git:: package reference. type_local: local:: package reference. type_deps: deps:: package reference. type_installed: installed:: package reference. github_username: GitHub username. github_repo: GitHub repository name. github_url: GitHub URL.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"","code":"pkg_rx() #> $pkg_name #> [1] \"[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9]\" #> #> $type_cran #> [1] \"^(?:cran::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_bioc #> [1] \"^(?:bioc::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_standard #> [1] \"^(?:standard::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_github #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:github::)?(?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))/(?[^/@#]+)(?:/(?(?:[^@#]*[^@#/])/?))?(?:(?:(?:@(?[^*].*)))|(?:(?:#(?[0-9]+)))|(?:(?:@(?[*]release))))?$\" #> #> $type_git #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:git::)(?:(?[^/]*)://)?(?[^/]+)(?[^@]*/)(?[^/@]*)(?:@(?.*))?\" #> #> $type_local #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?|local::(?.*)|(?(?:/|\\\\\\\\|~|[.]/|[.]\\\\\\\\|[.]$).*))$\" #> #> $type_deps #> [1] \"^(?:deps::)(?.*)$\" #> #> $type_installed #> [1] \"^(?:installed::)?(?.*)/(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])$\" #> #> $github_username #> [1] \"(?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))\" #> #> $github_repo #> [1] \"(?[^/@#]+)\" #> #> $github_url #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:github::)?(?:(?:https?://)|(?:(?:ssh://|[^@]+@)))(?:[^/:]+)[/:](?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))/(?[^/@#]+?)(?)(?:[.]git)?(?:/(?:(?:(?:tree|commit|releases/tag)/(?.+$))|(?:pull/(?.+$))|(?:releases/)(?.+$)))?$\" #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":null,"dir":"Reference","previous_headings":"","what":"The dependency solver — pkg_solution","title":"The dependency solver — pkg_solution","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"solution-policies","dir":"Reference","previous_headings":"","what":"Solution policies","title":"The dependency solver — pkg_solution","text":"dependency solver currently supports two policies: lazy upgrade. lazy policy prefers minimize installation time, perform package upgrades, unless version requirements require . upgrade policy prefers update package latest possible versions, still considers version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"the-integer-problem","dir":"Reference","previous_headings":"","what":"The integer problem","title":"The dependency solver — pkg_solution","text":"Solving package dependencies requires solving integer linear problem (ILP). subsection briefly describes problem represented integer problem, solution policies exactly mean. Every row package resolution candidate dependency solver. integer problem, every candidate corresponds binary variable. 1 candidate selected part solution, 0 otherwise. objective ILP minimization defined differently different solution policies. ILP conditions . lazy policy, installed:: packaged get 0 points, binary packages 1 point, sources packages 5 points. 'upgrade' policy, rank candidates given package according version numbers, assign points older versions. Points assigned 100 candidates equal versions get equal points. still prefer installed packages binaries source packages, also add 0 point already installed candidates, 1 extra points binaries 5 points source packages. directly specified refs, aim install package exactly . require variables corresponding package sum 1. non-direct refs (.e. dependencies), require variables corresponding package sum one. Since every candidate least 1 point objective function minimization problem, non-needed dependencies omitted. direct refs, require candidates satisfy references. means exactly depends ref types. E.g. CRAN packages, means CRAN candidate must selected. standard ref, GitHub candidate OK well. rule candidates dependency resolution failed. go dependency requirements rule packages meet . every package , requires package B, select B(, =1..k) candidates B satisfy 's requirements add - B(1) - ... - B(k) <= 0 rule. satisfy rule, either install , installed, one good B candidates must installed well. rule non-installed CRAN Bioconductor candidates packages already installed candidate exact version. also rule source CRAN Bioconductor candidates packages binary candidate exact version.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"explaining-why-the-solver-failed","dir":"Reference","previous_headings":"","what":"Explaining why the solver failed","title":"The dependency solver — pkg_solution","text":"able explain solution attempt failed, also add dummy variable directly required package. dummy variable large objective value, selected way install directly required package. failed solution, look dummy variables selected, see directly required package failed solve. check rule(s) ruled installation packages, dependencies, recursively.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"the-result","dir":"Reference","previous_headings":"","what":"The result","title":"The dependency solver — pkg_solution","text":"result solution pkg_solution_result object. named list entries: status: Status solution attempt, \"OK\" \"FAILED\". data: selected candidates. similar pkg_resolution_result object, two extra columns: lib_status: status package library, installation. Possible values: new (newly installed), current (date, installed), update (updated), -update (update, ). old_version: old (current) version package library, NA package currently installed. problem: ILP problem. exact representation implementation detail, informative print method. solution: return value internal solver.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":null,"dir":"Reference","previous_headings":"","what":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkgdepends toolkit package dependencies, downloads installations, used packages. looking package manager, see pak.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"features","dir":"Reference","previous_headings":"","what":"Features","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Look package dependencies recursively. Visualize package dependencies. Download packages dependencies. Install downloaded packages. Includes dependency solver find consistent set dependencies. Supports CRAN Bioconductor packages automatically. Supports packages GitHub GitLab. Supports packages git repositories. Supports package bundles files web. Supports local package file trees. Supports Remotes entry DESCRIPTION file. Caches metadata downloaded packages via pkgcache Performs downloads HTTP queries concurrently. Builds installs packages parallel.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"install","dir":"Reference","previous_headings":"","what":"Install","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Install package : need development version, install ","code":"install.packages(\"pkgdepends\") pak::pak(\"r-lib/pkgdepends\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"","code":"library(pkgdepends)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-references","dir":"Reference","previous_headings":"","what":"Package references","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"package reference (ref) specifies location R package can obtained . Examples: See “Package references” details.","code":"devtools cran::devtools bioc::Biobase r-lib/pkgdepends https://github.com/r-lib/pkgdepends local::~/works/shiny"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-dependencies","dir":"Reference","previous_headings":"","what":"Package dependencies","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Dependencies development version cli package: See pkg_deps class details.","code":"pd <- new_pkg_deps(\"r-lib/pkgcache\") pd$solve() pd$draw() ## ✔ Loading metadata database ... done ## r-lib/pkgcache 2.1.0.9000 ✨👷🏽🔧 ## ├─callr 3.7.3 ✨ ⬇ (431.00 kB) ## │ ├─processx 3.8.1 ✨ ⬇ (316.20 kB) ## │ │ ├─ps 1.7.5 ✨ ⬇ (313.92 kB) ## │ │ └─R6 2.5.1 ✨ ## │ └─R6 ## ├─cli 3.6.1 ✨ ⬇ (1.38 MB) ## ├─curl 5.0.0 ✨ ⬇ (777.64 kB) ## ├─filelock 1.0.2 ✨ ⬇ (29.58 kB) ## ├─jsonlite 1.8.4 ✨ ⬇ (1.13 MB) ## ├─prettyunits 1.1.1 ✨ ⬇ (35.23 kB) ## ├─processx ## ├─R6 ## └─rappdirs 0.3.3 ✨ ⬇ (47.50 kB) ## ## Key: ✨ new | ⬇ download | 👷🏽 build | 🔧 compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-downloads","dir":"Reference","previous_headings":"","what":"Package downloads","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Downloading dependencies package: See pkg_download_proposal class details.","code":"pdl <- new_pkg_download_proposal(\"r-lib/cli\") pdl$resolve() pdl$download() ## ℹ No downloads are needed, 1 pkg is cached ##"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-installation","dir":"Reference","previous_headings":"","what":"Package installation","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Installing updating set package:","code":"lib <- tempfile() dir.create(lib) pdi <- new_pkg_installation_proposal( \"r-lib/cli\", config = list(library = lib) ) pdi$solve() pdi$download() pdi$install() ## ℹ No downloads are needed, 1 pkg is cached ## ✔ Installed cli 3.6.1.9000 (github::r-lib/cli@c37f34b) (36ms) ## ✔ Summary: ✨ 1 new in 36ms"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"dependency-resolution","dir":"Reference","previous_headings":"","what":"Dependency resolution","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references. See “Dependency resolution” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"the-dependency-solver","dir":"Reference","previous_headings":"","what":"The dependency solver","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied. See “dependency solver” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"installation-plans","dir":"Reference","previous_headings":"","what":"Installation plans","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkg_installation_proposal can create installation plans, also install . also possible import installation plans created tools. See “Installation plans” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"configuration","dir":"Reference","previous_headings":"","what":"Configuration","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"details pkg_deps, pkg_download_proposal pkg_installation_proposal can tuned list configuration options. See “Configuration” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"related","dir":"Reference","previous_headings":"","what":"Related","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pak – R package manager pkgcache – Metadata package cache devtools – Tools R package developers","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"code-of-conduct","dir":"Reference","previous_headings":"","what":"Code of Conduct","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Please note pkgdepends project released Contributor Code Conduct. contributing project, agree abide terms.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"license","dir":"Reference","previous_headings":"","what":"License","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"MIT (c) RStudio","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Maintainer: Gábor Csárdi csardi.gabor@gmail.com contributors: Posit Software, PBC [copyright holder, funder]","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":null,"dir":"Reference","previous_headings":"","what":"Query and manipulate CRAN-like repositories — repo","title":"Query and manipulate CRAN-like repositories — repo","text":"functions currently experimental.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"list-packages-in-a-repository","dir":"Reference","previous_headings":"","what":"List packages in a repository","title":"Query and manipulate CRAN-like repositories — repo","text":"repo$list() lists packages repository. reads PACKAGES file containing repository metadata.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo_list(..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"...: ignored currently. path: path repository. Must contain PACKAGES file.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Query and manipulate CRAN-like repositories — repo","text":"Data frame package data, data frame least following columns, possibly entries metadata: Package Version Depends Imports Suggests Enhances LinkingTo License File DownloadURL OS Arch Built Filesize SHA256 RVersion Platform GraphicsAPIVersion InternalsId","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"delete-packages-from-repository-metadata","dir":"Reference","previous_headings":"","what":"Delete packages from repository metadata","title":"Query and manipulate CRAN-like repositories — repo","text":"repo$delete() deletes matching packages repository metadata.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"matching packages removed. delete files .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$delete(package, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"package: package name. ...: fields match, must named. Matching case insensitive. path: path repository. Must contain PACKAGES file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-1","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"check version package already repository. want update package, use repo$update().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$add(file, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"`file Package file. `... Ignored currently. path Path repository. Must contain PACKAGES` file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-2","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"Previous version package removed. particular, removes packages matching: package name (Package field), R version (Rversion field), OS (OS field), OS field, architecture (Arch field), Arch field.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$update(file, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"`file Package file. `... Ignored currently. path Path repository. Must contain PACKAGES` file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-3","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"Clones GitHub repository. Calls repo_update() file, subdir directory. Adds commits changes. Pushes git repository GitHub. push fails, resets git repository, pulls GitHub tries update process , push succeeds. function needs command line git installed. sets cache credential helper, git push works without interaction user.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$update_gh(repo, subdir, files)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"repo: GitHub slug, e.g. r-hub/repos. subdir: subdirectory GitHub repository, R package metadata updated. must exist repository. PACKAGES* files, created. files: package files add. files added repository, metadata. repository already.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":null,"dir":"Reference","previous_headings":"","what":"Scan R code for dependent packages — scan_deps","title":"Scan R code for dependent packages — scan_deps","text":"Scan R files project directory packages used within . parses R code find library(package), package::func(), similar calls imply package dependencies. See details .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Scan R code for dependent packages — scan_deps","text":"","code":"scan_deps(path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Scan R code for dependent packages — scan_deps","text":"path Path directory project.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Scan R code for dependent packages — scan_deps","text":"Data frame columns: path: Path file dependencies found. package: Detected package dependency. Typically package name, can also package reference, e.g. package GitHub. type: Dependency type. \"prod\", \"test\" \"dev\". See 'Dependency types' . code: piece code dependency extracted . start_row: Start row code dependency extracted . start_column: Start column code dependency extracted . start_byte: Start byte code dependency extracted . Note data frame may contain package multiple times, detected multiple times, e.g. multiple library() calls load package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"detected-dependencies","dir":"Reference","previous_headings":"","what":"Detected dependencies","title":"Scan R code for dependent packages — scan_deps","text":"scan_deps() detects package dependencies R expressions: library(), require(), loadNamespace() requireNamespace calls. :: ::: operators. calls list R code R markdown quarto R Rscript (case insensitive) code blocks inline R code. dependency methods package inferred finding setClass() /setGeneric() calls. xfun::pkg_attach() xfun::pkg_attach2() calls. pacman::p_load() calls. modules::import() modules::module() calls. import::(), import::() import::() calls. box::use() calls. targets::tar_option_set(packages = ...) calls. calls list R code glue::glue() strings. dependency svglite package inferred ggplot2::ggsave() calls saving .svg files. Dependencies parsnip::set_engine() calls, default engine package mapping : \"glm\" -> stats, \"glmnet\" -> glmnet, \"keras\" -> keras, \"kknn\" -> kknn, \"nnet\" -> nnet, \"rpart\" -> rpart, \"spark\" -> sparklyr, \"stan\" -> rstanarm. can override default mapping setting renv.parsnip.engines option named list. dependency xml2 package inferred using \"Junit\" reporter (JunitReporter) testthat package. dependency ragg package inferred setting default knitr device (dev option) \"ragg_png\". dependency hexbin package inferred using ggplot2::geom_hex(). custom symbol name package name mapping can defined renv.dependencies.database option. must named list named lists, outer names package names, inner names function object names, values package names. E.g.","code":"options(renv.dependencies.database = list( ggplot2 = list(geom_hex = \"hexbin\"), testthat = list(JunitReporter = \"xml2\") ))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"dependency-types","dir":"Reference","previous_headings":"","what":"Dependency types","title":"Scan R code for dependent packages — scan_deps","text":"scan_deps() classifies package dependencies three groups, based files found: Production dependencies: \"prod\". Test dependencies: \"test\". Development dependencies: \"dev\".","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if installed packages have all their system requirements — sysreqs_check_installed","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"sysreqs_check_installed() checks system requirements packages (subset packages) installed. sysreqs_fix_installed() installs missing system packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"","code":"sysreqs_check_installed(packages = NULL, library = .libPaths()[1]) sysreqs_fix_installed(packages = NULL, library = .libPaths()[1])"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"packages NULL, packages checked. package packages installed, pkgdepends throws warning. library Library libraries check.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"Data frame custom print format method, pkg_sysreqs_check_result class. columns : system_package: string, name required system package. installed: logical, whether system package correctly installed. packages: list column character vectors. names installed R packages need system package. pre_install: list column character vectors. Commands run installation system package. post_install: list column character vectors. Commands run installation system package. data frame also two attributes additional data: sysreqs_records: raw system requirements records, system_packages: list installed system packages. sysreqs_fix_packages() returns value, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"functions use sysreqs_platform configuration option, see man_config_link(\"Configuration\"). Set pkgdepends detect platform correctly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"","code":"# This only works on supported platforms sysreqs_check_installed() #> system package installed required by #> -------------- -- ----------- #> git ✔ gitcreds #> gsfonts ✔ magick #> libcurl4-openssl-dev ✔ curl #> libfontconfig1-dev ✔ systemfonts #> libfreetype6-dev ✔ ragg, systemfonts, textshaping #> libfribidi-dev ✔ textshaping #> libharfbuzz-dev ✔ textshaping #> libjpeg-dev ✔ ragg #> libmagick++-dev ✔ magick #> libnode-dev ✔ V8 #> libpng-dev ✔ ragg, svglite #> libssl-dev ✔ curl, openssl #> libtiff-dev ✔ ragg #> libxml2-dev ✔ xml2 #> make ✔ fs, sass #> pandoc ✔ knitr, pkgdown, rmarkdown"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":null,"dir":"Reference","previous_headings":"","what":"List contents of the system requirements DB, for a platform — sysreqs_db_list","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"also tries update system dependency database, outdated. (.e. older allowed metadata_update_after man_config_link(\"configuration option\").","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"","code":"sysreqs_db_list(sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"Data frame columns: name: cross platform system dependency name database. patterns: one regular expressions match SystemRequirements fields. packages: one system package names install. pre_install: command(s) run installing packages. post_install:: command(s) run installing packages.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"","code":"sysreqs_db_list(sysreqs_platform = \"ubuntu-22.04\") #> # A data frame: 122 × 5 #> name patterns packages pre_install post_install #> #> 1 QuantLib #> 2 apparmor #> 3 atk #> 4 automake #> 5 berkeleydb #> 6 blender #> 7 boost #> 8 bowtie2 #> 9 bwidget #> 10 cairo #> # ℹ 112 more rows"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":null,"dir":"Reference","previous_headings":"","what":"Match system requirement descriptions to the database — sysreqs_db_match","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"usual workflow pkgdepends matches SystemRequirements fields DESCRIPTION files database.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"","code":"sysreqs_db_match(specs, sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"specs Character vector system requirements descriptions. sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"Data frame columns: spec: input specs. sysreq: name system library tool. packages: system packages, list column character vectors. Rarely can empty string, e.g. pre_install script performs installation. pre_install: list column character vectors. Shell script(s) run installation. post_install: list column character vectors. Shell script(s) run installation.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"sysreqs_db_match() function lets match string, mainly useful debugging.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"","code":"sysreqs_db_match( c(\"Needs libcurl\", \"Java, libssl\"), sysreqs_platform = \"ubuntu-22.04\" ) #> [[1]] #> # A data frame: 1 × 5 #> spec sysreq packages pre_install post_install #> #> 1 Needs libcurl libcurl #> #> [[2]] #> # A data frame: 1 × 5 #> spec sysreq packages pre_install post_install #> #> 1 Java, libssl java #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the cached copy of the system requirements database — sysreqs_db_update","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"Update cached copy system requirements database","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"","code":"sysreqs_db_update()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"cached copy recent, update attempted. See metadata_update_after man_config_link(\"configuration option\").","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"Create an installation plan for system requirements — sysreqs_install_plan","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"function uses new_pkg_installation_proposal() methods create installation plan one packages, print system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"","code":"sysreqs_install_plan(refs, upgrade = TRUE, config = list())"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"refs Packages install. upgrade TRUE, pkgdepends choose latest available versions packages, instead preferring binary packages source packages. config Configuration options. See 'Configuration'. include library, temporary library used, equivalent assuming preinstalled packages. Pass sysreqs_platform want different platform one R running .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"List entries: os: character string. Operating system. distribution: character string. Linux distribution, NA OS Linux. version: character string. Distribution version, NA OS Linux. pre_install: character vector. Commands run installation system packages. install_scripts: character vector. Commands run install system packages. post_install: character vector. Commands run installation system packages. packages: data frame. Information system packages needed. columns: sysreq: string, cross-platform name system requirement. packages: list column character vectors. names R packages system requirement. pre_install: list column character vectors. Commands run package installation system requirement. system_packages: list column character vectors. Names system packages install. post_install: list column character vectors. Commands run package installation system requirement.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"","code":"sysreqs_install_plan( \"tidyverse\", config = list(sysreqs_platform = \"ubuntu-22.04\") ) #> $os #> [1] \"linux\" #> #> $distribution #> [1] \"ubuntu\" #> #> $version #> [1] \"22.04\" #> #> $pre_install #> [1] \"apt-get -y update\" #> #> $install_scripts #> [1] \"apt-get -y install libx11-dev libcurl4-openssl-dev libssl-dev make zlib1g-dev pandoc libfreetype6-dev libjpeg-dev libpng-dev libtiff-dev libicu-dev libfontconfig1-dev libfribidi-dev libharfbuzz-dev libxml2-dev\" #> #> $post_install #> character(0) #> #> $packages #> # A data frame: 15 × 5 #> sysreq packages pre_install system_packages post_install #> #> 1 fontconfig #> 2 freetype #> 3 fribidi #> 4 gnumake #> 5 harfbuzz #> 6 libcurl #> 7 libicu #> 8 libjpeg #> 9 libpng #> 10 libtiff #> 11 libxml2 #> 12 openssl #> 13 pandoc #> 14 x11 #> 15 zlib #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if a platform has system requirements support — sysreqs_is_supported","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"Check platform system requirements support","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"","code":"sysreqs_is_supported(sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"Logical scalar.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"","code":"sysreqs_is_supported() #> [1] TRUE"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":null,"dir":"Reference","previous_headings":"","what":"List installed system packages — sysreqs_list_system_packages","title":"List installed system packages — sysreqs_list_system_packages","text":"List installed system packages","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List installed system packages — sysreqs_list_system_packages","text":"","code":"sysreqs_list_system_packages()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List installed system packages — sysreqs_list_system_packages","text":"Data frame columns: status. two three characters, notation dpkg Debian based systems. \"ii\" means package correctly installed. RPM based systems always \"ii\" currently. package: name system package. version: installed version system package. capabilities: list column character vectors, capabilities provided package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"List installed system packages — sysreqs_list_system_packages","text":"function uses sysreqs_platform configuration option, see man_config_link(\"Configuration\"). Set pkgdepends detect platform correctly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List installed system packages — sysreqs_list_system_packages","text":"","code":"sysreqs_list_system_packages()[1:10,] #> # A data frame: 10 × 4 #> status package version provides #> * #> 1 ii acl 2.3.1-1 #> 2 ii adduser 3.118ubuntu5 #> 3 ii adoptium-ca-certificates 1.0.3-1 #> 4 ii adwaita-icon-theme 41.0-1ubuntu1 #> 5 ii alsa-topology-conf 1.2.5.1-2 #> 6 ii alsa-ucm-conf 1.2.6.3-1ubuntu1.12 #> 7 ii ant 1.10.12-1 #> 8 ii ant-optional 1.10.12-1 #> 9 ii apache2 2.4.52-1ubuntu4.12 #> 10 ii apache2-bin 2.4.52-1ubuntu4.12 "},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":null,"dir":"Reference","previous_headings":"","what":"List platforms with system requirements support — sysreqs_platforms","title":"List platforms with system requirements support — sysreqs_platforms","text":"List platforms system requirements support","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List platforms with system requirements support — sysreqs_platforms","text":"","code":"sysreqs_platforms()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List platforms with system requirements support — sysreqs_platforms","text":"Data frame columns: name: human readable OS name. os: OS name, e.g. linux. distribution: OS id, e.g. ubuntu redhat. version: distribution version. star means versions supported, also supported vendor. update_command: command run update system package metadata. install_command: command run install packages. query_command: name tool use query system package information.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List platforms with system requirements support — sysreqs_platforms","text":"","code":"sysreqs_platforms() #> # A data frame: 22 × 7 #> name os distribution version update_command install_command #> #> 1 Ubuntu Linux linux ubuntu * apt-get -y up… apt-get -y ins… #> 2 Debian Linux linux debian * apt-get -y up… apt-get -y ins… #> 3 CentOS Linux linux centos * NA yum install -y #> 4 Rocky Linux linux rockylinux * NA dnf install -y #> 5 Red Hat Ente… linux redhat 6 NA yum install -y #> 6 Red Hat Ente… linux redhat 7 NA yum install -y #> 7 Red Hat Ente… linux redhat * NA dnf install -y #> 8 Red Hat Ente… linux rhel 7.0 NA yum install -y #> 9 Red Hat Ente… linux rhel 7.1 NA yum install -y #> 10 Red Hat Ente… linux rhel 7.2 NA yum install -y #> # ℹ 12 more rows #> # ℹ 1 more variable: query_command "},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-development-version","dir":"Changelog","previous_headings":"","what":"pkgdepends (development version)","title":"pkgdepends (development version)","text":"New function scan_deps() auto-detect package dependencies R code. deps::. automatically uses detected dependencies now DESCRIPTION file found.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-080","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.8.0","title":"pkgdepends 0.8.0","text":"CRAN release: 2024-09-12 pkgdepends now supports gitlab:: package sources better, adding explicit syntax specify subdirectories (#353, @dgkf). gitlab:: git:: package sources now support git submodules git-submodules configuration option set TRUE. See ?\"pkgdepends-config\" (#354). new ?ignore-unavailable parameter makes easy ignore soft dependencies unavailable (https://github.com/r-lib/pak/issues/606). pkgdepends now automatically ignores soft dependencies incompatible OS type (OS_type entry DESCRIPTION) installing packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-072","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.2","title":"pkgdepends 0.7.2","text":"CRAN release: 2024-03-17 pkgdepends now supports * wildcard parameter specifications, parameters applied packages. E.g. *=?source means compiling packages source.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-071","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.1","title":"pkgdepends 0.7.1","text":"CRAN release: 2023-12-10 pkgdepends now import glue, rprojroot prettyunits packages. pkgdepends can now handle case Config/Needs/* dependencies requested package repository.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-070","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.0","title":"pkgdepends 0.7.0","text":"CRAN release: 2023-11-10 pkgdepends now correctly resolves latest GitHub release @*release notation (@pawelru, #321, #275). pkgdepends now correctly handles multiple instances package metadata, different R version requirements (https://github.com/r-lib/pak/issues/534, #331, https://github.com/r-lib/pak/issues/538). git:: package references work better now Azure DevOps (@jameslairdsmith, #333, #342). pkgdepends now better job accepting installed packages, avoids reinstalling packages needed using lock file (https://github.com/r-lib/actions/issues/759, #338).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-060","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.6.0","title":"pkgdepends 0.6.0","text":"CRAN release: 2023-07-18 Many system requirements improvements: sysreqs_check_installed(): check required system packages installed, sysreqs_fix_installed(): install missing system packages, sysreqs_db_list(): list system requirements database, sysreqs_db_match(): match SystemRrequirements field(s) database, sysreqs_db_update(): update system requirements database, sysreqs_install_plan(): look system requirements package dependencies, sysreqs_is_supported(): check pkgdepends supports system requirements platform, sysreqs_list_system_packages(): list installed system packages, sysreqs_platforms(): list supported platforms. New pkg_installation_proposal methods: get_sysreqs(), show_sysreqs() update_sysreqs(). output $show_solution() now includes system requirements. New sysreqs_platform configuration option. pkgdepends now looks system requirements asynchronously, dependency resolution. pkgdepends now reinstall system requirements default, already installed. (can force reinstall/upgrade sysreqs_update configuration option.) New gitlab:: package source install packages GitLab (#315). pkgdepends now correctly parses multiple git:: packages (#318). Fix @*release reference latest release. git:: package sources now support version 1 git protocol. E.g. Bioconductor git repositories now work: git::https://git.bioconductor.org/packages/limma (#314). platforms config parameter now works correctly deps:: package sources (https://github.com/r-lib/pak/issues/522). New include_linkingto config parameter always include LinkingTo packages solution, even binaries (#485). pkg_name_check() now include Acromine results, web site unstable.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-050","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.5.0","title":"pkgdepends 0.5.0","text":"CRAN release: 2023-04-19 pkgdepends now support git repositories package references. E.g. git::https://github.com/r-lib/pak.git. pkgdepends now supports versioned CRAN packages, e.g. dplyr@1.1.1 always install dplyr 1.1.1. Note CRAN packages supported, Bioconductor packages (yet). pkgdepends now alternative system requirements lookup implementation. supports Fedora Debian systems well, addition Debian, Ubuntu, SUSE RedHat derivatives. can switch implementation setting R_PKG_SYSREQS2 environment variable true. pkgdepends now better job looking dependencies hand-selected dependency types. E.g. dependencies = \"LinkingTo\". pkgdepends now removes ?ignore-d packages dependencies, uses correct version comparison ?ignore-.r (https://github.com/r-lib/actions/issues/708). pkgdepends now fail circular soft dependencies (#306). pkgdepends now reports dependency solver failures better cases (#305, https://github.com/r-lib/pak/issues/474). pkgdepends now uses locally built CRAN binaries cache.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-040","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.4.0","title":"pkgdepends 0.4.0","text":"CRAN release: 2022-12-17 pkgdepends much improved informative error messages now. work yet finished, find unclear error message, please open issue. Thank ! solver now robust non-canonical input (e.g. DESCRIPTION files) (https://github.com/r-lib/pak/issues/423). Better installation output. Standard output error now collected together (https://github.com/r-lib/pkgdepends/commit/0669f0f8c). solver now better job multiple versions package present repository (https://github.com/r-lib/actions/issues/559). pkg_name_check() now works , needed fix changes https://crandb.r-pkg.org. Explicit package names local URL package sources, package=local::... package=url::... now parsed correctly dependencies. pkgdepends now robust Archs fields missing CRAN metadata packages compiled code (https://github.com/r-lib/pak/issues/448). url:: packages now always work correctly, even digest package installed (https://github.com/r-lib/pak/issues/433). pkgdepends now robust installing packages subdirectories GitHub repositories (https://github.com/r-lib/pak/issues/431, @paleolimbot). Parameters ?reinstall, ?source ?ignore now work correctly specified package=?parameter format (#294).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-032","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.2","title":"pkgdepends 0.3.2","text":"CRAN release: 2022-09-08 ?ignore parameter works correctly now. dependency resolution now fail package found. pkgdepends can now install url:: remotes GitHub. pkgdepends now fail package .tar.gz GitHub snapshot subdirectory, subdirectory subdirectory. pkgdepends now errors early deduce name package Remotes Config/Needs/* entry. Solver failures now include details cases previously . pkgdepends can now update packages Docker containers old version installed different Docker later (https://github.com/r-lib/pak/issues/251) pkgdepends errors now user friendlier better formatted.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-031","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.1","title":"pkgdepends 0.3.1","text":"CRAN release: 2022-04-08 dependency solver now uses better heuristics (effectively) freeze multiple repositories multiple versions packages (e.g. RSPM CRAN) (#277).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-030","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.0","title":"pkgdepends 0.3.0","text":"CRAN release: 2022-02-16 New ?ignore--r parameter ignore optional dependencies need newer R version (#243). New ?ignore parameter ignore optional dependency. Allow specifying downstream package parameters package=?param syntax. $update() operation now works better :: refs, always install version planned . System requirement installation now robust works Unix shell expressions (#347). Make system dependency installation robust (https://github.com/r-lib/pak/issues/347). CRAN-like resolution robust now repository missing usual metadata. lock file pretty JSON now. pkgdepends now return tibbles, simple data frames. still printed concisely long pillar package loaded. pkgdepends now handles version requirement types properly: ‘<’, ‘<=’, ==, >=, >.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-020","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.2.0","title":"pkgdepends 0.2.0","text":"CRAN release: 2021-11-29 pkgdepends now Much better platform support, including arm64 packages macOS, single-arch multi-arch binary packages Windows. Better configuration via environment variables options, see ?\"pkgdepends-config\" details. Many improvements lock files, .e. $create_lockfile() method pkg_installation_proposal. System requirements support. currently active Linux, CI environment variable set true. can set PKG_SYSREQS environment variable true turn situations. See ?\"pkgdepends-config\". new :: reference type can used install package source. See ?pkg_refs .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-012","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.2","title":"pkgdepends 0.1.2","text":"CRAN release: 2021-06-30 remotes can now update packages installed pak. past sometimes work (#301).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-011","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.1","title":"pkgdepends 0.1.1","text":"CRAN release: 2021-05-16 pkg_name_check() works .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-010","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.0","title":"pkgdepends 0.1.0","text":"CRAN release: 2021-03-16 First CRAN release.","code":""}] +[{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement codeofconduct@posit.co. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.1, available https://www.contributor-covenant.org/version/2/1/code_of_conduct.html. Community Impact Guidelines inspired [Mozilla’s code conduct enforcement ladder][https://github.com/mozilla/inclusion]. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2023 pkgdepends authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-cranbioconductor-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a CRAN/Bioconductor package?","title":"pkgdepends HOWTO","text":"can also draw dependency tree:","code":"library(pkgdepends) prop <- new_pkg_deps(\"ggplot2\") prop$solve() prop$get_solution()$data #> ✔ Loading metadata database ... done #> # A data frame: 28 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 2 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 3 fansi stan… FALSE FALSE OK fansi 1.0.6 GPL-2 … TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 ggplo… stan… TRUE TRUE OK ggplot2 3.5.1 MIT + … FALSE #> 6 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 7 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 8 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 9 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 10 lifec… stan… FALSE FALSE OK lifecy… 1.0.4 MIT + … FALSE #> # ℹ 18 more rows #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , … #> # ℹ Use `print(n = ...)` to see more rows prop$draw() #> ggplot2 3.5.1 [new][bld][dl] (3.60 MB) #> ├─cli 3.6.3 [new][bld][cmp] #> ├─glue 1.8.0 [new][bld][cmp] #> ├─gtable 0.3.6 [new][bld][dl] (148.15 kB) #> │ ├─cli #> │ ├─glue #> │ ├─lifecycle 1.0.4 [new][bld] #> │ │ ├─cli #> │ │ ├─glue #> │ │ └─rlang 1.1.4 [new][bld][cmp] #> │ └─rlang #> ├─isoband 0.2.7 [new][bld][cmp][dl] (1.59 MB) #> ├─lifecycle #> ├─MASS 7.3-61 #> ├─mgcv 1.9-1 #> │ ├─nlme 3.1-166 #> │ │ └─lattice 0.22-6 #> │ └─Matrix 1.7-1 #> │ └─lattice #> ├─rlang #> ├─scales 1.3.0 [new][bld][cmp][dl] (302.54 kB) #> │ ├─cli #> │ ├─farver 2.1.2 [new][bld][cmp][dl] (1.28 MB) #> │ ├─glue #> │ ├─labeling 0.4.3 [new][bld][dl] (10.17 kB) #> │ ├─lifecycle #> │ ├─munsell 0.5.1 [new][bld][dl] (182.31 kB) #> │ │ └─colorspace 2.1-1 [new][bld][cmp][dl] (2.14 MB) #> │ ├─R6 2.5.1 [new][bld] #> │ ├─RColorBrewer 1.1-3 [new][bld][dl] (11.64 kB) #> │ ├─rlang #> │ └─viridisLite 0.4.2 [new][bld][dl] (1.27 MB) #> ├─tibble 3.2.1 [new][bld][cmp][dl] (565.98 kB) #> │ ├─fansi 1.0.6 [new][bld][cmp][dl] (482.48 kB) #> │ ├─lifecycle #> │ ├─magrittr 2.0.3 [new][bld][cmp][dl] (267.07 kB) #> │ ├─pillar 1.9.0 [new][bld][dl] (444.53 kB) #> │ │ ├─cli #> │ │ ├─fansi #> │ │ ├─glue #> │ │ ├─lifecycle #> │ │ ├─rlang #> │ │ ├─utf8 1.2.4 [new][bld][cmp][dl] (241.08 kB) #> │ │ └─vctrs 0.6.5 [new][bld][cmp][dl] (969.07 kB) #> │ │ ├─cli #> │ │ ├─glue #> │ │ ├─lifecycle #> │ │ └─rlang #> │ ├─pkgconfig 2.0.3 [new][bld][dl] (6.08 kB) #> │ ├─rlang #> │ └─vctrs #> ├─vctrs #> └─withr 3.0.2 [new][bld] #> #> Key: [new] new | [dl] download | [bld] build | [cmp] compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-github-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a GitHub package?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) prop <- new_pkg_deps(\"tidyverse/ggplot2\") prop$solve() prop$get_solution()$data #> # A data frame: 17 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 tidyv… gith… TRUE TRUE OK ggplot2 3.5.1.… MIT + … TRUE #> 2 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 3 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 6 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 7 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 8 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 9 lifec… stan… FALSE FALSE OK lifecy… 1.0.4 MIT + … FALSE #> 10 munse… stan… FALSE FALSE OK munsell 0.5.1 MIT + … FALSE #> 11 R6 stan… FALSE FALSE OK R6 2.5.1 MIT + … FALSE #> 12 RColo… stan… FALSE FALSE OK RColor… 1.1-3 Apache… FALSE #> 13 rlang stan… FALSE FALSE OK rlang 1.1.4 MIT + … TRUE #> 14 scales stan… FALSE FALSE OK scales 1.3.0 MIT + … TRUE #> 15 vctrs stan… FALSE FALSE OK vctrs 0.6.5 MIT + … TRUE #> 16 virid… stan… FALSE FALSE OK viridi… 0.4.2 MIT + … FALSE #> 17 withr stan… FALSE FALSE OK withr 3.0.2 MIT + … FALSE #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , #> # sysreqs_post_install , sysreqs_install , lib_status , …"},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-list-all-dependencies-of-a-local-package","dir":"Articles","previous_headings":"Dependencies","what":"How to list all dependencies of a local package?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) prop <- new_pkg_deps(\"local::.\") prop$solve() prop$get_solution()$data #> # A data frame: 14 × 38 #> ref type direct directpkg status package version license needscompilation #> #> 1 local… local TRUE TRUE OK pkgdep… 0.8.0.… MIT + … NA #> 2 callr stan… FALSE FALSE OK callr 3.7.6 MIT + … FALSE #> 3 curl stan… FALSE FALSE OK curl 6.0.1 MIT + … TRUE #> 4 desc stan… FALSE FALSE OK desc 1.4.3 MIT + … FALSE #> 5 filel… stan… FALSE FALSE OK filelo… 1.0.3 MIT + … TRUE #> 6 jsonl… stan… FALSE FALSE OK jsonli… 1.8.9 MIT + … TRUE #> 7 lpSol… stan… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 TRUE #> 8 pkgbu… stan… FALSE FALSE OK pkgbui… 1.4.5 MIT + … FALSE #> 9 pkgca… stan… FALSE FALSE OK pkgcac… 2.2.3 MIT + … TRUE #> 10 proce… stan… FALSE FALSE OK proces… 3.8.4 MIT + … TRUE #> 11 ps stan… FALSE FALSE OK ps 1.8.1 MIT + … TRUE #> 12 R6 stan… FALSE FALSE OK R6 2.5.1 MIT + … FALSE #> 13 zip stan… FALSE FALSE OK zip 2.3.1 MIT + … TRUE #> 14 r-lib… gith… FALSE FALSE OK cli 3.6.3.… MIT + … TRUE #> # ℹ 29 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , #> # sysreqs_post_install , sysreqs_install , lib_status , …"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-download-a-package-and-all-of-its-dependencies","dir":"Articles","previous_headings":"Downloads","what":"How to download a package and all of its dependencies?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) target_dir <- tempfile() dir.create(target_dir) prop <- new_pkg_download_proposal(\"ggplot2\", config = list(cache_dir = target_dir)) prop$resolve() prop$download() prop$get_downloads() dir(target_dir) #> ℹ Getting 22 pkgs (19.03 MB) and 5 pkgs with unknown sizes, 6 (1.74 MB) cached #> ✔ Got fansi 1.0.6 (source) (482.48 kB) #> ✔ Got labeling 0.4.3 (source) (10.17 kB) #> ✔ Got magrittr 2.0.3 (source) (267.07 kB) #> ✔ Got pillar 1.9.0 (source) (444.53 kB) #> ✔ Got scales 1.3.0 (source) (302.54 kB) #> ✔ Got farver 2.1.2 (source) (1.28 MB) #> ✔ Got utf8 1.2.4 (source) (241.08 kB) #> ✔ Got nlme 3.1-166 (source) (847.67 kB) #> ✔ Got colorspace 2.1-1 (source) (2.14 MB) #> ✔ Got RColorBrewer 1.1-3 (source) (11.64 kB) #> ✔ Got MASS 7.3-61 (source) (509.90 kB) #> ✔ Got isoband 0.2.7 (source) (1.59 MB) #> ✔ Got Matrix 1.7-1 (source) (2.48 MB) #> ✔ Got munsell 0.5.1 (source) (182.31 kB) #> ✔ Got lattice 0.22-6 (source) (598.58 kB) #> ✔ Got nlme 3.1-166 (source) (847.67 kB) #> ✔ Got Matrix 1.7-1 (source) (2.48 MB) #> ✔ Got pkgconfig 2.0.3 (source) (6.08 kB) #> ✔ Got tibble 3.2.1 (source) (565.98 kB) #> ✔ Got gtable 0.3.6 (source) (148.15 kB) #> ✔ Got MASS 7.3-61 (source) (509.90 kB) #> ✔ Got ggplot2 3.5.1 (source) (3.60 MB) #> ✔ Got vctrs 0.6.5 (source) (969.07 kB) #> ✔ Got lattice 0.22-6 (source) (598.58 kB) #> ✔ Got mgcv 1.9-1 (source) (1.08 MB) #> ✔ Got mgcv 1.9-1 (source) (1.08 MB) #> ✔ Got viridisLite 0.4.2 (source) (1.27 MB) #> # A data frame: 33 × 40 #> ref type direct directpkg status package version license needscompilation #> #> 1 cli stan… FALSE FALSE OK cli 3.6.3 MIT + … TRUE #> 2 color… stan… FALSE FALSE OK colors… 2.1-1 BSD_3_… TRUE #> 3 fansi stan… FALSE FALSE OK fansi 1.0.6 GPL-2 … TRUE #> 4 farver stan… FALSE FALSE OK farver 2.1.2 MIT + … TRUE #> 5 ggplo… stan… TRUE TRUE OK ggplot2 3.5.1 MIT + … FALSE #> 6 glue stan… FALSE FALSE OK glue 1.8.0 MIT + … TRUE #> 7 gtable stan… FALSE FALSE OK gtable 0.3.6 MIT + … FALSE #> 8 isoba… stan… FALSE FALSE OK isoband 0.2.7 MIT + … TRUE #> 9 label… stan… FALSE FALSE OK labeli… 0.4.3 MIT + … FALSE #> 10 latti… stan… FALSE FALSE OK lattice 0.22-6 GPL (>… TRUE #> # ℹ 23 more rows #> # ℹ 31 more variables: priority , md5sum , sha256 , #> # filesize , built , platform , rversion , #> # repotype , repodir , target , deps , mirror , #> # sources , remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , sysreqs_pre_install , … #> # ℹ Use `print(n = ...)` to see more rows #> [1] \"src\""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-install-a-package-into-a-new-library","dir":"Articles","previous_headings":"Installation","what":"How to install a package into a new library?","title":"pkgdepends HOWTO","text":"","code":"library(pkgdepends) dir.create(new_lib <- tempfile()) prop <- new_pkg_installation_proposal(\"pkgconfig\", config = list(library = new_lib)) prop$solve() prop$download() prop$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg (6.08 kB) is cached #> ℹ Building pkgconfig 2.0.3 #> ✔ Built pkgconfig 2.0.3 (869ms) #> ✔ Installed pkgconfig 2.0.3 (24ms) #> ✔ Summary: 1 new in 893ms #> # A data frame: 1 × 31 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE #> # ℹ 23 more variables: repository , built , remotetype , #> # remotepkgref , remoteref , remoterepos , #> # remotepkgplatform , remotesha , depends , linkingto , #> # enhances , md5sum , platform , priority , #> # biocviews , sysreqs , ref , type , status , #> # rversion , sources , repotype , deps "},{"path":"https://r-lib.github.io/pkgdepends/dev/articles/pkgdepends-how-to.html","id":"how-to-update-a-package","dir":"Articles","previous_headings":"Installation","what":"How to update a package?","title":"pkgdepends HOWTO","text":"Install older version first. Now update.","code":"library(pkgdepends) dir.create(new_lib <- tempfile()) config <- list(library = new_lib) prop <- new_pkg_installation_proposal(\"cran/pkgconfig@2.0.2\", config = config) prop$solve() prop$download() prop$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg is cached #> ✔ Got pkgconfig 2.0.2 (source) (13.22 kB) #> ℹ Packaging pkgconfig 2.0.2 #> ✔ Packaged pkgconfig 2.0.2 (478ms) #> ℹ Building pkgconfig 2.0.2 #> ✔ Built pkgconfig 2.0.2 (877ms) #> ✔ Installed pkgconfig 2.0.2 (github::cran/pkgconfig@d892880) (1s) #> ✔ Summary: 1 new in 1.9s #> # A data frame: 1 × 32 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.2 MIT + … utils covr, t… FALSE #> # ℹ 24 more variables: repository , remotetype , remotehost , #> # remoterepo , remoteusername , remotepkgref , #> # remoteref , remotesha , built , depends , #> # linkingto , enhances , md5sum , platform , #> # priority , biocviews , sysreqs , ref , type , #> # status , rversion , sources , repotype , deps library(pkgdepends) prop2 <- new_pkg_installation_proposal(\"pkgconfig\", config = config) prop2$set_solve_policy(\"upgrade\") prop2$solve() prop2$download() prop2$install() lib_status(new_lib) #> ℹ No downloads are needed, 1 pkg (6.08 kB) is cached #> ℹ Building pkgconfig 2.0.3 #> ✔ Built pkgconfig 2.0.3 (882ms) #> ✔ Installed pkgconfig 2.0.3 (1s) #> ✔ Summary: 1 updated in 1.9s #> # A data frame: 1 × 31 #> library package title version license imports suggests needscompilation #> #> 1 /tmp/RtmpYEQu… pkgcon… Priv… 2.0.3 MIT + … utils covr, t… FALSE #> # ℹ 23 more variables: repository , built , remotetype , #> # remotepkgref , remoteref , remoterepos , #> # remotepkgplatform , remotesha , depends , linkingto , #> # enhances , md5sum , platform , priority , #> # biocviews , sysreqs , ref , type , status , #> # rversion , sources , repotype , deps "},{"path":"https://r-lib.github.io/pkgdepends/dev/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Gábor Csárdi. Author, maintainer. . Copyright holder, funder.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Csárdi G (2024). pkgdepends: Package Dependency Resolution Downloads. R package version 0.8.0.9000, https://github.com/r-lib/pkgdepends, https://r-lib.github.io/pkgdepends/.","code":"@Manual{, title = {pkgdepends: Package Dependency Resolution and Downloads}, author = {Gábor Csárdi}, year = {2024}, note = {R package version 0.8.0.9000, https://github.com/r-lib/pkgdepends}, url = {https://r-lib.github.io/pkgdepends/}, }"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"pkgdepends","dir":"","previous_headings":"","what":"Package Dependency Resolution and Downloads","title":"Package Dependency Resolution and Downloads","text":"Package Dependency Resolution, Downloads Installation pkgdepends toolkit package dependencies, downloads installations, used packages. looking package manager, see pak.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"features","dir":"","previous_headings":"","what":"Features","title":"Package Dependency Resolution and Downloads","text":"Look package dependencies recursively. Visualize package dependencies. Download packages dependencies. Install downloaded packages. Includes dependency solver find consistent set dependencies. Supports CRAN Bioconductor packages automatically. Supports packages GitHub GitLab. Supports packages git repositories. Supports package bundles files web. Supports local package file trees. Supports Remotes entry DESCRIPTION file. Caches metadata downloaded packages via pkgcache Performs downloads HTTP queries concurrently. Builds installs packages parallel.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"install","dir":"","previous_headings":"","what":"Install","title":"Package Dependency Resolution and Downloads","text":"Install package : need development version, install ","code":"install.packages(\"pkgdepends\") pak::pak(\"r-lib/pkgdepends\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Package Dependency Resolution and Downloads","text":"","code":"library(pkgdepends)"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-references","dir":"","previous_headings":"","what":"Package references","title":"Package Dependency Resolution and Downloads","text":"package reference (ref) specifies location R package can obtained . Examples: See “Package references” details.","code":"devtools cran::devtools bioc::Biobase r-lib/pkgdepends https://github.com/r-lib/pkgdepends local::~/works/shiny"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-dependencies","dir":"","previous_headings":"","what":"Package dependencies","title":"Package Dependency Resolution and Downloads","text":"Dependencies development version cli package: See pkg_deps class details.","code":"pd <- new_pkg_deps(\"r-lib/pkgcache\") pd$solve() pd$draw() ## ✔ Updated metadata database: 3.07 MB in 8 files. ## ✔ Updating metadata database ... done ## r-lib/pkgcache 2.2.3.9000 [new][bld][cmp][dl] (unknown size) ## ├─callr 3.7.6 [new][bld][dl] (104.36 kB) ## │ ├─processx 3.8.4 [new][bld][cmp][dl] (163.98 kB) ## │ │ ├─ps 1.8.1 [new][bld][cmp][dl] (164.39 kB) ## │ │ └─R6 2.5.1 [new][bld][dl] (63.42 kB) ## │ └─R6 ## ├─cli 3.6.3 [new][bld][cmp][dl] (568.16 kB) ## ├─curl 6.0.1 [new][bld][cmp][dl] (932.72 kB) ## ├─filelock 1.0.3 [new][bld][cmp][dl] (15.44 kB) ## ├─jsonlite 1.8.9 [new][bld][cmp][dl] (1.06 MB) ## ├─processx ## └─R6 ## ## Key: [new] new | [dl] download | [bld] build | [cmp] compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-downloads","dir":"","previous_headings":"","what":"Package downloads","title":"Package Dependency Resolution and Downloads","text":"Downloading dependencies package: See pkg_download_proposal class details.","code":"pdl <- new_pkg_download_proposal(\"r-lib/cli\") pdl$resolve() pdl$download() ## ℹ Getting 1 pkg with unknown size ## ✔ Got cli 3.6.3.9001 (source) (840.19 kB)"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"package-installation","dir":"","previous_headings":"","what":"Package installation","title":"Package Dependency Resolution and Downloads","text":"Installing updating set package:","code":"lib <- tempfile() dir.create(lib) pdi <- new_pkg_installation_proposal( \"r-lib/cli\", config = list(library = lib) ) pdi$solve() pdi$download() pdi$install() ## ℹ Getting 1 pkg with unknown size ## ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build ## ℹ Packaging cli 3.6.3.9001 ## ✔ Packaged cli 3.6.3.9001 (1.2s) ## ℹ Building cli 3.6.3.9001 ## ✔ Built cli 3.6.3.9001 (8.3s) ## ✔ Installed cli 3.6.3.9001 (github::r-lib/cli@007c388) (34ms) ## ✔ Summary: 1 new in 8.3s"},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"dependency-resolution","dir":"","previous_headings":"","what":"Dependency resolution","title":"Package Dependency Resolution and Downloads","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references. See “Dependency resolution” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"the-dependency-solver","dir":"","previous_headings":"","what":"The dependency solver","title":"Package Dependency Resolution and Downloads","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied. See “dependency solver” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"installation-plans","dir":"","previous_headings":"","what":"Installation plans","title":"Package Dependency Resolution and Downloads","text":"pkg_installation_proposal can create installation plans, also install . also possible import installation plans created tools. See “Installation plans” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"configuration","dir":"","previous_headings":"","what":"Configuration","title":"Package Dependency Resolution and Downloads","text":"details pkg_deps, pkg_download_proposal pkg_installation_proposal can tuned list configuration options. See “Configuration” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"related","dir":"","previous_headings":"","what":"Related","title":"Package Dependency Resolution and Downloads","text":"pak – R package manager pkgcache – Metadata package cache devtools – Tools R package developers","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"code-of-conduct","dir":"","previous_headings":"","what":"Code of Conduct","title":"Package Dependency Resolution and Downloads","text":"Please note pkgdepends project released Contributor Code Conduct. contributing project, agree abide terms.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/index.html","id":"license","dir":"","previous_headings":"","what":"License","title":"Package Dependency Resolution and Downloads","text":"MIT (c) RStudio","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":null,"dir":"Reference","previous_headings":"","what":"Shorthands for dependency specifications — as_pkg_dependencies","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"Shorthands dependency specifications","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"","code":"as_pkg_dependencies(deps)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"deps See .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"named list two character vectors: direct, indirect, dependency types use direct installations dependent packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"R packages may various types dependencies, see Writing R Extensions. pkgdepends groups dependencies three groups: hard dependencies: \"Depends\", \"Imports\", \"LinkingTo\", soft dependencies: \"Suggests\" \"Enhances\", extra dependencies, see . pkgdepends supports concise ways specifying types dependencies package installed. similar utils::install.packages() interprets dependencies argument. typically use one values: NA \"hard\" install package required dependencies, TRUE install required dependencies, plus optional development dependencies. need flexibility, full description possible values deps argument : TRUE: means hard dependencies plus Suggests direct installations, hard dependencies dependent packages. FALSE: dependencies installed . NA (atomic type, NA_character_, etc. well): hard dependencies installed. See pkg_dep_types_hard(). list two entries named direct indirect, taken requested dependency types, direct installations dependent packages. character vector, taken dependency types direct installations, hard dependencies used dependent packages. \"hard\" included value list element, replaced hard dependency types. \"soft\" \"\" included, replaced hard soft dependency.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/as_pkg_dependencies.html","id":"extra-dependencies","dir":"Reference","previous_headings":"","what":"Extra dependencies","title":"Shorthands for dependency specifications — as_pkg_dependencies","text":"pkgdepends supports extra dependency types direct installations CRAN-like repositories. specified Config/Needs/ prefix DESCRIPTION can contain package references, separated commas. example can specify packages needed pkgdown website package: use dependency types, need specify deps argument pkgdepends functions. Note Config/Needs/* fields currently used CRAN packages, packages CRAN-like repositories general. Usually specify Config/Needs/* dependency type installed together \"hard\" \"\", install hard soft dependencies well.","code":"Config/Needs/website: r-lib/pkgdown"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":null,"dir":"Reference","previous_headings":"","what":"Package configuration (internals) — config","title":"Package configuration (internals) — config","text":"Internal machinery pkgdepends configuration. See current_config() machinery can used define configuration package. standalone file can copied another package without changes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"config"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Package configuration (internals) — config","text":"config list functions closure. can use two ways. one set configuration values package, include .onLoad(): _multiple _ sets configuration values (e.g. one per object), include function like package: call current_config() every time need create new set configuration values.","code":"conf <- config$new(\"prefix\") conf$add(\"myenrry\", \"string\", \"default-value\") ... conf$lock() current_config <- function() { conf <- config$new(\"prefix\") conf$add(\"myentry\", \"string\", \"default-value\") ... conf$lock() conf }"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-entry-or-entry-","dir":"Reference","previous_headings":"","what":"Config entry (or entry)","title":"Package configuration (internals) — config","text":"single configurable entity. config entry name. name always standardized replacing dashes underscores. config entry type: string, flag, user defined type. can also default value. Examples: URL API, can string. Path directory use caching, either string, NULL (string_or_null type). Number processor cores use, positive integer (count type).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"configuration-or-config-","dir":"Reference","previous_headings":"","what":"Configuration (or config)","title":"Package configuration (internals) — config","text":"set configuration entries. config$new() returns configuration. configuration can extended adding new entries , locked.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"r-option-or-option-","dir":"Reference","previous_headings":"","what":"R option (or option)","title":"Package configuration (internals) — config","text":"option set base::options() queried base::getOption().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"configuration-prefix","dir":"Reference","previous_headings":"","what":"Configuration prefix","title":"Package configuration (internals) — config","text":"prefix typically package specific, used config entries package, avoid environment variable option name clashes packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-entry-type","dir":"Reference","previous_headings":"","what":"Config entry type","title":"Package configuration (internals) — config","text":"defines allowed values configuration entries, also string environment variable translated value entry. See list builtin types . can also define new types.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"string","dir":"Reference","previous_headings":"","what":"string","title":"Package configuration (internals) — config","text":"String scalar, NA allowed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"count","dir":"Reference","previous_headings":"","what":"count","title":"Package configuration (internals) — config","text":"Non-negative integer, NA allowed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"flag","dir":"Reference","previous_headings":"","what":"flag","title":"Package configuration (internals) — config","text":"Logical scalar, NA allowed. environment variables TRUE values : yes, true, 1 , FALSE values : , false, 0, . (case insensitive.)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"string-or-null","dir":"Reference","previous_headings":"","what":"string_or_null","title":"Package configuration (internals) — config","text":"String NULL. NA allowed. environment variables string NULL means R NULL value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"character","dir":"Reference","previous_headings":"","what":"character","title":"Package configuration (internals) — config","text":"Character vector without NA values. environment variables entries separated semicolon.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"custom","dir":"Reference","previous_headings":"","what":"custom","title":"Package configuration (internals) — config","text":"Custom type. env_decode function must specified config entry type, otherwise error throw corresponding environment variable set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-onload-hook-pretty-printing-configuration","dir":"Reference","previous_headings":"","what":"config$onload_hook(): pretty-printing configuration","title":"Package configuration (internals) — config","text":"Call config$onload_hook() package's .onLoad() function want define S3 methods print package configuration nicer.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"config$onload_hook()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"config-new-create-a-new-configuration","dir":"Reference","previous_headings":"","what":"config$new(): Create a new configuration","title":"Package configuration (internals) — config","text":"Typically new() called outside functions package, config object created install time.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf <- config$new(prefix = utils::packageName(parent.frame()))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"prefix: prefix config entry names. environment variables converted uppercase, dots converted underscores. default prefix name calling package. underscore separator used prefix entry name environment variable names. dot separator used R option names.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"new() returns config object, list containing configuration data functions (methods) query change .","code":"conf <- config$new()"},{"path":[]},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$add( name, type = conf$types, default = NULL, check = type[1], env_decode = type[1] )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry. type: type entry, string. default: default value config entry. function, called generate default, time config entry's value queried. check: function, called check value entry. function return TRUE successful FALSE unsuccessful checks. NULL, check performed. can also name type, default check type performed, . env_decode: function, used decode value entry environment variable, .e. string. can also name type, env_decode() function type used decoding.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-1","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$get(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-2","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Value entry. entry set via conf$set() conf$update(), value returned. Otherwise, entry set via R option (see base::getOption()), value returned. config prefix used get option name, dot separator. .e. entry called 'foo', prefix 'pkg', pkg.foo option used. entry check function, called returning. Otherwise, entry set via environment variable, value returned. config prefix used get name environment variable. addition, dots replaced underscores name converted uppercase. .e. entry called 'foo.bar', prefix 'pkg', 'PKG_FOO_BAR` environment variable used. Otherwise, entry default value, returned. default value might function, case function called produce default value. entry check function, called returning.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-set-set-the-value-of-a-configuration-entry","dir":"Reference","previous_headings":"","what":"conf$set(): set the value of a configuration entry","title":"Package configuration (internals) — config","text":"$set() config entry, value used $set() returned $get(), without consulting R options environment variables.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$set(name, value)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry. value: value entry. entry check function, called .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-3","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"-conf-unset-unset-a-configuration-entry","dir":"Reference","previous_headings":"","what":"$conf$unset(): unset a configuration entry","title":"Package configuration (internals) — config","text":"Note function unset R options environment variables. merely removes value assigned $set() $update().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$unset(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-4","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"cond-update-update-the-values-of-configuration-entries","dir":"Reference","previous_headings":"","what":"cond$update(): update the values of configuration entries","title":"Package configuration (internals) — config","text":"can use method set()/$unset()multiple config entries.NULLvalues innew` unset corresponding entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$update(new)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"new: named list, names config entry names values corresponding config entry values. NULL values unset config entry. list processed sequentially, duplicates latest values effect. (every value checked check function, .)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-5","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-list-query-the-names-of-all-config-entries","dir":"Reference","previous_headings":"","what":"conf$list(): query the names of all config entries","title":"Package configuration (internals) — config","text":"Note order non-deterministic currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$list()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-6","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Character vector.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$exists(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-6","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-7","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"Logical scalar, TRUE entry exists configuration, FALSE otherwise. Note TRUE mean value entry set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-lock-lock-the-configuration","dir":"Reference","previous_headings":"","what":"conf$lock(): lock the configuration","title":"Package configuration (internals) — config","text":"configuration locked, entries can added .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$lock()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-8","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-fix-fix-the-value-of-a-single-configuration-entry","dir":"Reference","previous_headings":"","what":"conf$fix(): fix the value of a single configuration entry","title":"Package configuration (internals) — config","text":"currently $set() value fixed changed . can fix entry without setting value, case R options environment variables can still used update .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$unset(name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-7","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"name: name entry.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-9","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"conf-add-type-add-a-new-config-entry-type-to-a-configuration","dir":"Reference","previous_headings":"","what":"conf$add_type(): add a new config entry type to a configuration","title":"Package configuration (internals) — config","text":"new type can used conf$add() calls.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"Package configuration (internals) — config","text":"","code":"conf$add_type(type_name, check, env_decode)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"arguments-8","dir":"Reference","previous_headings":"","what":"Arguments","title":"Package configuration (internals) — config","text":"type_name: type name. check: default check function type. Use NULL checks. env_decode: function use decode value type environment variable (.e. string).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/config.html","id":"value-10","dir":"Reference","previous_headings":"","what":"Value","title":"Package configuration (internals) — config","text":"configuration, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":null,"dir":"Reference","previous_headings":"","what":"R platforms — current_r_platform","title":"R platforms — current_r_platform","text":"default_platfoms() returns default platforms current R session. typically consist detected platform current R session, \"source\", source packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R platforms — current_r_platform","text":"","code":"current_r_platform() default_platforms()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R platforms — current_r_platform","text":"current_r_platform() returns string, name current platform. default_platforms() returns character vector platform names.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R platforms — current_r_platform","text":"current_r_platform() detects platform current R version. default pkgdepends works source packages binary packages current platform. can change , see 'Configuration'. following platform names can configured returned current_r_platform() default_platforms(): \"source\" source packages, platform string like R.version$platform, Linux name version distribution also included. Examples: x86_64-apple-darwin17.0: macOS High Sierra. aarch64-apple-darwin20: macOS Big Sur arm64. x86_64-w64-mingw32: 64 bit Windows. i386-w64-mingw32: 32 bit Windows. i386+x86_64-w64-mingw32: 64 bit + 32 bit Windows. i386-pc-solaris2.10: 32 bit Solaris. (broken 64 Solaris builds might platform string, unfortunately.) x86_64-pc-linux-gnu-debian-10: Debian Linux 10 x86_64. x86_64-pc-linux-musl-alpine-3.14.1: Alpine Linux. x86_64-pc-linux-gnu-unknown: Unknown Linux Distribution x86_64. s390x-ibm-linux-gnu-ubuntu-20.04: Ubuntu Linux 20.04 S390x. amd64-portbld-freebsd12.1: FreeBSD 12.1 x86_64. addition, following platform names can used configure pkgdepends: \"macos\" macOS binaries appropriate R versions pkgdepends working (defaulting version current session), defined CRAN binaries. E.g. R 3.5.0 macOS binaries built macOS El Capitan. \"windows\" Windows binaries default CRAN architecture. currently Windows Vista supported R versions, might change future. actual binary packages repository might support 32 bit 64 builds, one . practice 32-bit packages rare. CRAN builds including R 4.1 architectures, R 4.2 64 bit . \"windows\" alias i386+x86_64-w64-mingw32 currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/default_platforms.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R platforms — current_r_platform","text":"","code":"current_r_platform() #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" default_platforms() #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":null,"dir":"Reference","previous_headings":"","what":"GitHub Releases — ghr","title":"GitHub Releases — ghr","text":"Functions query manipulate GitHub releases. functions currently experimental.","code":""},{"path":[]},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$list() lists last 100 releases GitHub repository. ghr$async_list() async version ghr$list().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$list(repo) ghr$async_list(repo)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\".","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Data frame columns: id: release id, name: release name, usually version number, possibly v prefix: 3.6.1 v3.6.1, can different. tag_name: usually name. created_at: POSIXct vector.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-1","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$get() downloads information release, including release assets. ghr$async_get async version ghr$get.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$get(repo, tag)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\". tag: tag get.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-1","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Named list, see https://docs.github.com/en/rest/releases/releases#get--release entries.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-2","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$list_assets() lists last 100 assets release. ghr$async_list_assets() async version ghr$list_assets()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$list_assets(repo, tag)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. \"cran/cli\". tag: tag query.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-2","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Data frame columns: id: asset id, name: file name asset, download_url: download URL, size: size bytes, created_at: POSIXct vector, updated_at: POSXct vector, content_type: content type asset.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-3","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$add_asset() adds asset GitHub release. ghr$async_add_asset() async version ghr$add_asset().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr%add_asset(repo, file, tag, name = basename(file))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. file: path file upload asset. tag: tag name add asset . must exist GitHub. name: file name asset release.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"GitHub Releases — ghr","text":"asset name already exists, deleted first.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-3","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Response GitHub named list. See https://docs.github.com/en/rest/releases/assets#upload--release-asset structure.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-4","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$delete_asset() deleted release asset. ghr$async_delete_asset() async version ghr$delete_asset().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$delete_asset(repo, tag, name) ghr$async_delete_asset(repo, tag, name)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. tag: tag name create release . must exist GitHub. name: name asset.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-4","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"list entries: release: list data release, deletion. format return value ghr$get(). deleted: TRUE asset deleted. FALSE asset exist.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"description-5","dir":"Reference","previous_headings":"","what":"Description","title":"GitHub Releases — ghr","text":"ghr$create() creates GitHub release tag. ghr$async_create() async version ghr$create().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"GitHub Releases — ghr","text":"","code":"ghr$create( repo, tag, description = \"\", draft = FALSE, prerelease = FALSE, generage_release_notes = FALSE )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"GitHub Releases — ghr","text":"repo: repository slug, e.g. cran/cli. tag: tag name create release . must exist GitHub. description: release description. draft: whether create draft release. prerelease: whether create prerelease. generate_release_notes: whether auto-generate release notes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghr.html","id":"value-5","dir":"Reference","previous_headings":"","what":"Value","title":"GitHub Releases — ghr","text":"Response GitHub named list. See https://docs.github.com/en/rest/releases/releases#create--release structure.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":null,"dir":"Reference","previous_headings":"","what":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"functions currently experimental.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"update-a-cran-like-repository-of-binary-packages-at-github","dir":"Reference","previous_headings":"","what":"Update a CRAN-like repository of binary packages at GitHub","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"ghrepo$update() updates binary package mirror.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"","code":"ghrepo$update( repo, subdir, release_org = \"cran\", source_repo = \"https://cran.r-project.org\", packages = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/ghrepo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update a CRAN-like repository of binary packages at GitHub — ghrepo","text":"repo: GitHub slug, e.g. r-hub/repos. subdir: subdirectory GitHub repository, R package metadata updated. must exist repository. PACKAGES* files, created. release_org: GitHub organization user name packages published releases. source_repo: CRAN-like repository, source packages taken . packages: character vector package names add binary repository, addition updating ones already .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":null,"dir":"Reference","previous_headings":"","what":"git protocol notes, for developers — git-protocol","title":"git protocol notes, for developers — git-protocol","text":"Assumptions, might relaxed checked later: server must speak smart protocol, version 1 2. (Although added functions specifically dumb protocol, pretty limited.) use HTTP transport, SSH. server shallow capability. server filter capability protocol version 2. SHA-1 hashing supported.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"git protocol notes, for developers — git-protocol","text":"Improvements needed: DONE Tests. (Can always .) DONE Use async HTTP. DONE Support packfiles deltas. (ofs-delta objects still supported.) DONE Optionally send authorization. Already possibly URL. DONE Better error messages. Better errors non-existing user, repository, ref, PR, etc. Optional improvements: Support ofs-delta objects packfiles. necessarily, unless send capability, server sending ofs-delta objects. Make unpacking faster. fast currently, bit arithmetic R. already faster tar.gz + uncompress download GitHub, really needed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git-protocol.html","id":"docs-and-other-helpful-links-","dir":"Reference","previous_headings":"","what":"Docs and other helpful links:","title":"git protocol notes, for developers — git-protocol","text":"https://github.com/git/git/blob/master/Documentation/gitprotocol-common.txt https://github.com/git/git/blob/master/Documentation/gitprotocol-pack.txt https://github.com/git/git/blob/master/Documentation/gitprotocol-v2.txt https://github.com/calebsander/git-internals/blob/part2/src/main.rs https://dev./calebsander/git-internals-part-1--git-object-model-474m","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":null,"dir":"Reference","previous_headings":"","what":"Download a blob for a remote git repository — git_download_file","title":"Download a blob for a remote git repository — git_download_file","text":"Download blob remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Download a blob for a remote git repository — git_download_file","text":"","code":"git_download_file(url, sha, output = sha)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Download a blob for a remote git repository — git_download_file","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. sha SHA hash blob. output Path blob written. directory created exist.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Download a blob for a remote git repository — git_download_file","text":"list corresponds git packfile entry, invisibly. entries: type (always \"blob\"), object (raw object, blob ), size, packed_size, hash.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_download_file.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Download a blob for a remote git repository — git_download_file","text":"Download DESCRIPTION file GitHub:","code":"pak_repo <- \"https://github.com/r-lib/pak.git\" fls <- git_list_files(pak_repo, \"HEAD\") git_download_file( pak_repo, fls$files$hash[fls$files$path == \"DESCRIPTION\"], output = tmp <- tempfile() ) readLines(tmp)[1:5] #> [1] \"Package: pak\" #> [2] \"Version: 0.3.1.9999\" #> [3] \"Title: Another Approach to Package Installation\" #> [4] \"Description: The goal of 'pak' is to make package installation faster and\" #> [5] \" more reliable. In particular, it performs all HTTP operations in parallel,\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":null,"dir":"Reference","previous_headings":"","what":"Get a packfile for an object from a remote git repository — git_fetch","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"Get packfile object remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"","code":"git_fetch(url, sha, blobs = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. sha SHA object get. blobs Whether want download blobs well . still always requesting shallow (depth = 1) clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"list git objects. element entries: type: commit, tree, blob tag. object: object . character scalar commits, data frame trees, columns: type, mode, path, hash, raw vector blobs, raw vector tags. (probably better .)","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"uses filter blob:none, extra blobs downloaded, trees.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_fetch.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get a packfile for an object from a remote git repository — git_fetch","text":"","code":"ft <- git_fetch( \"https://github.com/r-lib/filelock.git\", \"9fdba75a62facaa3e818902f58891166e45eabe9\" ) ft #> [[1]] #> [[1]]$type #> [1] \"commit\" #> #> [[1]]$object #> [1] \"tree f92fab4f8594bd2e6c10f6f3e5dd44e556d7bb7e\\nparent 7c5389719fa50e1827195771ac07c01d44ababa1\\nauthor Gábor Csárdi 1538733728 +0100\\ncommitter Gábor Csárdi 1538733728 +0100\\n\\nFix spelling\\n\" #> #> [[1]]$size #> [1] 239 #> #> [[1]]$packed_size #> [1] 162 #> #> [[1]]$raw #> [1] 74 72 65 65 20 66 39 32 66 61 62 34 66 38 35 39 34 62 64 32 65 36 63 31 30 #> [26] 66 36 66 33 65 35 64 64 34 34 65 35 35 36 64 37 62 62 37 65 0a 70 61 72 65 #> [51] 6e 74 20 37 63 35 33 38 39 37 31 39 66 61 35 30 65 31 38 32 37 31 39 35 37 #> [76] 37 31 61 63 30 37 63 30 31 64 34 34 61 62 61 62 61 31 0a 61 75 74 68 6f 72 #> [101] 20 47 c3 a1 62 6f 72 20 43 73 c3 a1 72 64 69 20 3c 63 73 61 72 64 69 2e 67 #> [126] 61 62 6f 72 40 67 6d 61 69 6c 2e 63 6f 6d 3e 20 31 35 33 38 37 33 33 37 32 #> [151] 38 20 2b 30 31 30 30 0a 63 6f 6d 6d 69 74 74 65 72 20 47 c3 a1 62 6f 72 20 #> [176] 43 73 c3 a1 72 64 69 20 3c 63 73 61 72 64 69 2e 67 61 62 6f 72 40 67 6d 61 #> [201] 69 6c 2e 63 6f 6d 3e 20 31 35 33 38 37 33 33 37 32 38 20 2b 30 31 30 30 0a #> [226] 0a 46 69 78 20 73 70 65 6c 6c 69 6e 67 0a #> #> [[1]]$hash #> [1] \"9fdba75a62facaa3e818902f58891166e45eabe9\" #> #> #> [[2]] #> [[2]]$type #> [1] \"tree\" #> #> [[2]]$object #> type mode path hash #> 1 blob 100644 .Rbuildignore 45181a7157bdd799f225dd8d5b27a224b6a9a2d2 #> 2 blob 100644 .gitignore 9cb99ac4c7fa31d5450f62f8da3487c8a4162e96 #> 3 blob 100644 .travis.yml 85a387228f1b4a0c70d359122f487979ed5eb4a9 #> 4 blob 100644 DESCRIPTION 6013cb378eb62302ec176334b0ab4a2993da1e5e #> 5 blob 100644 LICENSE 1fd2b3ad1dc5f2f946eae143ee3b45da36180bdd #> 6 blob 100644 Makefile dd7836b14f4a04d20a3139c05c76b01a258ffcf3 #> 7 blob 100644 NAMESPACE 906fa2f11a0ba9b43a3e43c9b0cf840fb13dde1b #> 8 blob 100644 NEWS.md f84230bc2ae5f2768677ee72d1085e599263c202 #> 9 tree 40000 R 9c8a4edfaff37a8ee20afe3ff0ec7e18b29b6d3e #> 10 blob 100644 README.Rmd b270933f20b5e16c8a3b3fb3e9bf6a8cfd464ec0 #> 11 blob 100644 README.md d037742ef37ecb903a55d7484cfa30f725085162 #> 12 blob 100644 appveyor.yml 6168ec3805795bd92657ee8bc0208931f4b807d1 #> 13 tree 40000 inst 22c1c69cb093311abb2983012e26bbc20e9fe753 #> 14 tree 40000 man 674f6be38465d83b3f8b44d97bab040ff84b4794 #> 15 tree 40000 src abeb2f2376694746a00797a2c20df24daea66ba3 #> 16 tree 40000 tests 00ad597f0ec5aa7aab56afce1088d67685ef7395 #> #> [[2]]$size #> [1] 566 #> #> [[2]]$packed_size #> [1] 505 #> #> [[2]]$raw #> [1] 31 30 30 36 34 34 20 2e 52 62 75 69 6c 64 69 67 6e 6f 72 65 00 45 18 1a 71 #> [26] 57 bd d7 99 f2 25 dd 8d 5b 27 a2 24 b6 a9 a2 d2 31 30 30 36 34 34 20 2e 67 #> [51] 69 74 69 67 6e 6f 72 65 00 9c b9 9a c4 c7 fa 31 d5 45 0f 62 f8 da 34 87 c8 #> [76] a4 16 2e 96 31 30 30 36 34 34 20 2e 74 72 61 76 69 73 2e 79 6d 6c 00 85 a3 #> [101] 87 22 8f 1b 4a 0c 70 d3 59 12 2f 48 79 79 ed 5e b4 a9 31 30 30 36 34 34 20 #> [126] 44 45 53 43 52 49 50 54 49 4f 4e 00 60 13 cb 37 8e b6 23 02 ec 17 63 34 b0 #> [151] ab 4a 29 93 da 1e 5e 31 30 30 36 34 34 20 4c 49 43 45 4e 53 45 00 1f d2 b3 #> [176] ad 1d c5 f2 f9 46 ea e1 43 ee 3b 45 da 36 18 0b dd 31 30 30 36 34 34 20 4d #> [201] 61 6b 65 66 69 6c 65 00 dd 78 36 b1 4f 4a 04 d2 0a 31 39 c0 5c 76 b0 1a 25 #> [226] 8f fc f3 31 30 30 36 34 34 20 4e 41 4d 45 53 50 41 43 45 00 90 6f a2 f1 1a #> [251] 0b a9 b4 3a 3e 43 c9 b0 cf 84 0f b1 3d de 1b 31 30 30 36 34 34 20 4e 45 57 #> [276] 53 2e 6d 64 00 f8 42 30 bc 2a e5 f2 76 86 77 ee 72 d1 08 5e 59 92 63 c2 02 #> [301] 34 30 30 30 30 20 52 00 9c 8a 4e df af f3 7a 8e e2 0a fe 3f f0 ec 7e 18 b2 #> [326] 9b 6d 3e 31 30 30 36 34 34 20 52 45 41 44 4d 45 2e 52 6d 64 00 b2 70 93 3f #> [351] 20 b5 e1 6c 8a 3b 3f b3 e9 bf 6a 8c fd 46 4e c0 31 30 30 36 34 34 20 52 45 #> [376] 41 44 4d 45 2e 6d 64 00 d0 37 74 2e f3 7e cb 90 3a 55 d7 48 4c fa 30 f7 25 #> [401] 08 51 62 31 30 30 36 34 34 20 61 70 70 76 65 79 6f 72 2e 79 6d 6c 00 61 68 #> [426] ec 38 05 79 5b d9 26 57 ee 8b c0 20 89 31 f4 b8 07 d1 34 30 30 30 30 20 69 #> [451] 6e 73 74 00 22 c1 c6 9c b0 93 31 1a bb 29 83 01 2e 26 bb c2 0e 9f e7 53 34 #> [476] 30 30 30 30 20 6d 61 6e 00 67 4f 6b e3 84 65 d8 3b 3f 8b 44 d9 7b ab 04 0f #> [501] f8 4b 47 94 34 30 30 30 30 20 73 72 63 00 ab eb 2f 23 76 69 47 46 a0 07 97 #> [526] a2 c2 0d f2 4d ae a6 6b a3 34 30 30 30 30 20 74 65 73 74 73 00 00 ad 59 7f #> [551] 0e c5 aa 7a ab 56 af ce 10 88 d6 76 85 ef 73 95 #> #> [[2]]$hash #> [1] \"f92fab4f8594bd2e6c10f6f3e5dd44e556d7bb7e\" #> #> #> [[3]] #> [[3]]$type #> [1] \"tree\" #> #> [[3]]$object #> type mode path hash #> 1 blob 100644 assertions.R c6931259482e745c75d48325f23dc2fcd06f56ff #> 2 blob 100644 package.R 88554b8a205c4005d6f7025c21463a8182f458ab #> #> [[3]]$size #> [1] 77 #> #> [[3]]$packed_size #> [1] 81 #> #> [[3]]$raw #> [1] 31 30 30 36 34 34 20 61 73 73 65 72 74 69 6f 6e 73 2e 52 00 c6 93 12 59 48 #> [26] 2e 74 5c 75 d4 83 25 f2 3d c2 fc d0 6f 56 ff 31 30 30 36 34 34 20 70 61 63 #> [51] 6b 61 67 65 2e 52 00 88 55 4b 8a 20 5c 40 05 d6 f7 02 5c 21 46 3a 81 82 f4 #> [76] 58 ab #> #> [[3]]$hash #> [1] \"9c8a4edfaff37a8ee20afe3ff0ec7e18b29b6d3e\" #> #> #> [[4]] #> [[4]]$type #> [1] \"tree\" #> #> [[4]]$object #> type mode path hash #> 1 blob 100644 WORDLIST 538ab5ce786efef03728f2a5b4592a6ae99c35e5 #> #> [[4]]$size #> [1] 36 #> #> [[4]]$packed_size #> [1] 45 #> #> [[4]]$raw #> [1] 31 30 30 36 34 34 20 57 4f 52 44 4c 49 53 54 00 53 8a b5 ce 78 6e fe f0 37 #> [26] 28 f2 a5 b4 59 2a 6a e9 9c 35 e5 #> #> [[4]]$hash #> [1] \"22c1c69cb093311abb2983012e26bbc20e9fe753\" #> #> #> [[5]] #> [[5]]$type #> [1] \"tree\" #> #> [[5]]$object #> type mode path hash #> 1 blob 100644 lock.Rd c3899949a3573e8ad670610ba389812dd3c9bc90 #> #> [[5]]$size #> [1] 35 #> #> [[5]]$packed_size #> [1] 44 #> #> [[5]]$raw #> [1] 31 30 30 36 34 34 20 6c 6f 63 6b 2e 52 64 00 c3 89 99 49 a3 57 3e 8a d6 70 #> [26] 61 0b a3 89 81 2d d3 c9 bc 90 #> #> [[5]]$hash #> [1] \"674f6be38465d83b3f8b44d97bab040ff84b4794\" #> #> #> [[6]] #> [[6]]$type #> [1] \"tree\" #> #> [[6]]$object #> type mode path hash #> 1 blob 100644 Makevars 945ce829c1bc15a9924342767db832184bea2fe7 #> 2 blob 100644 Makevars.win 1f37ea58dd205928e3f499c6e1db91460e220f9c #> 3 blob 100644 filelock-unix.c 0ecfc663a398a9136ef1e5173f0565a8f733544c #> 4 blob 100644 filelock-windows.c f1e4aae78e81a193ea6a87b7f465bce0eb98d761 #> 5 blob 100644 filelock.h 4aec0dd604f36863d81e693a1424bcf8388397ba #> 6 blob 100644 init.c 2fd89e49f397d31cfd33e895f03d598c7eeca119 #> 7 blob 100644 locklist.c 810c2ea35d59f0336b66ab4f5d31a301e4049b85 #> 8 blob 100644 utf8.c 47849fb8467b37da6620ef1a714894142a851139 #> #> [[6]]$size #> [1] 309 #> #> [[6]]$packed_size #> [1] 259 #> #> [[6]]$raw #> [1] 31 30 30 36 34 34 20 4d 61 6b 65 76 61 72 73 00 94 5c e8 29 c1 bc 15 a9 92 #> [26] 43 42 76 7d b8 32 18 4b ea 2f e7 31 30 30 36 34 34 20 4d 61 6b 65 76 61 72 #> [51] 73 2e 77 69 6e 00 1f 37 ea 58 dd 20 59 28 e3 f4 99 c6 e1 db 91 46 0e 22 0f #> [76] 9c 31 30 30 36 34 34 20 66 69 6c 65 6c 6f 63 6b 2d 75 6e 69 78 2e 63 00 0e #> [101] cf c6 63 a3 98 a9 13 6e f1 e5 17 3f 05 65 a8 f7 33 54 4c 31 30 30 36 34 34 #> [126] 20 66 69 6c 65 6c 6f 63 6b 2d 77 69 6e 64 6f 77 73 2e 63 00 f1 e4 aa e7 8e #> [151] 81 a1 93 ea 6a 87 b7 f4 65 bc e0 eb 98 d7 61 31 30 30 36 34 34 20 66 69 6c #> [176] 65 6c 6f 63 6b 2e 68 00 4a ec 0d d6 04 f3 68 63 d8 1e 69 3a 14 24 bc f8 38 #> [201] 83 97 ba 31 30 30 36 34 34 20 69 6e 69 74 2e 63 00 2f d8 9e 49 f3 97 d3 1c #> [226] fd 33 e8 95 f0 3d 59 8c 7e ec a1 19 31 30 30 36 34 34 20 6c 6f 63 6b 6c 69 #> [251] 73 74 2e 63 00 81 0c 2e a3 5d 59 f0 33 6b 66 ab 4f 5d 31 a3 01 e4 04 9b 85 #> [276] 31 30 30 36 34 34 20 75 74 66 38 2e 63 00 47 84 9f b8 46 7b 37 da 66 20 ef #> [301] 1a 71 48 94 14 2a 85 11 39 #> #> [[6]]$hash #> [1] \"abeb2f2376694746a00797a2c20df24daea66ba3\" #> #> #> [[7]] #> [[7]]$type #> [1] \"tree\" #> #> [[7]]$object #> type mode path hash #> 1 blob 100644 testthat.R ba0c4a16402c81fcf9e23f5435e2f3dc00726805 #> 2 tree 40000 testthat 70486852bb6531d18f3ec76170ded201e320bbd8 #> #> [[7]]$size #> [1] 73 #> #> [[7]]$packed_size #> [1] 74 #> #> [[7]]$raw #> [1] 31 30 30 36 34 34 20 74 65 73 74 74 68 61 74 2e 52 00 ba 0c 4a 16 40 2c 81 #> [26] fc f9 e2 3f 54 35 e2 f3 dc 00 72 68 05 34 30 30 30 30 20 74 65 73 74 74 68 #> [51] 61 74 00 70 48 68 52 bb 65 31 d1 8f 3e c7 61 70 de d2 01 e3 20 bb d8 #> #> [[7]]$hash #> [1] \"00ad597f0ec5aa7aab56afce1088d67685ef7395\" #> #> #> [[8]] #> [[8]]$type #> [1] \"tree\" #> #> [[8]]$object #> type mode path hash #> 1 blob 100644 test.R c1ec36f67434b9e03524180ed3646121ec03e113 #> #> [[8]]$size #> [1] 34 #> #> [[8]]$packed_size #> [1] 43 #> #> [[8]]$raw #> [1] 31 30 30 36 34 34 20 74 65 73 74 2e 52 00 c1 ec 36 f6 74 34 b9 e0 35 24 18 #> [26] 0e d3 64 61 21 ec 03 e1 13 #> #> [[8]]$hash #> [1] \"70486852bb6531d18f3ec76170ded201e320bbd8\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":null,"dir":"Reference","previous_headings":"","what":"List files in a remote git repository — git_list_files","title":"List files in a remote git repository — git_list_files","text":"List files remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List files in a remote git repository — git_list_files","text":"","code":"git_list_files(url, ref = \"HEAD\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List files in a remote git repository — git_list_files","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. ref Either SHA ref name. may also branch name without refs/heads prefix, partial (unique) SHA least seven hexadecimal digits. See git_list_refs() branches, tags GitHub pull requests named.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List files in a remote git repository — git_list_files","text":"list entries: ref: ref function called . sha: SHA ref. commit: named character vector data commit object belonging ref. fields named: tree, parent, author, committer, encoding, message. tree: SHA tree object belonging commit. files: data frame files directories. columns: hash: SHA hash tree blob. type: Either \"tree\" \"blob\". mode: Unix mode. path: Relative path repository's root directory.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_files.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List files in a remote git repository — git_list_files","text":"","code":"fls <- git_list_files(\"https://github.com/r-lib/pak.git\", \"refs/heads/main\") fls$files #> hash type mode #> 1 78637c7741f1d05b867e6380b39841f1cc93c6ae blob 100644 #> 2 09365afed2c2de2690f0a2242998b429a74385ee tree 40000 #> 3 2d19fc766d98a08d9d1437896bfb008a7b15f340 blob 100644 #> 4 3e048b6fbe23121b71a8b6e49d78c75b8a211ced tree 40000 #> 5 9b71b7d8638f643f41d9d2eb13017ce72bb60134 blob 100644 #> 6 d906b2bad68d3d516127d003f005a5ccef912235 blob 100644 #> 7 2718673d32485ebc9a92c2b6dfde4e444ab55e7a blob 100644 #> 8 b9f2c86fd564d49bb17b3c5001f8fc3889172e14 blob 100644 #> 9 27a004b785b382edc66d48a4e23d03a255d5de5c blob 100644 #> 10 0d8d414b0375b28538cdf8389691fe2fecfbd47e blob 100644 #> 11 97271eb29faf3b1cecb81f5f7e7caf732c380bc4 blob 100644 #> 12 4b65418291f5c25e76750e3506a05430f623f73f blob 100644 #> 13 02fe05be5eaedabc818c6a3a4494b86561146815 blob 100644 #> 14 398a86d33a97dda48ddf5d8d775a3acab11bd02f blob 100644 #> 15 e0871627c1a339b113f3c37b558c1d9c361d0613 blob 100644 #> 16 ab25a2db01855917a3cee50cba8dcbbdff008e27 blob 100644 #> 17 b464e4652c292e274d1557a59ccf77c31ff1d0ea blob 100644 #> 18 16634163e7dd63b68dde40f6d33a368c0f52ad7b tree 40000 #> 19 cc0b4c1a148451aed7508a6dceef65734e1e81ae blob 100644 #> 20 d992e9f19ef2cdae01f31a59a4c5c2ca42e8bc6e blob 100644 #> 21 ddee0eaff1186dc75bd892ceeb4bb6a763553dbd blob 100644 #> 22 34860cf4adecb83d71e481dce5377c56c7aff53d blob 100644 #> 23 0e5cae27866cdd3dbb334c2d756b120f74d3acf2 blob 100644 #> 24 8d7b0b5e9ed3f6c183fd8ca9b8639156bd6568f9 blob 100644 #> 25 c45156b7dcf689e2bec9c38fa7760c04c665489c blob 100644 #> 26 bbad5095b4f5da6707fe7636a26d0cbe3b76f562 blob 100644 #> 27 d2236e702180ce578b7af8c10ff22a73f47bac5c blob 100644 #> 28 e8df0e553f1235e493264cf2b66981772de10f71 blob 100644 #> 29 5e3f4c049761c50c636d02f0c7214f84c3155302 blob 100644 #> 30 c6a2c28489f590160a7e75a18b910b6d0834ab4c blob 100644 #> 31 09123886d32910c815f53809098e09304518420f blob 100644 #> 32 07e5117d02d56f17864435cb4711d44c9b402d77 blob 100644 #> 33 8b4046c479b3ef98e995c898a20ade4280eb0838 blob 100644 #> 34 6d0209d93f8e87c08c038e9ddffba176294369a3 blob 100644 #> 35 2b615ee9e1f062391280476a558f65edb7a7908e blob 100644 #> 36 9f6edd092486f92a080df8b6712f503fd7824193 blob 100644 #> 37 3b46adf93274cfc402f3a24abb123101ce401a8e blob 100644 #> 38 8e7d159dbdc6ae2f2cd021576c62de37d0407633 blob 100644 #> 39 3cf6e5a441eb00a227a98a2b0c32da7e34dd8d52 blob 100644 #> 40 f277587288a01b20b1b896b70b59fc0ca4422428 blob 100644 #> 41 23bc3da8517a75db4ad69e30f7e79f6da52b4758 blob 100644 #> 42 40f6f0162de3172cd27b140809a91da2f61f1499 blob 100644 #> 43 3356ee4bb7ef406f1103669be14b5df4368dfe9b blob 100644 #> 44 a8ade609dd10a9da209277238e3d5fba586918be blob 100644 #> 45 db30fdc8f45f09108b2e543027f9b4532797a1a7 blob 100644 #> 46 8ebbddd4fa5fec9941ac149b442aa2ead1df6b54 blob 100644 #> 47 99fa806f2a20f2e31d0c5fda57296cde323b2ed0 blob 100644 #> 48 ece743c56ec87c879f8feae78b369dc74fafa903 blob 100644 #> 49 c91a1ebf5bd3a065fab680e19e06a9a2fb361169 blob 100644 #> 50 435614511f3e6fb4f3ce083eda7a5fd708aa16d5 blob 100644 #> 51 062b171dfe9761cc1b6fef5dcdebdfb54a455484 blob 100644 #> 52 db73a46218520379d4a322c26fec19a68f802fbb blob 100644 #> 53 7d168c39d4a6d7bcc08216d5cdd69d32c10544ee blob 100644 #> 54 2e2f5dd3d7e95a8efe14b66ee11f71b3d4b2dff1 blob 100644 #> 55 ca48de1b748b8cd82fe6251cdf67e9dcc02d1e12 blob 100644 #> 56 ba16de3e25c0b98d1d7d1fcaf1cd5ed377d46975 blob 100644 #> 57 391e1fa7b5334b8c4ec7609b1cb7428cdb4602e7 blob 100644 #> 58 34509a42215e00f1a2b2e83eebe52d8433451dd6 blob 100644 #> 59 351c3e7bc9eae89276958ab699d2aec059650c12 blob 100644 #> 60 0adcdf2b124cbced9bf4b2ba3aa373e35db7ad8a blob 100644 #> 61 a351cb8fa452aa7a3d5219be475795c9dbf81a78 blob 100644 #> 62 597abaccad4473498e2ae58c2521d35e0c699bd6 blob 100755 #> 63 04c55859903c1a7db8ce30f4a37f144795cce7c4 blob 100644 #> 64 a6fbe0b30e28e44255d7bb7860e155a235062c9a blob 100755 #> 65 994f9fdcd999611bc799761323fba728edf79389 blob 100644 #> 66 025b39ee265412d822f515f991ce81d39d52cb8b tree 40000 #> 67 cdf512b63d1e4709f538107ad9bdfec0828e56b8 blob 100644 #> 68 f6138ff9081cd95a7d18801e1d89c5f04e5866f1 tree 40000 #> 69 c3b2104e779ca5ca3a79ee69fc7d1041cbe977f6 blob 100644 #> 70 99d774f214e479cfb5d63055afa8fbcb583111f2 blob 100644 #> 71 e8e94bf558013a41dca7de2200ffb2daa3c46770 tree 40000 #> 72 a82fed0623dc0a20a0ccfceb0baceda61144801a blob 100644 #> 73 d6459e005434a49a66a3ddec92279a86160ad71f blob 100644 #> 74 ba11122d4ef6842a3901dfe4f08b9e91aadf1bfb blob 100644 #> 75 25b6e2293346439646077441c41ffc77c20fad1d blob 100644 #> 76 e3b63731626da84ef1f4af9d63c5284408629b4c blob 100644 #> 77 a8afa85ec5c8fd965b74e31a9267e20ad75f5243 blob 100644 #> 78 c32822a40b4a26156da35265d219e15b1b8ba51b blob 100644 #> 79 4c1a1aeb066f22b0ec1f71ae0b42dc9c686b899b tree 40000 #> 80 19a17499e520a9040d13cdb46c98605b4ec21b9d blob 100644 #> 81 fbd95956ddddff2c33a7095103d7a3435b837fdc tree 40000 #> 82 6c613005a2b2b5b1892f2220888c625f992d29ee blob 100644 #> 83 88302306891209038aa0d25f3e5bf5002812e086 blob 100644 #> 84 ab19d1cc3798b651f02a28ceb2cd00cd432207b6 blob 100644 #> 85 621ab042b5c98815ce2eaa25f65eaed1851d6d05 blob 100644 #> 86 c5b9874a2f342052f690e622163d7fa202439dcf blob 100644 #> 87 bb7c1c80e1675267d35174a3c7af47c1132b142b blob 100644 #> 88 95c7c05cd177ad28aa6a1fa00d5b67d2cf954077 tree 40000 #> 89 4d3a18e1abbc29f0facacb0e48e2c00cc3113e16 blob 100644 #> 90 863a64ce1d9c96ba0dc0a7d1832f9c9fb0e9f0ee blob 100644 #> 91 a16a6b75c8a0c73ac56d3f851de1d5ce3e3e97a2 blob 100644 #> 92 d26b353c949e4720978a24f847a5488422b23ab7 blob 100644 #> 93 57e26c7eeccb26cec849f3de52e640fb81076013 blob 100644 #> 94 4071a5a590525325930c0242bfd1f33503bf195c blob 100644 #> 95 2f7049ae7f268d4185333718813e23895ab769ea blob 100644 #> 96 65304a330f52028b5622f227502267a6f1cadcdd blob 100644 #> 97 bc278d72b4f342585d3a9dc4a15dab610298c58e blob 100644 #> 98 51cd88fcf36a1a40da3d5c4ed9739e5047230de7 blob 100644 #> 99 3b20bab9000d791e1991947ac5525b141c5b5dd8 blob 100644 #> 100 9836125cb5dc016f22c6cdea72edfec7477f968d blob 100644 #> 101 6ff2166291d7e9514cb7561b4dd6f59adf9ffa1b blob 100644 #> 102 379c0aa9015ff343d73da8ec37f39fe60f275e21 blob 100644 #> 103 e206c9ea9faabc2c765fe08df489861cfb13273a blob 100644 #> 104 7220d3271aa842edf6d21fc74ca08763a29ddf9a blob 100644 #> 105 c41dd490b63048c5c763a94ff8bfba1be1913dde blob 100644 #> 106 f7bb775c4cdb68b6e3dfeb6bf81246028559f812 blob 100644 #> 107 f657cb12851b53427e799ed39810d0f6cccf8721 blob 100644 #> 108 f74333c25f4691082e1dca8a68f8893a0961f975 blob 100644 #> 109 8a66ec44325a69c96b6409e1d680f934db005a9f blob 100644 #> 110 c5514b382cc5acb15fd55bf65bc3cf57343ed442 blob 100644 #> 111 c75bf73c8a095046862ff2d88cc00bda55c964ba blob 100644 #> 112 3b34b39ffbf4459bfb61f26f10bac2c37d067a74 blob 100644 #> 113 5c40d48c034b2c140b411cc97249cbc29928e3d5 tree 40000 #> 114 ec5c3152480c860a7891341f922352cbd2578c49 blob 100644 #> 115 779824c68264b03ca1b370493c68935c05111dd0 blob 100644 #> 116 64d294582713e9179c5021027699e3cbf0e2064f blob 100644 #> 117 945355ddf0b1a401b43d2587871eecef560ccb87 blob 100644 #> 118 14ebcc4bf98a8df856723a58b30715a474f79683 blob 100644 #> 119 0f290b95d53ce469fe776d2d9e49826b658c98a8 blob 100644 #> 120 21a2426182a8685d40ef20e2641d8f81fd700db8 blob 100644 #> 121 6570312475be4e1a077725cccf3c48af49d89ed5 blob 100644 #> 122 0c107388edf8276ddb41345ae12800af4f10861f blob 100644 #> 123 933f9c94ee403ef0abd8c35c9ef5f73b47ebfeee blob 100644 #> 124 feec47fafdf68fb5252d4f7068977e9a17d6df44 blob 100644 #> 125 ab3ad9618f073b704509fb6db338164c09e652f0 blob 100644 #> 126 606507c0cbc321dac5da2faebc3f687160310725 blob 100644 #> 127 0c6844a99c5f86a1f992061f77a1bf0e5be5185f blob 100644 #> 128 10eee6579377f6c1bbd4f2816a171777105dd935 blob 100644 #> 129 34ae0b70c57113e27cd8570aeaccdb75d0d7aa10 blob 100644 #> 130 902d269ac9e6ed617245785eafcf86097683b080 blob 100644 #> 131 56bd4dded11a76997485fbb42670194c4b6af022 blob 100644 #> 132 c77ac48379e2b00d18f6091ca459fbadd7cc9bd7 blob 100644 #> 133 45ccd98504cf1334c36930ec6adf4bcb87b07454 blob 100644 #> 134 11c167b9d57d7f8e6da22a991c8cff651d7ddf95 blob 100644 #> 135 4e631fe83ce7a46b4bf6d5ac890e6d2551f714d8 blob 100644 #> 136 b71efd8f0f61d95e8ada1088b3be41743a4b8b3e blob 100644 #> 137 1ef531fdc641016b347eb39ae7a4d31af30c541f blob 100644 #> 138 4a48f62c7f735c48ef4c93e0b79a4e7eb40d9f42 blob 100644 #> 139 721eb3e08884c2bfca365183d80ed24ad1dcd6f3 tree 40000 #> 140 2bb9ea0544508dcf9d419bf976bf6e0b9ca249cb blob 100644 #> 141 270314b87d171300f76501b32e8a0354926d9c84 blob 100644 #> 142 261949d09b1fb399b89e48430f5ca18d3a41b34a tree 40000 #> 143 65d5e8e273c120c2bfe0f73a3a4a934e5c81c7eb blob 100644 #> 144 b556efa9133831e2c7fd52092b4b9b74d5b5234f tree 40000 #> 145 9043e8f13610b5e4d25b3520959704058e8df210 tree 40000 #> 146 53589d891b748348206f5b3660a2eab2cfad868e blob 100644 #> 147 ee1b568a9714489e1f2afe58af5517402dd67288 blob 100644 #> 148 93cdf17fc1fc85b62e344dee549e6679c15daf1f blob 100644 #> 149 669cbd2f5b3c5c493f3139d2731b8a0ff52e4dc4 blob 100644 #> 150 e64a41a84776f9d52a4016f1363f648c3403621b blob 100644 #> 151 0ff31ac05c572f1b797faa1de823bbf64a156773 blob 100644 #> 152 7083b82932c1df6117ed4348a6b75eba0210e9e6 blob 100644 #> 153 ab41d001d7a5b8a0e6ebead68844106b905add60 blob 100644 #> 154 bf707418d737259ecdefeee50358f4b904b6b2c6 blob 100644 #> 155 63c494c86d0721196c560f2abb05ed5def1bf5bf blob 100644 #> 156 01b5f065f869e4dd302c86983d76fc5561f61d46 blob 100644 #> 157 1cb24179f61be7f6257c505b0ef8e64a6666d8c7 blob 100644 #> 158 9448734642b391308c0cc142d2ea2c5eee5e58ac blob 100644 #> 159 071c6c4c9c83d52c3609f31ffd8b25333308ca2d tree 40000 #> 160 cc96b41c901541add156a02c39dbfda0ff1cb898 tree 40000 #> 161 552a325bc9790007ec52353c33d03e57ad263978 tree 40000 #> 162 0ce1318498219e9783606b303c90cf2fc893369d blob 100644 #> 163 49e8e97903bde8a58026712473021d5d3ff17da7 blob 100644 #> 164 088477679097737cccdc1bd46d90b577b88a4817 blob 100644 #> 165 9811c5c118d9d190eee3d605bb38c42cf6a3f3d9 blob 100644 #> 166 fc40496978d53be1e58be4a1359cc10b15d23c96 tree 40000 #> 167 58efaf8c4bfed6d3624b0e9fb1bef845951b09a9 blob 100644 #> 168 2ec0d3edc4c016a043028bd748ee09b6f8df0273 blob 100644 #> 169 f8090ad4071bf668868f50c7754ad968cf85cdbf blob 100644 #> 170 7e62ecf2bdea2bdbb1d530cf79c0d451bc9cc294 blob 100755 #> 171 165c68c868430f8129739ca53631645545f4c2bb tree 40000 #> 172 a65b41774ad52b3cc7b60496d35eaafc5da4bb16 blob 100644 #> 173 8260e0f7ee227b2fc002179bb7fe6720ddf2cb34 blob 100644 #> 174 dd8700466c8dafabf9ab08c0bc9dc6fe5ea8b82b blob 100644 #> 175 13f0120982af72c5ed254fcbb74192dc5c20a3f0 tree 40000 #> 176 9d2d50de04bfa00067b74c6d5428d266d8674a7e blob 100644 #> path #> 1 .Rbuildignore #> 2 .github #> 3 .github/.gitignore #> 4 .github/workflows #> 5 .github/workflows/R-CMD-check.yaml #> 6 .github/workflows/build-package.yaml #> 7 .github/workflows/build.yaml #> 8 .github/workflows/linux-builder-containers.yaml #> 9 .github/workflows/nightly.yaml #> 10 .github/workflows/pkgdown.yaml #> 11 .github/workflows/pr-commands.yaml #> 12 .github/workflows/test-coverage.yaml #> 13 .gitignore #> 14 DESCRIPTION #> 15 Makefile #> 16 NAMESPACE #> 17 NEWS.md #> 18 R #> 19 R/aaa-rstudio-detect.R #> 20 R/build-pak-binary.R #> 21 R/cache.R #> 22 R/compat-vctrs.R #> 23 R/confirmation.R #> 24 R/cran-install-order.R #> 25 R/default-cran-mirror.R #> 26 R/deps-explain.R #> 27 R/dev-mode.R #> 28 R/docs.R #> 29 R/embed-ca-certs.R #> 30 R/embed-lib.R #> 31 R/errors.R #> 32 R/extra.R #> 33 R/formatted.R #> 34 R/global-handler.R #> 35 R/json.R #> 36 R/library.R #> 37 R/local.R #> 38 R/lockfile.R #> 39 R/name-check.R #> 40 R/onload.R #> 41 R/package.R #> 42 R/pak-cleanup.R #> 43 R/pak-install.R #> 44 R/pak-update.R #> 45 R/pak.R #> 46 R/print.R #> 47 R/private-lib.R #> 48 R/push-packages.R #> 49 R/repo.R #> 50 R/rstudio-detect.R #> 51 R/safe-cran-install.R #> 52 R/search.R #> 53 R/subprocess.R #> 54 R/system-requirements.R #> 55 R/terminate.R #> 56 R/unload.R #> 57 R/utils.R #> 58 R/warn-loaded.R #> 59 README.Rmd #> 60 README.md #> 61 _pkgdown.yml #> 62 cleanup #> 63 codecov.yml #> 64 configure #> 65 configure.win #> 66 data #> 67 data/pak_sitrep_data.R #> 68 inst #> 69 inst/WORDLIST #> 70 inst/header.md #> 71 inst/tools #> 72 inst/tools/pkg_1.0.0.tgz #> 73 inst/tools/xxx #> 74 inst/tools/xxx.bz2 #> 75 inst/tools/xxx.gz #> 76 inst/tools/xxx.tar.gz #> 77 inst/tools/xxx.xz #> 78 inst/tools/xxx.zip #> 79 man #> 80 man/cache.Rd #> 81 man/chunks #> 82 man/chunks/FAQ.Rmd #> 83 man/chunks/features.Rmd #> 84 man/chunks/install.Rmd #> 85 man/chunks/tldr.Rmd #> 86 man/faq.Rd #> 87 man/features.Rd #> 88 man/figures #> 89 man/figures/cran-dark.svg #> 90 man/figures/cran.svg #> 91 man/figures/deps-dark.svg #> 92 man/figures/deps.svg #> 93 man/figures/explain-dark.svg #> 94 man/figures/explain.svg #> 95 man/figures/gh-dark.svg #> 96 man/figures/gh.svg #> 97 man/figures/local-dark.svg #> 98 man/figures/local.svg #> 99 man/figures/tldr-cran.svg #> 100 man/get-started.Rd #> 101 man/handle_package_not_found.Rd #> 102 man/install.Rd #> 103 man/lib_status.Rd #> 104 man/local_deps.Rd #> 105 man/local_deps_explain.Rd #> 106 man/local_install.Rd #> 107 man/local_install_deps.Rd #> 108 man/local_install_dev_deps.Rd #> 109 man/local_package_trees.Rd #> 110 man/local_system_requirements.Rd #> 111 man/lockfile_create.Rd #> 112 man/lockfile_install.Rd #> 113 man/macros #> 114 man/macros/eval.Rd #> 115 man/metadata.Rd #> 116 man/package-dependency-types.Rd #> 117 man/pak-config.Rd #> 118 man/pak.Rd #> 119 man/pak_cleanup.Rd #> 120 man/pak_install_extra.Rd #> 121 man/pak_package_sources.Rd #> 122 man/pak_setup.Rd #> 123 man/pak_sitrep.Rd #> 124 man/pak_solver.Rd #> 125 man/pak_update.Rd #> 126 man/pkg_deps.Rd #> 127 man/pkg_deps_explain.Rd #> 128 man/pkg_deps_tree.Rd #> 129 man/pkg_download.Rd #> 130 man/pkg_history.Rd #> 131 man/pkg_install.Rd #> 132 man/pkg_name_check.Rd #> 133 man/pkg_remove.Rd #> 134 man/pkg_search.Rd #> 135 man/pkg_status.Rd #> 136 man/repo_add.Rd #> 137 man/repo_get.Rd #> 138 man/repo_status.Rd #> 139 man/roxygen #> 140 man/roxygen/meta.R #> 141 pak.Rproj #> 142 tests #> 143 tests/testthat.R #> 144 tests/testthat #> 145 tests/testthat/_snaps #> 146 tests/testthat/_snaps/print.md #> 147 tests/testthat/helpers.R #> 148 tests/testthat/setup.R #> 149 tests/testthat/test-bundle.R #> 150 tests/testthat/test-create-pak-repo.R #> 151 tests/testthat/test-platform.R #> 152 tests/testthat/test-print.R #> 153 tests/testthat/test-private-lib.R #> 154 tests/testthat/test-repo.R #> 155 tests/testthat/test-subprocess.R #> 156 tests/testthat/test-system-requirements.R #> 157 tests/testthat/test-ui.R #> 158 tests/testthat/test-utils.R #> 159 tools #> 160 tools/build #> 161 tools/build/linux #> 162 tools/build/linux/Dockerfile #> 163 tools/build/linux/Dockerfile-builder #> 164 tools/build/linux/Makefile #> 165 tools/build/linux/Makevars-builder #> 166 tools/build/macos #> 167 tools/build/macos/.gitignore #> 168 tools/build/macos/Makefile #> 169 tools/build/macos/Makevars-curl.in #> 170 tools/build/macos/download.sh #> 171 tools/build/windows #> 172 tools/build/windows/.gitignore #> 173 tools/build/windows/Makefile #> 174 tools/dynamic-help.R #> 175 vignettes #> 176 vignettes/internals.Rmd"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"List references in a remote git repository — git_list_refs","title":"List references in a remote git repository — git_list_refs","text":"List references remote git repository","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List references in a remote git repository — git_list_refs","text":"","code":"git_list_refs(url, prefixes = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List references in a remote git repository — git_list_refs","text":"url Repository URL, e.g. https://github.com/r-lib/pak.git. might include authentication information, e.g. GitHub token. prefixes NULL, references one prefixes prefix, listed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List references in a remote git repository — git_list_refs","text":"list entries: refs caps. caps character vector capabilities advertised server. refs data frame git refs, columns ref hash.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"List references in a remote git repository — git_list_refs","text":"Branches references named refs/heads/, e.g. refs/heads/main. Tags references named refs/tags/, e.g. refs/tags/v1.0.2. GitHub pull requests references named refs/pull//head, e.g. refs/pull/37/head. open pull requests refs/pull//merge reference well, branch pull request merged. special reference called HEAD. points default branch GitHub.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/git_list_refs.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List references in a remote git repository — git_list_refs","text":"List references certain prefix: Various services:","code":"git_list_refs(\"https://github.com/r-lib/filelock.git\") #> $refs #> ref #> 1 HEAD #> 2 refs/heads/cran-1-0-2 #> 3 refs/heads/fix/testthat-error-parallel #> 4 refs/heads/gh-pages #> 5 refs/heads/main #> 6 refs/heads/refcounting #> 7 refs/pull/14/head #> 8 refs/pull/37/head #> 9 refs/pull/37/merge #> 10 refs/pull/38/head #> 11 refs/pull/40/head #> 12 refs/tags/v1.0.2 #> hash #> 1 0331c49c0b17845468b5f3e2da75680475bc9989 #> 2 dfc615b14dfc030df3f44bd377e752728f76df3d #> 3 6f4b4bfcc1d3442d63496c7640984c0d9570a05a #> 4 2956fbdcbab65b75e3347048a9dc18b15fe377d2 #> 5 0331c49c0b17845468b5f3e2da75680475bc9989 #> 6 48e5bbe0e031897c7f0e194edbf6897f813fbaee #> 7 48e5bbe0e031897c7f0e194edbf6897f813fbaee #> 8 6f4b4bfcc1d3442d63496c7640984c0d9570a05a #> 9 74b253543f6d2e7213a8174ebbe8e397b9cc866b #> 10 c7e58188a55844e6e75cd38cf81388c3452b1259 #> 11 10421f0b7117244002d377d7a9699c2742abdfcc #> 12 9fdba75a62facaa3e818902f58891166e45eabe9 #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"allow-tip-sha1-in-want\" \"allow-reachable-sha1-in-want\" #> [15] \"no-done\" \"symref=HEAD:refs/heads/main\" #> [17] \"filter\" \"object-format=sha1\" #> [19] \"agent=git/github-g8119c27a9d8d\" git_list_refs(\"https://github.com/r-lib/filelock.git\", \"refs/heads/main\") #> $refs #> ref hash #> 1 refs/heads/main 211dde89c4974b295aa02c5c77b5570ead0fc458 #> #> $caps #> [1] \"version 2\" \"agent=git/github-1c5ee477c782\" #> [3] \"ls-refs=unborn\" \"fetch=shallow wait-for-done filter\" #> [5] \"server-option\" \"object-format=sha1\" git_list_refs(\"https://gitlab.com/Linaro/tuxmake.git\", \"HEAD\") #> $refs #> ref hash #> 1 HEAD 9441c1f6ae68148882e9d15ab2d6b3008f4c2c19 #> #> $caps #> [1] \"version 2\" \"agent=git/2.40.0.gl1\" #> [3] \"ls-refs=unborn\" \"fetch=shallow wait-for-done filter\" #> [5] \"server-option\" \"object-format=sha1\" #> [7] \"object-info\" git_list_refs(\"https://bitbucket.org/gaborcsardi/cli.git\") #> $refs #> ref #> 1 HEAD #> 2 refs/heads/ask #> 3 refs/heads/cran-3.0.0 #> 4 refs/heads/cran/v3.0.1 #> 5 refs/heads/feature/cli-capabilities #> 6 refs/heads/feature/cli-condition-width #> 7 refs/heads/feature/format-error-options #> 8 refs/heads/feature/rstudio-job #> 9 refs/heads/feature/span-bullets #> 10 refs/heads/feature/table #> 11 refs/heads/fix/pkgdown-2.0.0 #> 12 refs/heads/gh-pages #> 13 refs/heads/main #> 14 refs/heads/use-glue-literal-argument #> 15 refs/tags/v1.0.1 #> 16 refs/tags/v1.1.0 #> 17 refs/tags/v1.1.0-pre #> 18 refs/tags/v2.0.0 #> 19 refs/tags/v2.0.1 #> 20 refs/tags/v2.0.2 #> 21 refs/tags/v2.1.0 #> 22 refs/tags/v2.2.0 #> 23 refs/tags/v2.3.0 #> 24 refs/tags/v2.3.1 #> 25 refs/tags/v2.4.0 #> 26 refs/tags/v2.5.0 #> 27 refs/tags/v3.0.0 #> 28 refs/tags/v3.0.1 #> 29 refs/tags/v3.1.0 #> hash #> 1 928ff3e6a52a08bbabadc57027c43de13b0d7601 #> 2 736e5824c082e94fc1acc68fb604fa66b19d1826 #> 3 75f3f185c116ff69f3abd56bf89fa9032a9eb965 #> 4 722cd638ebe4529db20442962cd2d7dc56c694d7 #> 5 b6ebff6771ff9ee8e5b19f8b6c20e142182ab866 #> 6 ee931427a9ee51bdfd837bd03c22d2d60ad81946 #> 7 28d4efb9b8875e933d682285b65ab05c61f6aef2 #> 8 8ddc6e68b970f14d45af6109108b17352dc8a4e7 #> 9 bfaabf3658c229d406591b4436991e37720476cf #> 10 0d4089fc2f6cf8c7364f02698cf257363e877660 #> 11 be878b57b6f9978953916b0a1d7272f104e27309 #> 12 928ff3e6a52a08bbabadc57027c43de13b0d7601 #> 13 f6794c4a2d845b6706a41c58f63b4acbbc663968 #> 14 5c2904c05e8f809d0136e2253e2e6ea4b7743992 #> 15 6e0ffb0de1b54953583e01068a8052ae4cbe72aa #> 16 d4f0e8618aba3475974394075f3f5384695d1d28 #> 17 57fb26d1c4582fc73a3a8531aa534948f88e96bc #> 18 9a133422f200f7aa0cdc78b28eb42770cdfe4b35 #> 19 31aaccbdb3904c5b681175483a95688940345725 #> 20 19f3b864f4ee04c31627a3246dbea44bc07b7967 #> 21 a914e326aea8a9ec7d07f7accd64bb624065ba8a #> 22 e0d0668030b482c1bda1fce66db63f402c4e9c5a #> 23 e4c9180c5b53f68c3f938473c0d5871ceefe9991 #> 24 5c0c8a88549050e156ea4469adf536e1c0ac0881 #> 25 251c84f298b46e0529dd992b9ec86da4aaaf4fa8 #> 26 17fd0dc202a51aa82a7704786712d9f77c690c4d #> 27 df963095361d77322676260e60c549d8807ded1d #> 28 525e785e8b34e889707bbbe354287bd4a60e8fcb #> 29 e40cfd4eedad58c22c3e7bcfdba6f23f11a79e13 #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"allow-tip-sha1-in-want\" \"allow-reachable-sha1-in-want\" #> [15] \"no-done\" \"symref=HEAD:refs/heads/gh-pages\" #> [17] \"object-format=sha1\" \"agent=git/2.32.0\" git_list_refs(\"https://git.savannah.nongnu.org/git/administration/savane.git\") #> $refs #> ref hash #> 1 HEAD bdfce5e39c3ebb36b748925dfc8a0cde483fda6a #> 2 refs/heads/i18n e5f2c309b038789a82ab5a54d723a3564f1bde58 #> 3 refs/heads/master bdfce5e39c3ebb36b748925dfc8a0cde483fda6a #> 4 refs/tags/release-3.10 e1db1a011effeb7d16a5af9c15b91d8998579ad7 #> 5 refs/tags/release-3.10^{} d16b7e7e849d5d63794b1c48847e8a57250ce2bd #> 6 refs/tags/release-3.11 7d5723e022a7144c077501ecff5ac23984effe8d #> 7 refs/tags/release-3.11^{} af29b8a99fe4b4e7deefb6bcbf9a6d98f43228bf #> #> $caps #> [1] \"multi_ack\" \"thin-pack\" #> [3] \"side-band\" \"side-band-64k\" #> [5] \"ofs-delta\" \"shallow\" #> [7] \"deepen-since\" \"deepen-not\" #> [9] \"deepen-relative\" \"no-progress\" #> [11] \"include-tag\" \"multi_ack_detailed\" #> [13] \"no-done\" \"symref=HEAD:refs/heads/master\" #> [15] \"agent=git/2.17.1\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"Perform a package installation plan — install_package_plan","title":"Perform a package installation plan — install_package_plan","text":"See 'Installation plans' details format.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Perform a package installation plan — install_package_plan","text":"","code":"install_package_plan( plan, lib = .libPaths()[[1]], num_workers = 1, cache = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Perform a package installation plan — install_package_plan","text":"plan Package plan object, data frame, see 'Installation plans' format. lib Library directory install . num_workers Number worker processes use. cache Package cache use, NULL.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_package_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Perform a package installation plan — install_package_plan","text":"Information installation process.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":null,"dir":"Reference","previous_headings":"","what":"Installation plans — install_plans","title":"Installation plans — install_plans","text":"installation plan contains data needed install set package files. usually created installation proposal solving dependencies downloading package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Installation plans — install_plans","text":"also possible create installation plan different way. installation plan object must data frame, least following columns: package: name package. type: type package reference. binary: Whether package binary package. file: Full path package file directory. dependencies: list column lists names dependent packages package. needscompilation: Whether package needs compilation. FALSE binary packages. installation plans created via pkg_installation_proposal, plan contains columns pkg_download_result objects, additional ones: library: library package supposed installed . direct: whether package directly requested installed dependency. vignettes: whether vignettes need (re)built. packaged: whether R CMD build already called package.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/install_plans.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Installation plans — install_plans","text":"","code":"if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_install_plan() } # }"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":null,"dir":"Reference","previous_headings":"","what":"Check whether a package name is valid — is_valid_package_name","title":"Check whether a package name is valid — is_valid_package_name","text":"Check whether package name valid","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check whether a package name is valid — is_valid_package_name","text":"","code":"is_valid_package_name(nm)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check whether a package name is valid — is_valid_package_name","text":"nm Potential package name, string length 1.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check whether a package name is valid — is_valid_package_name","text":"Logical flag. FALSE, reason attribute contains character string, explanation package name invalid. See examples .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/is_valid_package_name.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check whether a package name is valid — is_valid_package_name","text":"","code":"is_valid_package_name(\"pak\") #> [1] TRUE is_valid_package_name(\"pkg\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"Package name forbidden by CRAN.\" is_valid_package_name(\"pak\\u00e1ge\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It can only contain ASCII characters.\" is_valid_package_name(\"good-package\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It can only contain letters, numbers and dot.\" is_valid_package_name(\"x\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must have at least two characters.\" is_valid_package_name(\"1stpackage\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must start with a letter.\" is_valid_package_name(\"dots.\") #> [1] FALSE #> attr(,\"reason\") #> [1] \"It must not end with a dot.\""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":null,"dir":"Reference","previous_headings":"","what":"Status of packages in a library — lib_status","title":"Status of packages in a library — lib_status","text":"Query data packages package library.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Status of packages in a library — lib_status","text":"","code":"lib_status(library = .libPaths()[1], packages = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Status of packages in a library — lib_status","text":"library Path library. packages NULL, packages shown.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Status of packages in a library — lib_status","text":"Data frame contains data packages installed library. always columns: biocviews: corresponding field DESCRIPTION, must present Bioconductor packages, packages typically . built: Built field DESCRIPTION. depends, suggests, Imports, linkingto, enhances: corresponding fields DESCRIPTION files. deps: list data frames, dependencies package. columns: ref, type (dependency type lowercase), package (dependent package, R), op version, last two version requirement. op can >=, >, == <=, although first one common practice. library: path package library containing package. license: DESCRIPTION. md5sum: DESCTIPTION, typically NA, except Windows. needscompilation: DESCRIPTION, column logical. package: package name. platform: Built field DESCRIPTION, current platform missing DESCRIPTION. priority: DESCRIPTION, usually base, recommended, missing. ref: corresponding installed::* package reference. repository: DESCRIPTION. packages CRAN repository CRAN, repositories, e.g. R-universe adds repository URL . repotype: cran, bioc missing. rversion: Built field. field, current R version. sysreqs: SystemRequirements field DESCRIPTION. title: package title. type: always installed. version: package version (string). columns unchanged DESCRIPTION, pkgdepends also adds couple.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/lib_status.html","id":"notes-","dir":"Reference","previous_headings":"","what":"Notes:","title":"Status of packages in a library — lib_status","text":"addition, also remote* config/needs/* entries DESCRIPTION files. (Case insensitive.) columns type character, except needscompilation, logical deps, list columns. entry missing package, set NA. Note column names lowercase, even corresponding entries DESCRIPTION. order columns deterministic, assume order. Additional columns might present, internal pkgdepends used user code.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"Parse package location references — parse_pkg_refs","title":"Parse package location references — parse_pkg_refs","text":"See pkg_refs supported package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Parse package location references — parse_pkg_refs","text":"","code":"parse_pkg_refs(refs, remote_types = NULL, ...) parse_pkg_ref(ref, remote_types = NULL, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Parse package location references — parse_pkg_refs","text":"refs Character vector references. remote_types Custom remote types can added , advanced use, experimental currently. ... Additional arguments passed individual parser functions. ref package reference, like refs, length one vector, convenience.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/parse_pkg_refs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Parse package location references — parse_pkg_refs","text":"parse_pkg_refs() returns list parsed references. parse_pkg_ref() returns one parsed reference. parsed reference list, least elements: ref: original reference string. type: reference type. package: package name. typically contains additional data, specific various reference types. See pkg_refs details. parsed reference always class remote_ref_ remote_ref.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a binary package from an installed package — pkg_build","title":"Create a binary package from an installed package — pkg_build","text":"built package current working directory.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a binary package from an installed package — pkg_build","text":"","code":"pkg_build( pkg, library = .libPaths()[1], flavor = Sys.getenv(\"PKG_BUILD_FLAVOR\"), build_number = 1L )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a binary package from an installed package — pkg_build","text":"pkg Package name. library Library path. flavor Platform flavor. Defaults PKG_BUILD_FLAVOR environment variable. NULL empty string, appended platform string dash. build_number integer number added file name, version number, able multiple builds package version.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a binary package from an installed package — pkg_build","text":"Path built package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_build.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Create a binary package from an installed package — pkg_build","text":"function currently experimental.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":null,"dir":"Reference","previous_headings":"","what":"pkgdepends configuration — pkg_config","title":"pkgdepends configuration — pkg_config","text":"Configuration entries several pkgdepends classes.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"pkgdepends configuration — pkg_config","text":"","code":"current_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"pkgdepends configuration — pkg_config","text":"pkgdepends configuration set several source. , order preference: Function arguments, e.g. config argument new_pkg_installation_proposal(). Global options, set via options(). name global option pkg. prefix plus name pkgdepends configuration entry. E.g. pkg.platforms. Environment variables. name environment variable PKG_ prefix, plus name pkgdepends configuration entry, uppercase. E.g. PKG_PLATFORMS. Default values. classes use entries. E.g. pkg_download_proposal concerned package libraries, 'll ignore library configuration entry. Call current_config() print current configuration.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_config.html","id":"configuration-entries","dir":"Reference","previous_headings":"","what":"Configuration entries","title":"pkgdepends configuration — pkg_config","text":"build_vignettes: Whether build vignettes package trees. used package obtained package tree, source (binary) package archive. default vignettes built case. set TRUE, need make sure vignette builder packages available, installed default currently. cache_dir: Directory download packages . Defaults temporary directory within R session temporary directory, see base::tempdir(). cran_mirror: CRAN mirror use. Defaults repos option (see base::options()), set https://cran.rstudio.com. dependencies: Dependencies consider download install. Defaults hard dependencies, see pkg_dep_types_hard(). following values supported PKG_DEPENDENCIES environment variable: \"TRUE\", \"FALSE\", \"NA\", semicolon separated list dependency types. See as_pkg_dependencies() details. git_submodules: Whether update submodules git repositories. affects git:: gitlab:: package sources . R package subdirectory submodules within directory updated. submodule appears .Rbuildignore, skipped. include_linkingto: Whether always include LinkingTo dependencies solution installation, even needed packages installed binaries. sometimes useful, see e.g. https://github.com/r-lib/pak/issues/485 example use case. library: Package library install packages . also used already installed packages considering dependencies dependency lookup package installation. Defaults first path .libPaths(). metadata_cache_dir: Location metadata replica pkgcache::cranlike_metadata_cache. Defaults temporary directory within R session temporary directory, see base::tempdir(). metadata_update_after: time interval difftime object. pkgdepends update metadata cache older . default one day. PKG_METADATA_UPDATE_AFTER environment variable may set seconds (s suffix), minutes (m suffix), hours (h suffix), days (d suffix). E.g: 1d means one day. package_cache_dir: Package cache location pkgcache::package_cache. default pkgcache default. platforms: Character vector platforms download install packages . See default_platforms() possible platform names. Defaults platform current R session, plus \"source\". r_versions: Character vector, R versions download install packages . defaults current R version. sysreqs: Whether automatically look install system requirements. TRUE, r pak_or_pkgdepends() try install required system packages. FALSE, system requirements still printed (including OS packages supported platforms), installed. default TRUE supported platforms, current user root user password-less sudo configured current user. sysreqs_db_update: Whether try update system requirements database GitHub. update fails, cached build-database used. Defaults TRUE. sysreqs_db_update_timeout: Timeout system requirements database update. Defaults five seconds. sysreqs_dry_run: TRUE, pkgdepends prints system commands install system requirements, execute . sysreqs_platform: platform use system requirements lookup. Linux, system requirements currently supported, must string containing distribution name release, separated dash. E.g.: \"ubuntu-22.04\", \"rhel-9\". sysreqs_rspm_repo_id: Posit Package Manager (formerly RStudio Package Manager) repository id use CRAN system requirements lookup. Defaults RSPM_REPO_ID environment variable, set. set, defaults 1. sysreqs_rspm_url: Root URL Posit Package Manager (formerly RStudio Package Manager) system requirements lookup. default RSPM_ROOT environment variable used, set. set, defaults https://packagemanager.posit.co. sysreqs_sudo: Whether use sudo install system requirements, Unix. default TRUE Linux effective user id current process root user. sysreqs_update: Whether try update system packages already installed. defaults TRUE CI systems: CI environment variable set true. sysreqs_verbose: Whether echo output system requirements installation. Defaults TRUE CI environment variable set. use_bioconductor: Whether automatically use Bioconductor repositories. Defaults TRUE. windows_archs: Character scalar specifying architectures download/install Windows. possible values : \"prefer-x64\": Generally prefer x64 binaries. current R session x64, download/install x64 packages. (packages might still multi-architecture binaries!) current R session i386, download/install packages architectures. might mean compiling packages source binary packages x64 , like CRAN Windows binaries R 4.2.x currently. \"prefer-x64\" default R 4.2.0 later. \"\": Always download/install packages i386 x64 architectures. might need compilation source available binaries x64 , like CRAN Windows binaries R 4.2.x currently. \"\" default R 4.2.0 earlier.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":null,"dir":"Reference","previous_headings":"","what":"Possible package dependency types — pkg_dep_types_hard","title":"Possible package dependency types — pkg_dep_types_hard","text":"Hard dependencies needed package load, soft dependencies optional.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Possible package dependency types — pkg_dep_types_hard","text":"","code":"pkg_dep_types_hard() pkg_dep_types_soft() pkg_dep_types()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_dep_types.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Possible package dependency types — pkg_dep_types_hard","text":"string vector dependency types, capitalized.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package dependency lookup — new_pkg_deps","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Look dependencies R packages various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"new_pkg_deps(refs, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"refs Package names references. See 'Package references' syntax. ... Additional arguments, passed pkg_deps$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new_pkg_deps() returns new pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new_pkg_deps() creates new object pkg_deps class. advantage new_pkg_deps() compared using pkg_deps constructor directly avoids making pkgdepends build time dependency. usual steps query package dependencies : Create pkg_deps object new_pkg_deps(). Resolve possible dependencies pkg_deps$resolve(). Solve dependencies, obtain subset possible dependencies can installed together, pkg_deps$solve(). Call pkg_deps$get_solution() list result dependency solver.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps$new() pkg_deps$get_refs() pkg_deps$get_config() pkg_deps$resolve() pkg_deps$async_resolve() pkg_deps$get_resolution() pkg_deps$get_solve_policy() pkg_deps$set_solve_policy() pkg_deps$solve() pkg_deps$get_solution() pkg_deps$stop_for_solution_error() pkg_deps$draw() pkg_deps$format() pkg_deps$print() pkg_deps$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Create new pkg_deps object. Consider using new_pkg_deps() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources. perform actual lookup, need call resolve() method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$new( refs, config = list(), policy = c(\"lazy\", \"upgrade\"), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. policy Solution policy. See 'dependency solver'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"new pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"package refs used create pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector package refs used create pkg_deps object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Configuration options pkg_deps object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"See 'Configuration' configuration entries.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Returns current policy dependency solver. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector length one.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Set current policy dependency solver. object already contains solution new policy different old policy, solution deleted. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$set_solve_policy(policy = c(\"lazy\", \"upgrade\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"policy Policy set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Solve package dependencies. resolved dependencies, works set packages, can installed together create functional installation. set includes directly specified packages, required (suggested, depending configuration) packages well. includes every package . See 'dependency solver' details. solve() calls resolve() automatically, called yet.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-get-solution-","dir":"Reference","previous_headings":"","what":"Method get_solution()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Returns solution package dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$get_solution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-stop-for-solution-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_solution_error()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Error dependency solver failed find consistent set packages can installed together.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$stop_for_solution_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-draw-","dir":"Reference","previous_headings":"","what":"Method draw()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Draw tree package dependencies. returns tree object, see cli::tree(). Printing object prints dependency tree screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$draw()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"tree object cli package, see cli::tree().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Format pkg_deps object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-10","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"Prints pkg_deps object screen. printout includes: package refs. Whether object resolved dependencies. Whether resolution errors. Whether object solved dependencies. Whether solution errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-13","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"returns-11","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package dependency lookup — new_pkg_deps","text":"pkg_deps object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package dependency lookup — new_pkg_deps","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"usage-14","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"pkg_deps$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package dependency lookup — new_pkg_deps","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_deps.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package dependency lookup — new_pkg_deps","text":"","code":"# Method initialize() pd <- pkg_deps$new(\"r-lib/pkgdepends\") pd #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) #> (use `$solve()` to solve dependencies) # Method get_refs() pd <- new_pkg_deps(c(\"pak\", \"jsonlite\")) pd$get_refs() #> [1] \"pak\" \"jsonlite\" # Method get_config() pd <- new_pkg_deps(\"pak\") pd$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c2d24c02a\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"unknown\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c7ab65b1\" #> #> ## library #> #> [1] \"/tmp/RtmpSpRxHi/file186c7007792a\" #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] FALSE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> # Method resolve() pd <- new_pkg_deps(\"pak\") pd$resolve() #> #> ✔ Updated metadata database: 3.64 MB in 3 files. #> #> ℹ Updating metadata database #> ✔ Updating metadata database ... done #> pd$get_resolution() #> # A data frame: 2 × 35 #> ref type direct directpkg status package version license #> #> 1 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> 2 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , … # Method get_resolution() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd$resolve() pd$get_resolution() #> # A data frame: 28 × 35 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method get_solve_policy() pdi <- new_pkg_deps(\"r-lib/pkgdepends\") pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" # Method set_solve_policy() pdi <- new_pkg_deps(\"r-lib/pkgdepends\") pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" # Method solve() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd$resolve() pd$solve() pd$get_solution() #> #> + result: OK #> + refs: #> - r-lib/pkgdepends #> + constraints (58): #> - select pkgdepends exactly once #> - select callr at most once #> - select cli at most once #> - select curl at most once #> - select desc at most once #> - select filelock at most once #> - select jsonlite at most once #> - select lpSolve at most once #> - select pkgbuild at most once #> - select pkgcache at most once #> ... #> + solution: #> - R6 #> - callr #> - curl #> - desc #> - filelock #> - jsonlite #> - lpSolve #> - pkgbuild #> - pkgcache #> - processx #> - ps #> - r-lib/cli #> - r-lib/pkgdepends #> - zip # Method get_solution() pd <- new_pkg_deps(\"pkgload\") pd$resolve() pd$solve() pd$get_solution() #> #> + result: OK #> + refs: #> - pkgload #> + constraints (52): #> - select pkgload exactly once #> - select callr at most once #> - select cli at most once #> - select desc at most once #> - select fs at most once #> - select glue at most once #> - select lifecycle at most once #> - select pkgbuild at most once #> - select processx at most once #> - select ps at most once #> ... #> + solution: #> - R6 #> - callr #> - cli #> - desc #> - fs #> - glue #> - lifecycle #> - pkgbuild #> - pkgload #> - processx #> - ps #> - rlang #> - rprojroot #> - withr # Method stop_for_solution_error() # This is an error, because the packages conflict: pd <- new_pkg_deps( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pd$resolve() pd$solve() pd #> #> + refs: #> - r-lib/pak #> - cran::pak #> + has resolution (+0 dependencies) #> + has solution #> x has solution errors #> (use `$get_resolution()` to see resolution results) #> (use `$show_solution()` to see the dependencies #> (use `$get_solution()` to see the full solution results) # This fails: # pd$stop_for_solution_error() # Method draw() pd <- new_pkg_deps(\"pkgload\") pd$solve() pd$draw() #> pkgload 1.4.0 [new][dl] (unknown size) #> ├─cli 3.6.3 [new][dl] (unknown size) #> ├─desc 1.4.3 [new][dl] (unknown size) #> │ ├─cli #> │ └─R6 2.5.1 [new][dl] (unknown size) #> ├─fs 1.6.5 [new][dl] (unknown size) #> ├─glue 1.8.0 [new][dl] (unknown size) #> ├─lifecycle 1.0.4 [new][dl] (unknown size) #> │ ├─cli #> │ ├─glue #> │ └─rlang 1.1.4 [new][dl] (unknown size) #> ├─pkgbuild 1.4.5 [new][dl] (unknown size) #> │ ├─callr 3.7.6 [new][dl] (unknown size) #> │ │ ├─processx 3.8.4 [new][dl] (unknown size) #> │ │ │ ├─ps 1.8.1 [new][dl] (unknown size) #> │ │ │ └─R6 #> │ │ └─R6 #> │ ├─cli #> │ ├─desc #> │ ├─processx #> │ └─R6 #> ├─processx #> ├─rlang #> ├─rprojroot 2.0.4 [new][dl] (unknown size) #> └─withr 3.0.2 [new][dl] (unknown size) #> #> Key: [new] new | [dl] download # Method print() pd <- new_pkg_deps(\"r-lib/pkgdepends\") pd #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) #> (use `$solve()` to solve dependencies) pd$resolve() pd #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> (use `$get_resolution()` to see resolution results) #> (use `$solve()` to solve dependencies) pd$solve() pd #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> + has solution #> (use `$get_resolution()` to see resolution results) #> (use `$show_solution()` to see the dependencies #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package downloads — new_pkg_download_proposal","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Download packages dependencies, various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"new_pkg_download_proposal(refs, ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"refs Package names references. See 'Package references' syntax. ... Additional arguments, passed pkg_download_proposal$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package downloads — new_pkg_download_proposal","text":"new_pkg_download_proposal() returns new pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package downloads — new_pkg_download_proposal","text":"new_pkg_download_proposal() creates new object pkg_download_proposal class, can used look download R packages dependencies. advantage new_pkg_download_proposal() compared using pkg_download_proposal constructor directly avoids making pkgdepends build time dependency. Typical workflow download set packages: Create pkg_download_proposal object new_pkg_download_proposal(). Resolve possible dependencies pkg_download_proposal$resolve(). Download files pkg_download_proposal$download(). Get data packages downloads pkg_download_proposal$get_downloads().","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal$new() pkg_download_proposal$get_refs() pkg_download_proposal$get_config() pkg_download_proposal$resolve() pkg_download_proposal$async_resolve() pkg_download_proposal$get_resolution() pkg_download_proposal$download() pkg_download_proposal$async_download() pkg_download_proposal$get_downloads() pkg_download_proposal$stop_for_download_error() pkg_download_proposal$format() pkg_download_proposal$print() pkg_download_proposal$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Create new pkg_download_proposal object. Consider using new_pkg_download_proposal() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources, download package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$new(refs, config = list(), remote_types = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pdl <- pkg_download_proposal$new(\"r-lib/pkgdepends\") pdl"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"package refs used create pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"character vector package refs used create pkg_download_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Configuration options pkg_download_proposal object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Named list. See 'Configuration' configuration options.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-download-","dir":"Reference","previous_headings":"","what":"Method download()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Download resolved packages. uses package cache pkgcache package default, avoid downloads possible.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-async-download-","dir":"Reference","previous_headings":"","what":"Method async_download()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"download(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$async_download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-get-downloads-","dir":"Reference","previous_headings":"","what":"Method get_downloads()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Returns summary package downloads.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$get_downloads()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_result object, list. See pkg_download_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-stop-for-download-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_download_error()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Throw error downloads failed recent pkg_download_proposal$download() call.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$stop_for_download_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Format pkg_download_proposal object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Nothing. character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"Prints pkg_download_proposal object screen. printout includes: package refs. Whether object resolved dependencies. Whether resolution errors. Whether downloads completed. Whether downloads errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package downloads — new_pkg_download_proposal","text":"pkg_download_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package downloads — new_pkg_download_proposal","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"pkg_download_proposal$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package downloads — new_pkg_download_proposal","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_download_proposal.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package downloads — new_pkg_download_proposal","text":"","code":"# Method get_refs() pdl <- new_pkg_download_proposal(c(\"pak\", \"jsonlite\")) pdl$get_refs() #> [1] \"pak\" \"jsonlite\" # Method get_config() pdl <- new_pkg_download_proposal(\"pak\") pdl$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c350902ff\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"unknown\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c7ab65b1\" #> #> ## library #> #> NULL #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] TRUE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> # Method resolve() pdl <- new_pkg_download_proposal(\"pak\") pdl$resolve() pdl$get_resolution() #> # A data frame: 2 × 35 #> ref type direct directpkg status package version license #> #> 1 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> 2 pak standard TRUE TRUE OK pak 0.8.0 GPL-3 #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , #> # cache_status , sysreqs_packages , … # Method get_resolution() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl$resolve() pdl$get_resolution() #> # A data frame: 28 × 35 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 27 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method download() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl$resolve() pdl$download() #> ℹ Getting 13 pkgs (4.04 MB) and 15 pkgs with unknown sizes #> ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build #> ✔ Got callr 3.7.6 (source) (104.36 kB) #> ✔ Got desc 1.4.3 (source) (80.07 kB) #> ✔ Got ps 1.8.1 (source) (164.39 kB) #> ✔ Got filelock 1.0.3 (source) (15.44 kB) #> ✔ Got cli 3.6.3 (source) (568.16 kB) #> ✔ Got filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (24.75 kB) #> ✔ Got R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (83.25 kB) #> ✔ Got pkgbuild 1.4.5 (source) (48.10 kB) #> ✔ Got lpSolve 5.6.23 (source) (467.59 kB) #> ✔ Got desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (334.41 kB) #> ✔ Got pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (203.40 kB) #> ✔ Got curl 6.0.1 (source) (932.72 kB) #> ✔ Got R6 2.5.1 (source) (63.42 kB) #> ✔ Got callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) (445.43 kB) #> ✔ Got processx 3.8.4 (source) (163.98 kB) #> ✔ Got zip 2.3.1 (source) (111.28 kB) #> ✔ Got pkgcache 2.2.3 (source) (266.66 kB) #> ✔ Got curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (783.82 kB) #> ✔ Got lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) (374.02 kB) #> ✔ Got jsonlite 1.8.9 (source) (1.06 MB) #> ✔ Got processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (444.53 kB) #> ✔ Got jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.09 MB) #> ✔ Got cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.30 MB) #> ✔ Got pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) (921.54 kB) #> ✔ Got ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (486.48 kB) #> ✔ Got zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (636.87 kB) #> ✔ Got pkgdepends 0.8.0.9000 (source) (1.70 MB) pdl$get_downloads() #> # A data frame: 28 × 40 #> ref type direct directpkg status package version license #> #> 1 r-lib/pkgdepends github TRUE TRUE OK pkgdep… 0.8.0.… MIT + … #> 2 callr stand… FALSE FALSE OK callr 3.7.6 MIT + … #> 3 cli stand… FALSE FALSE OK cli 3.6.3 MIT + … #> 4 curl stand… FALSE FALSE OK curl 6.0.1 MIT + … #> 5 desc stand… FALSE FALSE OK desc 1.4.3 MIT + … #> 6 filelock stand… FALSE FALSE OK filelo… 1.0.3 MIT + … #> 7 jsonlite stand… FALSE FALSE OK jsonli… 1.8.9 MIT + … #> 8 lpSolve stand… FALSE FALSE OK lpSolve 5.6.23 LGPL-2 #> 9 pkgbuild stand… FALSE FALSE OK pkgbui… 1.4.5 MIT + … #> 10 pkgcache stand… FALSE FALSE OK pkgcac… 2.2.3 MIT + … #> # ℹ 18 more rows #> # ℹ 32 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method get_downloads() pdl <- new_pkg_download_proposal(\"pkgload\") pdl$resolve() pdl$download() #> ℹ Getting 7 pkgs (2.45 MB) and 14 pkgs with unknown sizes, 7 (1.19 MB) cached #> ✔ Got lifecycle 1.0.4 (source) (107.66 kB) #> ✔ Got glue 1.8.0 (source) (126.68 kB) #> ✔ Got rprojroot 2.0.4 (source) (59.95 kB) #> ✔ Got pkgload 1.4.0 (source) (85.66 kB) #> ✔ Cached copy of callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Got withr 3.0.2 (source) (103.24 kB) #> ✔ Got lifecycle 1.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (125.14 kB) #> ✔ Got rprojroot 2.0.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (107.18 kB) #> ✔ Got glue 1.8.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (168.32 kB) #> ✔ Got pkgload 1.4.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (217.65 kB) #> ✔ Got fs 1.6.5 (x86_64-pc-linux-gnu-ubuntu-22.04) (310.00 kB) #> ✔ Got rlang 1.1.4 (source) (767.04 kB) #> ✔ Got fs 1.6.5 (source) (1.20 MB) #> ✔ Got withr 3.0.2 (x86_64-pc-linux-gnu-ubuntu-22.04) (223.69 kB) #> ✔ Got rlang 1.1.4 (x86_64-pc-linux-gnu-ubuntu-22.04) (1.60 MB) pdl$get_downloads() #> # A data frame: 28 × 40 #> ref type direct directpkg status package version license #> #> 1 callr standard FALSE FALSE OK callr 3.7.6 MIT + fil… #> 2 cli standard FALSE FALSE OK cli 3.6.3 MIT + fil… #> 3 desc standard FALSE FALSE OK desc 1.4.3 MIT + fil… #> 4 fs standard FALSE FALSE OK fs 1.6.5 MIT + fil… #> 5 glue standard FALSE FALSE OK glue 1.8.0 MIT + fil… #> 6 lifecycle standard FALSE FALSE OK lifecycle 1.0.4 MIT + fil… #> 7 pkgbuild standard FALSE FALSE OK pkgbuild 1.4.5 MIT + fil… #> 8 pkgload standard TRUE TRUE OK pkgload 1.4.0 GPL-3 #> 9 processx standard FALSE FALSE OK processx 3.8.4 MIT + fil… #> 10 ps standard FALSE FALSE OK ps 1.8.1 MIT + fil… #> # ℹ 18 more rows #> # ℹ 32 more variables: needscompilation , priority , #> # md5sum , sha256 , filesize , built , #> # platform , rversion , repotype , repodir , #> # target , deps , mirror , sources , #> # remote , error , metadata , extra , #> # dep_types , params , sysreqs , os_type , … # Method print() pdl <- new_pkg_download_proposal(\"r-lib/pkgdepends\") pdl #> #> + refs: #> - r-lib/pkgdepends #> (use `$resolve()` to resolve dependencies) pdl$resolve() pdl #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> (use `$download()` to download packages) #> (use `$get_resolution()` to see resolution results) pdl$download() #> ℹ Getting 15 pkgs with unknown sizes, 13 (4.04 MB) cached #> ✔ Cached copy of pkgdepends 0.8.0.9000 (source) is the latest build #> ✔ Cached copy of cli 3.6.3.9001 (source) is the latest build #> ✔ Cached copy of callr 3.7.6 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of cli 3.6.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of curl 6.0.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of desc 1.4.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of filelock 1.0.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of jsonlite 1.8.9 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of lpSolve 5.6.23 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of pkgbuild 1.4.5 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of pkgcache 2.2.3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of processx 3.8.4 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of ps 1.8.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of R6 2.5.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build #> ✔ Cached copy of zip 2.3.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build pdl #> #> + refs: #> - r-lib/pkgdepends #> + has resolution (+13 dependencies) #> + has downloads #> (use `$get_resolution()` to see resolution results) #> (use `$get_downloads()` to get download data)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":null,"dir":"Reference","previous_headings":"","what":"Package downloads — pkg_downloads","title":"Package downloads — pkg_downloads","text":"pkg_download_proposal pkg_installation_proposal classes download methods, downloads package files configured directory (see 'Configuration').","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Package downloads — pkg_downloads","text":"return pkg_download_result object, data frame, adds extra columns pkg_resolution_result (pkg_download_proposal) pkg_solution_result (pkg_installation_proposal): built: Built field DESCRIPTION file binary packages, information available. cache_status: whether package file package cache. NA installed:: package refs. dep_types: character vector dependency types considered package. (list column.) deps: dependencies package, data frame. See \"Package dependency tables\" . direct: whether package (ref, really) directly specified, added dependency. error: list column contains error objects refs pkgdepends failed resolve. filesize: file size bytes, NA information available. license: license package, NA available. md5sum: MD5 checksum package file, available, NA . metadata: named character vector. fields () added installed DESCRIPTION file package. mirror: URL CRAN(-like) mirror site metadata obtained . NA non-CRAN-like sources, e.g. local files, installed packages, GitHub, etc. needscompilation: whether package needs compilation. package: package name. priority: \"base\" base packages, \"recommended\" recommended packages, NA otherwise. ref: package reference. remote: parsed remote_ref objects, see parse_pkg_refs(). list column. repodir: directory package CRAN-like repository. sha256: SHA256 hash package file, available, otherwise NA. sources: URLs package can downloaded . necessarily URL can download HTTP client. E.g. local:: refs path, git:: refs URL git. zero length vector installed:: refs. status: status dependency resolution, \"OK\" \"FAILED\". target: path package saved CRAN-repository. type: ref type. version: package version. fulltarget: absolute path downloaded file. one fulltarget fulltarget_tree must exist disk. fulltarget_tree: absolute path package tree directory. one fulltarget fulltarget_tree must exist disk. download_status: \"\" \"Got\", depending whether file obtained cache. download_error: error object failed downloads. file_size: Size file, NA. installed:: refs, NA, also NA refs created fulltarget_tree instead fulltarget. fulltarget, exists, contains packaged (via R CMD build) source R package. fulltarget_tree exists, package tree directory, still needs R CMD build call. Additional columns might present. either used internally experimental. might removed changed time. columns type character, except direct (logical), needscompilation (logical), filesize (integer), deps (list column, see \"Package dependency tables\" ), sources (list character vectors), remote (list), error (list), metadata (list), dep_types (list).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_downloads.html","id":"package-dependency-tables","dir":"Reference","previous_headings":"","what":"Package dependency tables","title":"Package downloads — pkg_downloads","text":"package dependency tables deps list column five columns currently: ref: package ref dependency. type: dependency type, lowercase. .e. imports, suggests, etc. package: package name dependency. op: operator version requirements, e.g. >=. version: version number, version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for installation from a lock file — new_pkg_installation_plan","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"installation plan similar installation proposal (.e. pkg_installation_proposal), already contains solved dependencies, complete download URLs.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"new_pkg_installation_plan(lockfile = \"pkg.lock\", config = list(), ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"lockfile Path lock file use. config Configuration options, named list. See 'Configuration'. include library, .libPaths()[1] added library. ... Additional arguments, passed pkg_installation_plan$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"new_pkg_installation_plan() returns pkg_installation_plan object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Typically create pkg_installation_plan object new_pkg_installation_plan() call $download() method download packages $install() method install .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"super-class","dir":"Reference","previous_headings":"","what":"Super class","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkgdepends::pkg_installation_proposal -> pkg_installation_plan","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkgdepends::pkg_installation_proposal$async_download() pkgdepends::pkg_installation_proposal$create_lockfile() pkgdepends::pkg_installation_proposal$download() pkgdepends::pkg_installation_proposal$draw() pkgdepends::pkg_installation_proposal$get_config() pkgdepends::pkg_installation_proposal$get_downloads() pkgdepends::pkg_installation_proposal$get_install_plan() pkgdepends::pkg_installation_proposal$get_refs() pkgdepends::pkg_installation_proposal$get_resolution() pkgdepends::pkg_installation_proposal$get_solution() pkgdepends::pkg_installation_proposal$get_sysreqs() pkgdepends::pkg_installation_proposal$install() pkgdepends::pkg_installation_proposal$install_sysreqs() pkgdepends::pkg_installation_proposal$print() pkgdepends::pkg_installation_proposal$show_solution() pkgdepends::pkg_installation_proposal$show_sysreqs() pkgdepends::pkg_installation_proposal$stop_for_download_error() pkgdepends::pkg_installation_proposal$stop_for_solution_error()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"pkg_installation_plan$new() pkg_installation_plan$resolve() pkg_installation_plan$async_resolve() pkg_installation_plan$get_solve_policy() pkg_installation_plan$set_solve_policy() pkg_installation_plan$solve() pkg_installation_plan$update() pkg_installation_plan$update_sysreqs() pkg_installation_plan$format() pkg_installation_plan$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Create new pkg_installation_plan object. Consider using new_pkg_installation_plan() instead calling constructor directly. returned object can used download install packages, according plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$new( lockfile = \"pkg.lock\", config = list(), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"lockfile Path lock file use. config Configuration options. See 'Configuration'. needs include package library install , library. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Installation plans already solved, method return NA_character_, always.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$set_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"function implemented installation plans, error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-update-","dir":"Reference","previous_headings":"","what":"Method update()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Update plan current state library. library changed since plan created, nothing. new packages installed, might necessary download install packages plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$update()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"operation different creating new proposal updated library, uses packages package versions original plan. E.g. library newer version package, $update() downgrade version plan.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-update-sysreqs-","dir":"Reference","previous_headings":"","what":"Method update_sysreqs()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Update information installed missing system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$update_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"Format pkg_installation_plan object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"","code":"pkg_installation_plan$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_plan.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for installation from a lock file — new_pkg_installation_plan","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":null,"dir":"Reference","previous_headings":"","what":"R6 class for package download and installation. — new_pkg_installation_proposal","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Download install R packages, dependencies, various sources.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"new_pkg_installation_proposal(refs, config = list(), ...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. include library, .libPaths()[1] added library. ... Additional arguments, passed pkg_installation_proposal$new().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"new_pkg_installation_proposal() returns new pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"new_pkg_installation_proposal() creates new object pkg_installation_proposal class. advantage new_pkg_installation_proposal() compared using pkg_installation_proposal constructor directly avoids making pkgdepends build time dependency. Typical workflow install set packages: Create pkg_installation_proposal object new_pkg_installation_proposal(). Resolve possible dependencies pkg_installation_proposal$resolve(). Solve package dependencies, get installation plan, pkg_installation_proposal$solve(). Download files pkg_installation_proposal$download(). Install downloaded files pkg_installation_proposal$install().","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal$new() pkg_installation_proposal$get_refs() pkg_installation_proposal$get_config() pkg_installation_proposal$resolve() pkg_installation_proposal$async_resolve() pkg_installation_proposal$get_resolution() pkg_installation_proposal$get_solve_policy() pkg_installation_proposal$set_solve_policy() pkg_installation_proposal$solve() pkg_installation_proposal$get_solution() pkg_installation_proposal$show_solution() pkg_installation_proposal$get_sysreqs() pkg_installation_proposal$show_sysreqs() pkg_installation_proposal$stop_for_solution_error() pkg_installation_proposal$create_lockfile() pkg_installation_proposal$draw() pkg_installation_proposal$download() pkg_installation_proposal$async_download() pkg_installation_proposal$get_downloads() pkg_installation_proposal$stop_for_download_error() pkg_installation_proposal$install() pkg_installation_proposal$install_sysreqs() pkg_installation_proposal$get_install_plan() pkg_installation_proposal$format() pkg_installation_proposal$print() pkg_installation_proposal$clone()","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Create new pkg_installation_proposal object. Consider using new_pkg_installation_proposal() instead calling constructor directly. returned object can used look (recursive) dependencies R packages various sources, download install package files.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$new( refs, config = list(), policy = c(\"lazy\", \"upgrade\"), remote_types = NULL )"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"refs Package names references. See 'Package references' syntax. config Configuration options, named list. See 'Configuration'. needs include package library install , library. policy Solution policy. See 'dependency solver'. remote_types Custom remote ref types, advanced use, experimental currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-refs-","dir":"Reference","previous_headings":"","what":"Method get_refs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"package refs used create pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_refs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector package refs used create pkg_installation_proposal object.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-config-","dir":"Reference","previous_headings":"","what":"Method get_config()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Configuration options pkg_installation_proposal object. See 'Configuration' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_config()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-1","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Named list. See 'Configuration' configuration options.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-resolve-","dir":"Reference","previous_headings":"","what":"Method resolve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Resolve dependencies specified package references. usually means downloading metadata CRAN Bioconductor, unless already cached, also GitHub GitHub refs included, either directly indirectly. See 'Dependency resolution' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-2","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-async-resolve-","dir":"Reference","previous_headings":"","what":"Method async_resolve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"resolve(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$async_resolve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-3","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-resolution-","dir":"Reference","previous_headings":"","what":"Method get_resolution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Query result dependency resolution. method can called resolve() completed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-5","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_resolution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-4","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_resolution_result object, also data frame. See 'Dependency resolution' columns.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-solve-policy-","dir":"Reference","previous_headings":"","what":"Method get_solve_policy()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns current policy dependency solver. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-6","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_solve_policy()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-5","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector length one.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-set-solve-policy-","dir":"Reference","previous_headings":"","what":"Method set_solve_policy()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Set current policy dependency solver. object already contains solution new policy different old policy, solution deleted. See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-7","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$set_solve_policy(policy = c(\"lazy\", \"upgrade\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"policy Policy set.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-solve-","dir":"Reference","previous_headings":"","what":"Method solve()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Solve package dependencies. resolved dependencies, works set packages, can installed together create functional installation. set includes directly specified packages, required (suggested, depending configuration) packages well. includes every package . See 'dependency solver' details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-8","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$solve()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-6","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-solution-","dir":"Reference","previous_headings":"","what":"Method get_solution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns solution package dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-9","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_solution()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-7","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-show-solution-","dir":"Reference","previous_headings":"","what":"Method show_solution()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Show solution screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-10","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$show_solution(key = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"key Whether show key package list annotation.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-8","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_solution_result object, list. See pkg_solution_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-sysreqs-","dir":"Reference","previous_headings":"","what":"Method get_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Query categorize system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-11","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-show-sysreqs-","dir":"Reference","previous_headings":"","what":"Method show_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Show system requirements packages solution.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-12","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$show_sysreqs()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-stop-for-solution-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_solution_error()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Error dependency solver failed find consistent set packages can installed together.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-13","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$stop_for_solution_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-create-lockfile-","dir":"Reference","previous_headings":"","what":"Method create_lockfile()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Create lock file contains information perform installation later, possibly another R session.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-14","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$create_lockfile(path = \"pkg.lock\", version = 1)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"path Name lock file. default pkg.lock current working directory. version version 1 supported currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"details-1","dir":"Reference","previous_headings":"","what":"Details","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Note, since URLs CRAN CRAN-like repositories change time, practice perform plan lock file much later. example, binary packages older package version removed, found. Similarly, url:: remote types, URL might hold updated version package, compared lock file created. happen, pkgdepends prints warning, try continue installation. installation might fail updated package different (e.g. new) dependencies. Currently intended use case lock files CI systems, facilitate caching. (hash ) lock file provides good key caching systems.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-draw-","dir":"Reference","previous_headings":"","what":"Method draw()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Draw tree package dependencies. returns tree object, see cli::tree(). Printing object prints dependency tree screen.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-15","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$draw()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-9","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"tree object cli package, see cli::tree().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-download-","dir":"Reference","previous_headings":"","what":"Method download()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Download packages part solution. uses package cache pkgcache package default, avoid downloads possible.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-16","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-10","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-async-download-","dir":"Reference","previous_headings":"","what":"Method async_download()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"download(), asynchronous. method advanced use.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-17","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$async_download()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-11","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deferred value.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-get-downloads-","dir":"Reference","previous_headings":"","what":"Method get_downloads()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Returns summary package downloads.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-18","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_downloads()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-12","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_download_result object, list. See pkg_download_result details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-stop-for-download-error-","dir":"Reference","previous_headings":"","what":"Method stop_for_download_error()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Throw error downloads failed recent pkg_installation_proposal$download() call.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-19","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$stop_for_download_error()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-install-","dir":"Reference","previous_headings":"","what":"Method install()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Install downloaded packages. calls install_package_plan().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-20","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$install()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-13","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"return value install_package_plan().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-install-sysreqs-","dir":"Reference","previous_headings":"","what":"Method install_sysreqs()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Install system requirements. nothing system requirements turned . Create installation plan downloaded packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-21","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$install_sysreqs()"},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-22","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$get_install_plan()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-14","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"installation plan, see 'Installation plans' format.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-format-","dir":"Reference","previous_headings":"","what":"Method format()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Format pkg_installation_proposal object, typically printing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-23","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$format(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-5","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-15","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"character vector, element line printout.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-print-","dir":"Reference","previous_headings":"","what":"Method print()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"Prints pkg_installation_proposal object screen. printout includes: package refs. policy dependency solver. Whether object solved dependencies. Whether solution errors. Whether object downloads. Whether downloads errors. Advice methods call next. See example .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-24","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$print(...)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-6","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"... used currently.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"returns-16","dir":"Reference","previous_headings":"","what":"Returns","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"pkg_installation_proposal object , invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"objects class cloneable method.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"usage-25","dir":"Reference","previous_headings":"","what":"Usage","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"pkg_installation_proposal$clone(deep = FALSE)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"arguments-7","dir":"Reference","previous_headings":"","what":"Arguments","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"deep Whether make deep clone.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_installation_proposal.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"R6 class for package download and installation. — new_pkg_installation_proposal","text":"","code":"if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi pdi$resolve() pdi pdi$solve() pdi pdi$download() pdi } # } pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile())) #> ℹ Creating library directory: /tmp/RtmpSpRxHi/file186c356b3bac pdi #> #> + refs: #> - r-lib/pkgdepends #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi <- new_pkg_installation_proposal(\"r-lib/pkgdepends\") pdi$get_refs() #> [1] \"r-lib/pkgdepends\" pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpSpRxHi/file186cadc685d pdi$get_config() #> # pkg config #> ## build_vignettes #> #> [1] FALSE #> #> ## sysreqs_verbose #> #> [1] TRUE #> #> ## sysreqs_db_update #> #> [1] TRUE #> #> ## metadata_cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c3ee1f855\" #> #> ## platforms #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" \"source\" #> #> ## goal #> #> [1] \"install\" #> #> ## r_versions #> #> [1] \"4.4.2\" #> #> ## cache_dir #> #> [1] \"/tmp/RtmpSpRxHi/file186c7ab65b1\" #> #> ## library #> #> [1] \"/tmp/RtmpSpRxHi/file186cadc685d\" #> #> ## metadata_update_after #> #> Time difference of 24 hours #> #> ## include_linkingto #> #> [1] FALSE #> #> ## sysreqs_rspm_repo_id #> #> [1] \"1\" #> #> ## sysreqs_update #> #> [1] TRUE #> #> ## package_cache_dir #> #> NULL #> #> ## sysreqs_rspm_url #> #> [1] \"https://packagemanager.posit.co\" #> #> ## sysreqs_sudo #> #> [1] TRUE #> #> ## sysreqs_db_update_timeout #> #> Time difference of 5 secs #> #> ## sysreqs_lookup_system #> #> [1] TRUE #> #> ## git_submodules #> #> [1] FALSE #> #> ## sysreqs_platform #> #> [1] \"x86_64-pc-linux-gnu-ubuntu-22.04\" #> #> ## dependencies #> #> [1] \"Depends\" \"Imports\" \"LinkingTo\" #> #> ## sysreqs #> #> [1] TRUE #> #> ## sysreqs_dry_run #> #> [1] FALSE #> #> ## windows_archs #> #> [1] \"prefer-x64\" #> #> ## use_bioconductor #> #> [1] TRUE #> #> ## cran_mirror #> #> CRAN #> \"https://cran.rstudio.com\" #> if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$get_resolution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$get_resolution() } # } pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpSpRxHi/file186c141b9f3d pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpSpRxHi/file186c1bab60b0 pdi$get_solve_policy() #> [1] \"lazy\" pdi$set_solve_policy(\"upgrade\") pdi$get_solve_policy() #> [1] \"upgrade\" if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"r-lib/pkgdepends\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$get_solution() pdi$show_solution() } # } if (FALSE) { # \\dontrun{ # This is an error, because the packages conflict: pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi # This fails: # pdi$stop_for_solution_error() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$draw() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_downloads() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( c(\"r-lib/pak\", \"cran::pak\"), config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_downloads() } # } if (FALSE) { # \\dontrun{ pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) pdi$resolve() pdi$solve() pdi$download() pdi$get_install_plan() } # } # Method print pdi <- new_pkg_installation_proposal( \"pak\", config = list(library = tempfile()) ) #> ℹ Creating library directory: /tmp/RtmpSpRxHi/file186c73c470f1 pdi #> #> + refs: #> - pak #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi$resolve() pdi #> #> + refs: #> - pak #> + solution policy: lazy #> (use `$solve()` to solve dependencies) pdi$solve() pdi #> #> + refs: #> - pak #> + solution policy: lazy #> + has solution #> (use `$download()` to download packages) #> (use `$show_solution()` to see the packages to install #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree) #> (use `$create_lockfile()` to write a lock file) pdi$download() #> ℹ Getting 1 pkg with unknown size #> ✔ Got pak 0.8.0 (x86_64-pc-linux-gnu-ubuntu-22.04) (5.98 MB) pdi #> #> + refs: #> - pak #> + solution policy: lazy #> + has solution #> + has downloads #> (use `$show_solution()` to see the packages to install #> (use `$get_solution()` to see the full solution results) #> (use `$draw()` to draw the dependency tree) #> (use `$create_lockfile()` to write a lock file) #> (use `$get_downloads()` to get download data) #> (use `$get_install_plan()` to get the installation plan) #> (use `$install()` to install the packages)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if an R package name is available. — pkg_name_check","title":"Check if an R package name is available. — pkg_name_check","text":"Additionally, look candidate name number dictionaries, make sure negative meaning.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if an R package name is available. — pkg_name_check","text":"","code":"pkg_name_check(name, dictionaries = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if an R package name is available. — pkg_name_check","text":"name Package name candidate. dictionaries Character vector, dictionaries query. Available dictionaries: * wikipedia * wiktionary, * sentiment (https://github.com/fnielsen/afinn), * urban (Urban Dictionary). NULL (default), Urban Dictionary omitted, often offensive.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if an R package name is available. — pkg_name_check","text":"pkg_name_check object custom print method.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"valid-package-name-check","dir":"Reference","previous_headings":"","what":"Valid package name check","title":"Check if an R package name is available. — pkg_name_check","text":"Check validity name package name. See 'Writing R Extensions' allowed package names. Also checked list names known cause problems.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"cran-checks","dir":"Reference","previous_headings":"","what":"CRAN checks","title":"Check if an R package name is available. — pkg_name_check","text":"Check name names past current packages CRAN, including base recommended packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"bioconductor-checks","dir":"Reference","previous_headings":"","what":"Bioconductor checks","title":"Check if an R package name is available. — pkg_name_check","text":"Check name past current Bioconductor packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"profanity-check","dir":"Reference","previous_headings":"","what":"Profanity check","title":"Check if an R package name is available. — pkg_name_check","text":"Check name https://www.purgomalum.com/service/containsprofanity make sure profanity.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"dictionaries","dir":"Reference","previous_headings":"","what":"Dictionaries","title":"Check if an R package name is available. — pkg_name_check","text":"See dictionaries argument.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_name_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if an R package name is available. — pkg_name_check","text":"","code":"pkg_name_check(\"cli\") #> ╔════════════════════════════════════════════════════════════════════════╗ #> ║ –*– cli –*– ║ #> ╚════════════════════════════════════════════════════════════════════════╝ #> ┌────────────────────────────────────────────────────────────────────────┐ #> │ ✔ valid name ✖ CRAN ✔ Bioconductor │ #> │ ✔ not a profanity │ #> └────────────────────────────────────────────────────────────────────────┘ #> ┌ Wikipedia ─────────────────────────────────────────────────────────────┐ #> │ CLI (from Cli) CLI may refer to multiple articles, see link. │ #> └───────────────────────────────────── https://en.wikipedia.org/wiki/CLI ┘ #> ┌ Wiktionary ────────────────────────────────────────────────────────────┐ #> │ cli No English definition found │ #> └──────────────────────────────────── https://en.wiktionary.org/wiki/cli ┘ #> ┌────────────────────────────────────────────────────────────────────────┐ #> │ Sentiment: :| (0) │ #> └────────────────────────────────────────────────────────────────────────┘"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":null,"dir":"Reference","previous_headings":"","what":"Package references — pkg_refs","title":"Package references — pkg_refs","text":"package reference (ref) specifies location R package can obtained . full syntax reference type::ref, type can often omitted, common ref types shortcuts.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-references","dir":"Reference","previous_headings":"","what":"Package references","title":"Package references — pkg_refs","text":"Many pkgdepends pak functions take package names arguments. E.g. pak::pkg_install() takes names packages install, pak::pkg_deps_tree() takes names packages draw dependency trees . function can also take generic package reference instead package name. package reference also tells pkgdepends find package, package source. specify package source, use name prefix, :: separator. E.g. cran::mypkg means mypkg package CRAN. package name special package reference, implicitly specifies configured CRAN(-like) repositories package source. (call standard package source.) mypkg equivalent standard::mypkg pak look mypkg configured CRAN-like repositories. explicitly specify CRAN-like repositories (e.g. options(\"repos\")), pak uses CRAN Bioconductor repositories default. list currently supported package sources. discuss detail . cran: CRAN package. bioc: Bioconductor package. standard: package configured CRAN-like repository. github: package GitHub. gitlab: package GitLab. git: package git repository. local: local package file directory. url: URL points package archive. installed installed package. deps dependencies local package file directory. special reference type accepts package source. See . param special reference change references downloaded installed. See \"Parameters\" .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"shorthands","dir":"Reference","previous_headings":"","what":"Shorthands","title":"Package references — pkg_refs","text":"save typing, always need fully specify package source package reference. seen package name implicitly standard package source. complete rules shorthands, order applied: ref valid package name, package name @ version specification, standard package source used. E.g. pkg equivalent standard::pkg pkg@1.0 equivalent standard::pkg@1.0. ref valid github ref type without github:: prefix, github used. E.g. user/repo equivalent github::user/repo user/repo@tag equivalent github::user/repo@tag, etc. ref GitHub URL (see ) without github:: prefix, github used. ref path starts . / \\ ~ local used. (pkgdepends check path exists.) package reference form =?, special param type. See \"Parameters\" . package reference explicit package source, package source determined rules, pkgdepends throws error.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-names","dir":"Reference","previous_headings":"","what":"Package names","title":"Package references — pkg_refs","text":"pkgdepends looking dependencies package, needs able determine name dependency package reference. sometimes easy dependencies Remotes (similar) fields. github:: gitlab:: dependencies pkgdepends assumes package name name repository. hold, need specify package name explicitly, using = prefix. E.g. pins=rstudio/pins-r. specify package source type package name, package name comes first: pins=github::rstudio/pins-r. git:: dependencies, pkgdepends assumes package name last component repository. hold, need specify package name explicitly, using = prefix. E.g. pins=git::https://github.com/rstudio/pins-r. local:: dependencies, always need specify package name explicitly. E.g. pins=local::~/works/pins. url:: dependencies, always need specify package name explicitly. E.g. ggplot2=url::https://cloud.r-project.org/src/contrib/....","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Package references — pkg_refs","text":"Package references may optional parameters, added question mark. Different parameters separated ampersand (&) character. (similar HTTP URLs take query parameters.) Parameters may flags turn behavior, can string value, assigned equal sign (=). value assigned, assume true value. example two package refs equivalent:","code":"cran::testthat?source&nocache cran::testthat?source=true&nocache=true"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameters-for-downstream-packages","dir":"Reference","previous_headings":"","what":"Parameters for downstream packages","title":"Package references — pkg_refs","text":"pkgdepends allows specifying parameters downstream packages, using =? special package reference, package name package, parameters, . useful want add parameter downstream dependency. example, install ggplot2, always reinstall cli package dependency use ggplot2 cli=?reinstall package references. latter tells pkgdepends always reinstall cli, even already installed.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"currently-supported-parameters","dir":"Reference","previous_headings":"","what":"Currently supported parameters","title":"Package references — pkg_refs","text":"ignore flag parameter. specified, package ignored. usually makes sense packagename=?ignore form, ignore downstream soft dependency. versions hard dependency ignored lead solution error. ignore--r version number parameter. package ignored R versions older specified one. E.g. Matrix=?ignore--r=4.1.2 ignore Matrix package R versions older 4.1.2. parameter really makes sense packgename=?ignore form. ignore-unavailable flag. can specified soft dependencies. specified package available, ignored. parameter really makes sense packagename=?ignore-unavailable form. source flag parameter. specified, source R package requested CRAN-like repository. package installations source always triggers re-install. words, source implies reinstall parameter. parameter supported bioc::, cran:: standard:: remote types, ignored others. reinstall requests re-install package installations. supported bioc::, cran::, git::, github::, gitlab::, local::, standard::, url:: remote types. nocache ignore package cache. always download package file, add downloaded (built) package(s) package cache. supported bioc::, cran::, git::, github::, gitlab::, standard:: url:: remote types.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"cran-packages-cran-","dir":"Reference","previous_headings":"","what":"CRAN packages (cran::)","title":"Package references — pkg_refs","text":"package CRAN. Full syntax: valid package name. version version requirement. Examples: Note: pkgdepends currently parses version specification part (everything @), use .","code":"[cran::][@[>=] | @current | @last] forecast forecast@8.8 forecast@>=8.8 cran::forecast forecast@last forecast@current"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"bioconductor-packages-bioc-","dir":"Reference","previous_headings":"","what":"Bioconductor packages (bioc::)","title":"Package references — pkg_refs","text":"package Bioconductor. syntax CRAN packages, except prefix.","code":"[bioc::][@[>=] | @current | @last]"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"standard-packages-standard-","dir":"Reference","previous_headings":"","what":"Standard packages (standard::)","title":"Package references — pkg_refs","text":"packages either CRAN Bioconductor, full syntax CRAN packages, except prefix:","code":"[standard::][@[>=] | current | last]"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"github-packages-github-","dir":"Reference","previous_headings":"","what":"GitHub packages (github::)","title":"Package references — pkg_refs","text":"Packages GitHub repository. Full syntax: name package. missing, name repository used. GitHub username organization name. name repository. optional subdirectory, package within subdirectory repository. specifies certain version package, see . may specify: git branch, tag (prefix ) commit hash: @; pull request: #; latest release: @*release. missing, latest commit default branch used. Examples: convenience GitHub HTTP URLs can also used specify package GitHub. Examples: GitHub remote string can also used instead URL, example: git@github.com:r-lib/pak.git","code":"[=][github::]/[/][] r-lib/crayon github::r-lib/crayon r-lib/crayon@84be6207 r-lib/crayon@branch r-lib/crayon#41 r-lib/crayon@release https://github.com/r-lib/withr # A branch: https://github.com/r-lib/withr/tree/ghactions # A tag: https://github.com/r-lib/withr/tree/v2.1.1 # A commit: https://github.com/r-lib/withr/commit/8fbcb548e316 # A pull request: https://github.com/r-lib/withr/pull/76 # A release: https://github.com/r-lib/withr/releases/tag/v2.1.0"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"gitlab-packages-gitlab-","dir":"Reference","previous_headings":"","what":"GitLab packages (gitlab::)","title":"Package references — pkg_refs","text":"Packages GitLab repository. Full syntax: name package. missing, name repository used. typically GitLab username group name, may contain subgroups. name repository, project GitLab terminology. optional subdirectory, package within subdirectory repository. Note GitLab, must come /- prefix, able distinguish subgroups. may specify git branch, tag (prefix ) commit hash. missing, latest commit default branch used. gitlab:: supports git submodules, see git-submodules configuration entry. Examples:","code":"[=][github::]/[/-/][] gitlab::gaborcsardi/cli gitlab::r-hub/filelock@main gitlab::group/subgroup/subsubgroup/project/-/subdir@ref"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"packages-in-git-repositories-git-","dir":"Reference","previous_headings":"","what":"Packages in git repositories (git::)","title":"Package references — pkg_refs","text":"Full syntax: name package. missing, last component used. host name path git repository. git repositories need .git suffix , others forgiving. specifies certain version package: git branch, tag (prefix ) commit hash: @. missing, latest commit default branch used. git:: supports git submodules, see git-submodules configuration entry. Examples: Note pkgdepends built-git client, require system git installation. system git installed, pkgdepends use credentials stored configured git credential store, automatically, via gitcreds package.","code":"[=]git::https?://[] git::https://github.com/r-lib/crayon git::https://github.com/r-lib/crayon.git git::https://github.com/r-lib/crayon.git@84be6207 git::https://github.com/r-lib/crayon.git@branch git::https://gitlab.com/gaborcsardi/cli.git"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"local-packages-local-","dir":"Reference","previous_headings":"","what":"Local packages (local::)","title":"Package references — pkg_refs","text":"path refers package file built R CMD build, directory contains package. Full syntax: brevity, can omit local:: prefix, specify absolute path, path user's home directory, starting ~, relative path starting ./ .\\\\. single dot (\".\") considered local package current working directory. Examples: specify local package dependency (.e. DESCRIPTION), also need specify name package, see \"Package names\" .","code":"local:: local::/foo/bar/package_1.0.0.tar.gz local::/foo/bar/pkg local::. /absolute/path/package_1.0.0.tar.gz ~/path/from/home ./relative/path ."},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"urls-url-","dir":"Reference","previous_headings":"","what":"URLs (url::)","title":"Package references — pkg_refs","text":"can use url:: refer URLs hold R package archives (.e. properly built R CMD build), compressed directories package trees (.e. built R CMD build). pkgdepends figure needs run R CMD build package first. remote type supports .tar.gz .zip files. Note URLs ideal remote types, pkgdepends needs download package file resolve dependencies. happens, puts package file cache, downloads needed installing package later. Examples: specify package URL dependency (.e. DESCRIPTION), also need specify name package, see \"Package names\" .","code":"url::https://cloud.r-project.org/src/contrib/Archive/cli/cli_1.0.0.tar.gz url::https://github.com/tidyverse/stringr/archive/HEAD.zip"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"installed-packages-installed-","dir":"Reference","previous_headings":"","what":"Installed packages (installed::)","title":"Package references — pkg_refs","text":"usually used internally, can also used directly. Full syntax: library package installed . package name. Example:","code":"installed::/ installed::~/R/3.6/crayon"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"package-dependencies-deps-","dir":"Reference","previous_headings":"","what":"Package dependencies (deps::)","title":"Package references — pkg_refs","text":"Usually used internally, specifies dependencies local package. can used download install dependencies package, without downloading installing package . Full syntax: Examples:","code":"deps:: deps::/foo/bar/package_1.0.0.tar.gz deps::/foo/bar/pkg deps::."},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"any-packages","dir":"Reference","previous_headings":"","what":"any:: packages","title":"Package references — pkg_refs","text":"Sometimes need install additional packages, mind installed . example. want install cli GitHub, r-lib/cli. also want install glue, mind version glue installed, long compatible requested cli version. cli specifies development version glue, fine. cli fine CRAN version glue, OK, . future version cli depend glue, still want glue installed, CRAN. :: reference type exactly . example might write first, fail rlib/cli requests (say) tidyverse/glue, pkg_install() \"glue\" interpreted \"standard::glue\", creating conflict tidyverse/glue. hand works, independently glue version requested cli.","code":"pak::pkg_install(c(\"glue\", \"r-lib/cli\")) pak::pkg_install(c(\"any::glue\", \"r-lib/cli\"))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"parameter-refs-param-","dir":"Reference","previous_headings":"","what":"Parameter refs (param::)","title":"Package references — pkg_refs","text":"See \"Parameters\" .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_refs.html","id":"the-remotes-field","dir":"Reference","previous_headings":"","what":"The Remotes field","title":"Package references — pkg_refs","text":"DESCRIPTION file R package can mark regular dependency defined Depends, Imports, Suggests Enhances fields installed non-standard package source adding package reference Remotes entry. pkgdepends download install package specified location, instead CRAN-like repository. remote dependencies specified Remotes comma separated list package sources: Note still need add package one regular dependency fields, .e. Imports, Suggests, etc. concrete example specifies r-lib/glue package: CRAN Bioconductor repositories support Remotes field, need remove field, submitting package either .","code":"Remotes: , , [ ... ] Imports: glue Remotes: r-lib/glue, r-lib/httr@v0.4, klutometis/roxygen#142, r-lib/testthat@c67018fa4970"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":null,"dir":"Reference","previous_headings":"","what":"Dependency resolution — pkg_resolution","title":"Dependency resolution — pkg_resolution","text":"Collect information dependencies R packages, recursively.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Dependency resolution — pkg_resolution","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"cran-and-bioconductor-packages","dir":"Reference","previous_headings":"","what":"CRAN and Bioconductor packages","title":"Dependency resolution — pkg_resolution","text":"Resolution currently start downloading CRAN Bioconductor metadata, date. CRAN, also download additional metadata, includes file sizes, SHA hashes, system requirements, \"built\" (binary packages) \"packaged\" time stamps. extra meta information updated daily currently, packages might incorrect missing.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"github-packages","dir":"Reference","previous_headings":"","what":"GitHub packages","title":"Dependency resolution — pkg_resolution","text":"GitHub packages, query download URL able download package later, also download DESCRIPTION file, learn dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"local-packages","dir":"Reference","previous_headings":"","what":"Local packages","title":"Dependency resolution — pkg_resolution","text":"local package files extract DESCRIPTION file, learn dependencies.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"the-remotes-field-in-description","dir":"Reference","previous_headings":"","what":"The remotes field in DESCRIPTION","title":"Dependency resolution — pkg_resolution","text":"support non-standard Remotes field package DESCRIPTION file. field may contain list package references dependencies specified one Depends, Includes, Suggests Enhances fields. syntax comma separated list package references.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"the-result","dir":"Reference","previous_headings":"","what":"The result","title":"Dependency resolution — pkg_resolution","text":"result resolution data frame information packages dependencies. built: Built field DESCRIPTION file binary packages, information available. cache_status: whether package file package cache. NA installed:: package refs. dep_types: character vector dependency types considered package. (list column.) deps: dependencies package, data frame. See \"Package dependency tables\" . direct: whether package (ref, really) directly specified, added dependency. error: list column contains error objects refs pkgdepends failed resolve. filesize: file size bytes, NA information available. license: license package, NA available. md5sum: MD5 checksum package file, available, NA . metadata: named character vector. fields () added installed DESCRIPTION file package. mirror: URL CRAN(-like) mirror site metadata obtained . NA non-CRAN-like sources, e.g. local files, installed packages, GitHub, etc. needscompilation: whether package needs compilation. package: package name. priority: \"base\" base packages, \"recommended\" recommended packages, NA otherwise. ref: package reference. remote: parsed remote_ref objects, see parse_pkg_refs(). list column. repodir: directory package CRAN-like repository. sha256: SHA256 hash package file, available, otherwise NA. sources: URLs package can downloaded . necessarily URL can download HTTP client. E.g. local:: refs path, git:: refs URL git. zero length vector installed:: refs. status: status dependency resolution, \"OK\" \"FAILED\". target: path package saved CRAN-repository. type: ref type. version: package version. Additional columns might present. either used internally experimental. might removed changed time. columns type character, except direct (logical), needscompilation (logical), filesize (integer), deps (list column, see \"Package dependency tables\" ), sources (list character vectors), remote (list), error (list), metadata (list), dep_types (list).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"package-dependency-tables","dir":"Reference","previous_headings":"","what":"Package dependency tables","title":"Dependency resolution — pkg_resolution","text":"package dependency tables deps list column five columns currently: ref: package ref dependency. type: dependency type, lowercase. .e. imports, suggests, etc. package: package name dependency. op: operator version requirements, e.g. >=. version: version number, version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_resolution.html","id":"resolution-failures","dir":"Reference","previous_headings":"","what":"Resolution failures","title":"Dependency resolution — pkg_resolution","text":"resolution process stop error. Instead, failed resolutions return error object error column result data frame.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":null,"dir":"Reference","previous_headings":"","what":"A set of handy regular expressions related to R packages — pkg_rx","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"use R, make sure specify perl = TRUE, see base::grep().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"","code":"pkg_rx()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"named list strings.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"Currently included: pkg_name: valid package name. type_cran: cran:: package reference. type_bioc: bioc:: package reference. type_standard: standard:: package reference. type_github: github:: package reference. type_git: git:: package reference. type_local: local:: package reference. type_deps: deps:: package reference. type_installed: installed:: package reference. github_username: GitHub username. github_repo: GitHub repository name. github_url: GitHub URL.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_rx.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"A set of handy regular expressions related to R packages — pkg_rx","text":"","code":"pkg_rx() #> $pkg_name #> [1] \"[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9]\" #> #> $type_cran #> [1] \"^(?:cran::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_bioc #> [1] \"^(?:bioc::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_standard #> [1] \"^(?:standard::)?(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])(?:@(?:(?:(?>=)?(?[0-9]+[-\\\\.][0-9]+(?:[-\\\\.][0-9]+)*|current|last))))?$\" #> #> $type_github #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:github::)?(?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))/(?[^/@#]+)(?:/(?(?:[^@#]*[^@#/])/?))?(?:(?:(?:@(?[^*].*)))|(?:(?:#(?[0-9]+)))|(?:(?:@(?[*]release))))?$\" #> #> $type_git #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:git::)(?:(?[^/]*)://)?(?[^/]+)(?[^@]*/)(?[^/@]*)(?:@(?.*))?\" #> #> $type_local #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?|local::(?.*)|(?(?:/|\\\\\\\\|~|[.]/|[.]\\\\\\\\|[.]$).*))$\" #> #> $type_deps #> [1] \"^(?:deps::)(?.*)$\" #> #> $type_installed #> [1] \"^(?:installed::)?(?.*)/(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])$\" #> #> $github_username #> [1] \"(?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))\" #> #> $github_repo #> [1] \"(?[^/@#]+)\" #> #> $github_url #> [1] \"^(?:(?[a-zA-Z][a-zA-Z0-9.]*[a-zA-Z0-9])=)?(?:github::)?(?:(?:https?://)|(?:(?:ssh://|[^@]+@)))(?:[^/:]+)[/:](?(?:[a-zA-Z\\\\d](?:[a-zA-Z\\\\d-]){0,38}))/(?[^/@#]+?)(?)(?:[.]git)?(?:/(?:(?:(?:tree|commit|releases/tag)/(?.+$))|(?:pull/(?.+$))|(?:releases/)(?.+$)))?$\" #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":null,"dir":"Reference","previous_headings":"","what":"The dependency solver — pkg_solution","title":"The dependency solver — pkg_solution","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"solution-policies","dir":"Reference","previous_headings":"","what":"Solution policies","title":"The dependency solver — pkg_solution","text":"dependency solver currently supports two policies: lazy upgrade. lazy policy prefers minimize installation time, perform package upgrades, unless version requirements require . upgrade policy prefers update package latest possible versions, still considers version requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"the-integer-problem","dir":"Reference","previous_headings":"","what":"The integer problem","title":"The dependency solver — pkg_solution","text":"Solving package dependencies requires solving integer linear problem (ILP). subsection briefly describes problem represented integer problem, solution policies exactly mean. Every row package resolution candidate dependency solver. integer problem, every candidate corresponds binary variable. 1 candidate selected part solution, 0 otherwise. objective ILP minimization defined differently different solution policies. ILP conditions . lazy policy, installed:: packaged get 0 points, binary packages 1 point, sources packages 5 points. 'upgrade' policy, rank candidates given package according version numbers, assign points older versions. Points assigned 100 candidates equal versions get equal points. still prefer installed packages binaries source packages, also add 0 point already installed candidates, 1 extra points binaries 5 points source packages. directly specified refs, aim install package exactly . require variables corresponding package sum 1. non-direct refs (.e. dependencies), require variables corresponding package sum one. Since every candidate least 1 point objective function minimization problem, non-needed dependencies omitted. direct refs, require candidates satisfy references. means exactly depends ref types. E.g. CRAN packages, means CRAN candidate must selected. standard ref, GitHub candidate OK well. rule candidates dependency resolution failed. go dependency requirements rule packages meet . every package , requires package B, select B(, =1..k) candidates B satisfy 's requirements add - B(1) - ... - B(k) <= 0 rule. satisfy rule, either install , installed, one good B candidates must installed well. rule non-installed CRAN Bioconductor candidates packages already installed candidate exact version. also rule source CRAN Bioconductor candidates packages binary candidate exact version.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"explaining-why-the-solver-failed","dir":"Reference","previous_headings":"","what":"Explaining why the solver failed","title":"The dependency solver — pkg_solution","text":"able explain solution attempt failed, also add dummy variable directly required package. dummy variable large objective value, selected way install directly required package. failed solution, look dummy variables selected, see directly required package failed solve. check rule(s) ruled installation packages, dependencies, recursively.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkg_solution.html","id":"the-result","dir":"Reference","previous_headings":"","what":"The result","title":"The dependency solver — pkg_solution","text":"result solution pkg_solution_result object. named list entries: status: Status solution attempt, \"OK\" \"FAILED\". data: selected candidates. similar pkg_resolution_result object, two extra columns: lib_status: status package library, installation. Possible values: new (newly installed), current (date, installed), update (updated), -update (update, ). old_version: old (current) version package library, NA package currently installed. problem: ILP problem. exact representation implementation detail, informative print method. solution: return value internal solver.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":null,"dir":"Reference","previous_headings":"","what":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkgdepends toolkit package dependencies, downloads installations, used packages. looking package manager, see pak.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"features","dir":"Reference","previous_headings":"","what":"Features","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Look package dependencies recursively. Visualize package dependencies. Download packages dependencies. Install downloaded packages. Includes dependency solver find consistent set dependencies. Supports CRAN Bioconductor packages automatically. Supports packages GitHub GitLab. Supports packages git repositories. Supports package bundles files web. Supports local package file trees. Supports Remotes entry DESCRIPTION file. Caches metadata downloaded packages via pkgcache Performs downloads HTTP queries concurrently. Builds installs packages parallel.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"install","dir":"Reference","previous_headings":"","what":"Install","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Install package : need development version, install ","code":"install.packages(\"pkgdepends\") pak::pak(\"r-lib/pkgdepends\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"","code":"library(pkgdepends)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-references","dir":"Reference","previous_headings":"","what":"Package references","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"package reference (ref) specifies location R package can obtained . Examples: See “Package references” details.","code":"devtools cran::devtools bioc::Biobase r-lib/pkgdepends https://github.com/r-lib/pkgdepends local::~/works/shiny"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-dependencies","dir":"Reference","previous_headings":"","what":"Package dependencies","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Dependencies development version cli package: See pkg_deps class details.","code":"pd <- new_pkg_deps(\"r-lib/pkgcache\") pd$solve() pd$draw() ## ✔ Loading metadata database ... done ## r-lib/pkgcache 2.1.0.9000 ✨👷🏽🔧 ## ├─callr 3.7.3 ✨ ⬇ (431.00 kB) ## │ ├─processx 3.8.1 ✨ ⬇ (316.20 kB) ## │ │ ├─ps 1.7.5 ✨ ⬇ (313.92 kB) ## │ │ └─R6 2.5.1 ✨ ## │ └─R6 ## ├─cli 3.6.1 ✨ ⬇ (1.38 MB) ## ├─curl 5.0.0 ✨ ⬇ (777.64 kB) ## ├─filelock 1.0.2 ✨ ⬇ (29.58 kB) ## ├─jsonlite 1.8.4 ✨ ⬇ (1.13 MB) ## ├─prettyunits 1.1.1 ✨ ⬇ (35.23 kB) ## ├─processx ## ├─R6 ## └─rappdirs 0.3.3 ✨ ⬇ (47.50 kB) ## ## Key: ✨ new | ⬇ download | 👷🏽 build | 🔧 compile"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-downloads","dir":"Reference","previous_headings":"","what":"Package downloads","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Downloading dependencies package: See pkg_download_proposal class details.","code":"pdl <- new_pkg_download_proposal(\"r-lib/cli\") pdl$resolve() pdl$download() ## ℹ No downloads are needed, 1 pkg is cached ##"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"package-installation","dir":"Reference","previous_headings":"","what":"Package installation","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Installing updating set package:","code":"lib <- tempfile() dir.create(lib) pdi <- new_pkg_installation_proposal( \"r-lib/cli\", config = list(library = lib) ) pdi$solve() pdi$download() pdi$install() ## ℹ No downloads are needed, 1 pkg is cached ## ✔ Installed cli 3.6.1.9000 (github::r-lib/cli@c37f34b) (36ms) ## ✔ Summary: ✨ 1 new in 36ms"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"dependency-resolution","dir":"Reference","previous_headings":"","what":"Dependency resolution","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkg_deps, pkg_download_proposal pkg_installation_proposal resolve dependencies recursively, obtain information packages needed specified package references. See “Dependency resolution” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"the-dependency-solver","dir":"Reference","previous_headings":"","what":"The dependency solver","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"dependency solver takes resolution information, works exact versions package must installed, version requirements satisfied. See “dependency solver” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"installation-plans","dir":"Reference","previous_headings":"","what":"Installation plans","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pkg_installation_proposal can create installation plans, also install . also possible import installation plans created tools. See “Installation plans” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"configuration","dir":"Reference","previous_headings":"","what":"Configuration","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"details pkg_deps, pkg_download_proposal pkg_installation_proposal can tuned list configuration options. See “Configuration” details.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"related","dir":"Reference","previous_headings":"","what":"Related","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"pak – R package manager pkgcache – Metadata package cache devtools – Tools R package developers","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"code-of-conduct","dir":"Reference","previous_headings":"","what":"Code of Conduct","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Please note pkgdepends project released Contributor Code Conduct. contributing project, agree abide terms.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"license","dir":"Reference","previous_headings":"","what":"License","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"MIT (c) RStudio","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/pkgdepends-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"pkgdepends: Package Dependency Resolution and Downloads — pkgdepends-package","text":"Maintainer: Gábor Csárdi csardi.gabor@gmail.com contributors: Posit Software, PBC [copyright holder, funder]","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":null,"dir":"Reference","previous_headings":"","what":"Query and manipulate CRAN-like repositories — repo","title":"Query and manipulate CRAN-like repositories — repo","text":"functions currently experimental.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"list-packages-in-a-repository","dir":"Reference","previous_headings":"","what":"List packages in a repository","title":"Query and manipulate CRAN-like repositories — repo","text":"repo$list() lists packages repository. reads PACKAGES file containing repository metadata.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo_list(..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"...: ignored currently. path: path repository. Must contain PACKAGES file.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Query and manipulate CRAN-like repositories — repo","text":"Data frame package data, data frame least following columns, possibly entries metadata: Package Version Depends Imports Suggests Enhances LinkingTo License File DownloadURL OS Arch Built Filesize SHA256 RVersion Platform GraphicsAPIVersion InternalsId","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"delete-packages-from-repository-metadata","dir":"Reference","previous_headings":"","what":"Delete packages from repository metadata","title":"Query and manipulate CRAN-like repositories — repo","text":"repo$delete() deletes matching packages repository metadata.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"matching packages removed. delete files .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$delete(package, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"package: package name. ...: fields match, must named. Matching case insensitive. path: path repository. Must contain PACKAGES file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-1","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"check version package already repository. want update package, use repo$update().","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-2","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$add(file, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-2","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"`file Package file. `... Ignored currently. path Path repository. Must contain PACKAGES` file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-2","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"Previous version package removed. particular, removes packages matching: package name (Package field), R version (Rversion field), OS (OS field), OS field, architecture (Arch field), Arch field.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-3","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$update(file, ..., path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-3","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"`file Package file. `... Ignored currently. path Path repository. Must contain PACKAGES` file.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"description-3","dir":"Reference","previous_headings":"","what":"Description","title":"Query and manipulate CRAN-like repositories — repo","text":"Clones GitHub repository. Calls repo_update() file, subdir directory. Adds commits changes. Pushes git repository GitHub. push fails, resets git repository, pulls GitHub tries update process , push succeeds. function needs command line git installed. sets cache credential helper, git push works without interaction user.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"usage-4","dir":"Reference","previous_headings":"","what":"Usage","title":"Query and manipulate CRAN-like repositories — repo","text":"","code":"repo$update_gh(repo, subdir, files)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/repo.html","id":"arguments-4","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query and manipulate CRAN-like repositories — repo","text":"repo: GitHub slug, e.g. r-hub/repos. subdir: subdirectory GitHub repository, R package metadata updated. must exist repository. PACKAGES* files, created. files: package files add. files added repository, metadata. repository already.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":null,"dir":"Reference","previous_headings":"","what":"Scan R code for dependent packages — scan_deps","title":"Scan R code for dependent packages — scan_deps","text":"Scan R files project directory packages used within . parses R code find library(package), package::func(), similar calls imply package dependencies. See details .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Scan R code for dependent packages — scan_deps","text":"","code":"scan_deps(path = \".\")"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Scan R code for dependent packages — scan_deps","text":"path Path directory project.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Scan R code for dependent packages — scan_deps","text":"Data frame columns: path: Path file dependencies found. package: Detected package dependency. Typically package name, can also package reference, e.g. package GitHub. type: Dependency type. \"prod\", \"test\" \"dev\". See 'Dependency types' . code: piece code dependency extracted . start_row: Start row code dependency extracted . start_column: Start column code dependency extracted . start_byte: Start byte code dependency extracted . Note data frame may contain package multiple times, detected multiple times, e.g. multiple library() calls load package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"detected-dependencies","dir":"Reference","previous_headings":"","what":"Detected dependencies","title":"Scan R code for dependent packages — scan_deps","text":"scan_deps() detects package dependencies R expressions: library(), require(), loadNamespace() requireNamespace calls. :: ::: operators. calls list R code R markdown quarto R Rscript (case insensitive) code blocks inline R code. dependency methods package inferred finding setClass() /setGeneric() calls. xfun::pkg_attach() xfun::pkg_attach2() calls. pacman::p_load() calls. modules::import() modules::module() calls. import::(), import::() import::() calls. box::use() calls. targets::tar_option_set(packages = ...) calls. calls list R code glue::glue() strings. dependency svglite package inferred ggplot2::ggsave() calls saving .svg files. Dependencies parsnip::set_engine() calls, default engine package mapping : \"glm\" -> stats, \"glmnet\" -> glmnet, \"keras\" -> keras, \"kknn\" -> kknn, \"nnet\" -> nnet, \"rpart\" -> rpart, \"spark\" -> sparklyr, \"stan\" -> rstanarm. can override default mapping setting renv.parsnip.engines option named list. dependency xml2 package inferred using \"Junit\" reporter (JunitReporter) testthat package. dependency ragg package inferred setting default knitr device (dev option) \"ragg_png\". dependency hexbin package inferred using ggplot2::geom_hex(). custom symbol name package name mapping can defined renv.dependencies.database option. must named list named lists, outer names package names, inner names function object names, values package names. E.g.","code":"options(renv.dependencies.database = list( ggplot2 = list(geom_hex = \"hexbin\"), testthat = list(JunitReporter = \"xml2\") ))"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/scan_deps.html","id":"dependency-types","dir":"Reference","previous_headings":"","what":"Dependency types","title":"Scan R code for dependent packages — scan_deps","text":"scan_deps() classifies package dependencies three groups, based files found: Production dependencies: \"prod\". Test dependencies: \"test\". Development dependencies: \"dev\".","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if installed packages have all their system requirements — sysreqs_check_installed","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"sysreqs_check_installed() checks system requirements packages (subset packages) installed. sysreqs_fix_installed() installs missing system packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"","code":"sysreqs_check_installed(packages = NULL, library = .libPaths()[1]) sysreqs_fix_installed(packages = NULL, library = .libPaths()[1])"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"packages NULL, packages checked. package packages installed, pkgdepends throws warning. library Library libraries check.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"Data frame custom print format method, pkg_sysreqs_check_result class. columns : system_package: string, name required system package. installed: logical, whether system package correctly installed. packages: list column character vectors. names installed R packages need system package. pre_install: list column character vectors. Commands run installation system package. post_install: list column character vectors. Commands run installation system package. data frame also two attributes additional data: sysreqs_records: raw system requirements records, system_packages: list installed system packages. sysreqs_fix_packages() returns value, invisibly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"functions use sysreqs_platform configuration option, see man_config_link(\"Configuration\"). Set pkgdepends detect platform correctly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_check_installed.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if installed packages have all their system requirements — sysreqs_check_installed","text":"","code":"# This only works on supported platforms sysreqs_check_installed() #> system package installed required by #> -------------- -- ----------- #> git ✔ gitcreds #> gsfonts ✔ magick #> libcurl4-openssl-dev ✔ curl #> libfontconfig1-dev ✔ systemfonts #> libfreetype6-dev ✔ ragg, systemfonts, textshaping #> libfribidi-dev ✔ textshaping #> libharfbuzz-dev ✔ textshaping #> libjpeg-dev ✔ ragg #> libmagick++-dev ✔ magick #> libnode-dev ✔ V8 #> libpng-dev ✔ ragg, svglite #> libssl-dev ✔ curl, openssl #> libtiff-dev ✔ ragg #> libxml2-dev ✔ xml2 #> make ✔ fs, sass #> pandoc ✔ knitr, pkgdown, rmarkdown"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":null,"dir":"Reference","previous_headings":"","what":"List contents of the system requirements DB, for a platform — sysreqs_db_list","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"also tries update system dependency database, outdated. (.e. older allowed metadata_update_after man_config_link(\"configuration option\").","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"","code":"sysreqs_db_list(sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"Data frame columns: name: cross platform system dependency name database. patterns: one regular expressions match SystemRequirements fields. packages: one system package names install. pre_install: command(s) run installing packages. post_install:: command(s) run installing packages.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_list.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List contents of the system requirements DB, for a platform — sysreqs_db_list","text":"","code":"sysreqs_db_list(sysreqs_platform = \"ubuntu-22.04\") #> # A data frame: 122 × 5 #> name patterns packages pre_install post_install #> #> 1 QuantLib #> 2 apparmor #> 3 atk #> 4 automake #> 5 berkeleydb #> 6 blender #> 7 boost #> 8 bowtie2 #> 9 bwidget #> 10 cairo #> # ℹ 112 more rows"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":null,"dir":"Reference","previous_headings":"","what":"Match system requirement descriptions to the database — sysreqs_db_match","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"usual workflow pkgdepends matches SystemRequirements fields DESCRIPTION files database.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"","code":"sysreqs_db_match(specs, sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"specs Character vector system requirements descriptions. sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"Data frame columns: spec: input specs. sysreq: name system library tool. packages: system packages, list column character vectors. Rarely can empty string, e.g. pre_install script performs installation. pre_install: list column character vectors. Shell script(s) run installation. post_install: list column character vectors. Shell script(s) run installation.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"sysreqs_db_match() function lets match string, mainly useful debugging.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_match.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Match system requirement descriptions to the database — sysreqs_db_match","text":"","code":"sysreqs_db_match( c(\"Needs libcurl\", \"Java, libssl\"), sysreqs_platform = \"ubuntu-22.04\" ) #> [[1]] #> # A data frame: 1 × 5 #> spec sysreq packages pre_install post_install #> #> 1 Needs libcurl libcurl #> #> [[2]] #> # A data frame: 1 × 5 #> spec sysreq packages pre_install post_install #> #> 1 Java, libssl java #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the cached copy of the system requirements database — sysreqs_db_update","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"Update cached copy system requirements database","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"","code":"sysreqs_db_update()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_db_update.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Update the cached copy of the system requirements database — sysreqs_db_update","text":"cached copy recent, update attempted. See metadata_update_after man_config_link(\"configuration option\").","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":null,"dir":"Reference","previous_headings":"","what":"Create an installation plan for system requirements — sysreqs_install_plan","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"function uses new_pkg_installation_proposal() methods create installation plan one packages, print system requirements.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"","code":"sysreqs_install_plan(refs, upgrade = TRUE, config = list())"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"refs Packages install. upgrade TRUE, pkgdepends choose latest available versions packages, instead preferring binary packages source packages. config Configuration options. See 'Configuration'. include library, temporary library used, equivalent assuming preinstalled packages. Pass sysreqs_platform want different platform one R running .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"List entries: os: character string. Operating system. distribution: character string. Linux distribution, NA OS Linux. version: character string. Distribution version, NA OS Linux. pre_install: character vector. Commands run installation system packages. install_scripts: character vector. Commands run install system packages. post_install: character vector. Commands run installation system packages. packages: data frame. Information system packages needed. columns: sysreq: string, cross-platform name system requirement. packages: list column character vectors. names R packages system requirement. pre_install: list column character vectors. Commands run package installation system requirement. system_packages: list column character vectors. Names system packages install. post_install: list column character vectors. Commands run package installation system requirement.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_install_plan.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create an installation plan for system requirements — sysreqs_install_plan","text":"","code":"sysreqs_install_plan( \"tidyverse\", config = list(sysreqs_platform = \"ubuntu-22.04\") ) #> $os #> [1] \"linux\" #> #> $distribution #> [1] \"ubuntu\" #> #> $version #> [1] \"22.04\" #> #> $pre_install #> [1] \"apt-get -y update\" #> #> $install_scripts #> [1] \"apt-get -y install libx11-dev libcurl4-openssl-dev libssl-dev make zlib1g-dev pandoc libfreetype6-dev libjpeg-dev libpng-dev libtiff-dev libicu-dev libfontconfig1-dev libfribidi-dev libharfbuzz-dev libxml2-dev\" #> #> $post_install #> character(0) #> #> $packages #> # A data frame: 15 × 5 #> sysreq packages pre_install system_packages post_install #> #> 1 fontconfig #> 2 freetype #> 3 fribidi #> 4 gnumake #> 5 harfbuzz #> 6 libcurl #> 7 libicu #> 8 libjpeg #> 9 libpng #> 10 libtiff #> 11 libxml2 #> 12 openssl #> 13 pandoc #> 14 x11 #> 15 zlib #>"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":null,"dir":"Reference","previous_headings":"","what":"Check if a platform has system requirements support — sysreqs_is_supported","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"Check platform system requirements support","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"","code":"sysreqs_is_supported(sysreqs_platform = NULL)"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"sysreqs_platform System requirements platform. NULL, sysreqs_platform man_config_link(\"configuration option\") used, defaults current platform. Set option .packageName detect platform correctly.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"Logical scalar.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_is_supported.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Check if a platform has system requirements support — sysreqs_is_supported","text":"","code":"sysreqs_is_supported() #> [1] TRUE"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":null,"dir":"Reference","previous_headings":"","what":"List installed system packages — sysreqs_list_system_packages","title":"List installed system packages — sysreqs_list_system_packages","text":"List installed system packages","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List installed system packages — sysreqs_list_system_packages","text":"","code":"sysreqs_list_system_packages()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List installed system packages — sysreqs_list_system_packages","text":"Data frame columns: status. two three characters, notation dpkg Debian based systems. \"ii\" means package correctly installed. RPM based systems always \"ii\" currently. package: name system package. version: installed version system package. capabilities: list column character vectors, capabilities provided package.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"List installed system packages — sysreqs_list_system_packages","text":"function uses sysreqs_platform configuration option, see man_config_link(\"Configuration\"). Set pkgdepends detect platform correctly.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_list_system_packages.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List installed system packages — sysreqs_list_system_packages","text":"","code":"sysreqs_list_system_packages()[1:10,] #> # A data frame: 10 × 4 #> status package version provides #> * #> 1 ii acl 2.3.1-1 #> 2 ii adduser 3.118ubuntu5 #> 3 ii adoptium-ca-certificates 1.0.3-1 #> 4 ii adwaita-icon-theme 41.0-1ubuntu1 #> 5 ii alsa-topology-conf 1.2.5.1-2 #> 6 ii alsa-ucm-conf 1.2.6.3-1ubuntu1.12 #> 7 ii ant 1.10.12-1 #> 8 ii ant-optional 1.10.12-1 #> 9 ii apache2 2.4.52-1ubuntu4.12 #> 10 ii apache2-bin 2.4.52-1ubuntu4.12 "},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":null,"dir":"Reference","previous_headings":"","what":"List platforms with system requirements support — sysreqs_platforms","title":"List platforms with system requirements support — sysreqs_platforms","text":"List platforms system requirements support","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"List platforms with system requirements support — sysreqs_platforms","text":"","code":"sysreqs_platforms()"},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"List platforms with system requirements support — sysreqs_platforms","text":"Data frame columns: name: human readable OS name. os: OS name, e.g. linux. distribution: OS id, e.g. ubuntu redhat. version: distribution version. star means versions supported, also supported vendor. update_command: command run update system package metadata. install_command: command run install packages. query_command: name tool use query system package information.","code":""},{"path":[]},{"path":"https://r-lib.github.io/pkgdepends/dev/reference/sysreqs_platforms.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"List platforms with system requirements support — sysreqs_platforms","text":"","code":"sysreqs_platforms() #> # A data frame: 22 × 7 #> name os distribution version update_command install_command #> #> 1 Ubuntu Linux linux ubuntu * apt-get -y up… apt-get -y ins… #> 2 Debian Linux linux debian * apt-get -y up… apt-get -y ins… #> 3 CentOS Linux linux centos * NA yum install -y #> 4 Rocky Linux linux rockylinux * NA dnf install -y #> 5 Red Hat Ente… linux redhat 6 NA yum install -y #> 6 Red Hat Ente… linux redhat 7 NA yum install -y #> 7 Red Hat Ente… linux redhat * NA dnf install -y #> 8 Red Hat Ente… linux rhel 7.0 NA yum install -y #> 9 Red Hat Ente… linux rhel 7.1 NA yum install -y #> 10 Red Hat Ente… linux rhel 7.2 NA yum install -y #> # ℹ 12 more rows #> # ℹ 1 more variable: query_command "},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-development-version","dir":"Changelog","previous_headings":"","what":"pkgdepends (development version)","title":"pkgdepends (development version)","text":"New function scan_deps() auto-detect package dependencies R code. deps::. automatically uses detected dependencies now DESCRIPTION file found.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-080","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.8.0","title":"pkgdepends 0.8.0","text":"CRAN release: 2024-09-12 pkgdepends now supports gitlab:: package sources better, adding explicit syntax specify subdirectories (#353, @dgkf). gitlab:: git:: package sources now support git submodules git-submodules configuration option set TRUE. See ?\"pkgdepends-config\" (#354). new ?ignore-unavailable parameter makes easy ignore soft dependencies unavailable (https://github.com/r-lib/pak/issues/606). pkgdepends now automatically ignores soft dependencies incompatible OS type (OS_type entry DESCRIPTION) installing packages.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-072","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.2","title":"pkgdepends 0.7.2","text":"CRAN release: 2024-03-17 pkgdepends now supports * wildcard parameter specifications, parameters applied packages. E.g. *=?source means compiling packages source.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-071","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.1","title":"pkgdepends 0.7.1","text":"CRAN release: 2023-12-10 pkgdepends now import glue, rprojroot prettyunits packages. pkgdepends can now handle case Config/Needs/* dependencies requested package repository.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-070","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.7.0","title":"pkgdepends 0.7.0","text":"CRAN release: 2023-11-10 pkgdepends now correctly resolves latest GitHub release @*release notation (@pawelru, #321, #275). pkgdepends now correctly handles multiple instances package metadata, different R version requirements (https://github.com/r-lib/pak/issues/534, #331, https://github.com/r-lib/pak/issues/538). git:: package references work better now Azure DevOps (@jameslairdsmith, #333, #342). pkgdepends now better job accepting installed packages, avoids reinstalling packages needed using lock file (https://github.com/r-lib/actions/issues/759, #338).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-060","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.6.0","title":"pkgdepends 0.6.0","text":"CRAN release: 2023-07-18 Many system requirements improvements: sysreqs_check_installed(): check required system packages installed, sysreqs_fix_installed(): install missing system packages, sysreqs_db_list(): list system requirements database, sysreqs_db_match(): match SystemRrequirements field(s) database, sysreqs_db_update(): update system requirements database, sysreqs_install_plan(): look system requirements package dependencies, sysreqs_is_supported(): check pkgdepends supports system requirements platform, sysreqs_list_system_packages(): list installed system packages, sysreqs_platforms(): list supported platforms. New pkg_installation_proposal methods: get_sysreqs(), show_sysreqs() update_sysreqs(). output $show_solution() now includes system requirements. New sysreqs_platform configuration option. pkgdepends now looks system requirements asynchronously, dependency resolution. pkgdepends now reinstall system requirements default, already installed. (can force reinstall/upgrade sysreqs_update configuration option.) New gitlab:: package source install packages GitLab (#315). pkgdepends now correctly parses multiple git:: packages (#318). Fix @*release reference latest release. git:: package sources now support version 1 git protocol. E.g. Bioconductor git repositories now work: git::https://git.bioconductor.org/packages/limma (#314). platforms config parameter now works correctly deps:: package sources (https://github.com/r-lib/pak/issues/522). New include_linkingto config parameter always include LinkingTo packages solution, even binaries (#485). pkg_name_check() now include Acromine results, web site unstable.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-050","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.5.0","title":"pkgdepends 0.5.0","text":"CRAN release: 2023-04-19 pkgdepends now support git repositories package references. E.g. git::https://github.com/r-lib/pak.git. pkgdepends now supports versioned CRAN packages, e.g. dplyr@1.1.1 always install dplyr 1.1.1. Note CRAN packages supported, Bioconductor packages (yet). pkgdepends now alternative system requirements lookup implementation. supports Fedora Debian systems well, addition Debian, Ubuntu, SUSE RedHat derivatives. can switch implementation setting R_PKG_SYSREQS2 environment variable true. pkgdepends now better job looking dependencies hand-selected dependency types. E.g. dependencies = \"LinkingTo\". pkgdepends now removes ?ignore-d packages dependencies, uses correct version comparison ?ignore-.r (https://github.com/r-lib/actions/issues/708). pkgdepends now fail circular soft dependencies (#306). pkgdepends now reports dependency solver failures better cases (#305, https://github.com/r-lib/pak/issues/474). pkgdepends now uses locally built CRAN binaries cache.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-040","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.4.0","title":"pkgdepends 0.4.0","text":"CRAN release: 2022-12-17 pkgdepends much improved informative error messages now. work yet finished, find unclear error message, please open issue. Thank ! solver now robust non-canonical input (e.g. DESCRIPTION files) (https://github.com/r-lib/pak/issues/423). Better installation output. Standard output error now collected together (https://github.com/r-lib/pkgdepends/commit/0669f0f8c). solver now better job multiple versions package present repository (https://github.com/r-lib/actions/issues/559). pkg_name_check() now works , needed fix changes https://crandb.r-pkg.org. Explicit package names local URL package sources, package=local::... package=url::... now parsed correctly dependencies. pkgdepends now robust Archs fields missing CRAN metadata packages compiled code (https://github.com/r-lib/pak/issues/448). url:: packages now always work correctly, even digest package installed (https://github.com/r-lib/pak/issues/433). pkgdepends now robust installing packages subdirectories GitHub repositories (https://github.com/r-lib/pak/issues/431, @paleolimbot). Parameters ?reinstall, ?source ?ignore now work correctly specified package=?parameter format (#294).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-032","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.2","title":"pkgdepends 0.3.2","text":"CRAN release: 2022-09-08 ?ignore parameter works correctly now. dependency resolution now fail package found. pkgdepends can now install url:: remotes GitHub. pkgdepends now fail package .tar.gz GitHub snapshot subdirectory, subdirectory subdirectory. pkgdepends now errors early deduce name package Remotes Config/Needs/* entry. Solver failures now include details cases previously . pkgdepends can now update packages Docker containers old version installed different Docker later (https://github.com/r-lib/pak/issues/251) pkgdepends errors now user friendlier better formatted.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-031","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.1","title":"pkgdepends 0.3.1","text":"CRAN release: 2022-04-08 dependency solver now uses better heuristics (effectively) freeze multiple repositories multiple versions packages (e.g. RSPM CRAN) (#277).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-030","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.3.0","title":"pkgdepends 0.3.0","text":"CRAN release: 2022-02-16 New ?ignore--r parameter ignore optional dependencies need newer R version (#243). New ?ignore parameter ignore optional dependency. Allow specifying downstream package parameters package=?param syntax. $update() operation now works better :: refs, always install version planned . System requirement installation now robust works Unix shell expressions (#347). Make system dependency installation robust (https://github.com/r-lib/pak/issues/347). CRAN-like resolution robust now repository missing usual metadata. lock file pretty JSON now. pkgdepends now return tibbles, simple data frames. still printed concisely long pillar package loaded. pkgdepends now handles version requirement types properly: ‘<’, ‘<=’, ==, >=, >.","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-020","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.2.0","title":"pkgdepends 0.2.0","text":"CRAN release: 2021-11-29 pkgdepends now Much better platform support, including arm64 packages macOS, single-arch multi-arch binary packages Windows. Better configuration via environment variables options, see ?\"pkgdepends-config\" details. Many improvements lock files, .e. $create_lockfile() method pkg_installation_proposal. System requirements support. currently active Linux, CI environment variable set true. can set PKG_SYSREQS environment variable true turn situations. See ?\"pkgdepends-config\". new :: reference type can used install package source. See ?pkg_refs .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-012","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.2","title":"pkgdepends 0.1.2","text":"CRAN release: 2021-06-30 remotes can now update packages installed pak. past sometimes work (#301).","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-011","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.1","title":"pkgdepends 0.1.1","text":"CRAN release: 2021-05-16 pkg_name_check() works .","code":""},{"path":"https://r-lib.github.io/pkgdepends/dev/news/index.html","id":"pkgdepends-010","dir":"Changelog","previous_headings":"","what":"pkgdepends 0.1.0","title":"pkgdepends 0.1.0","text":"CRAN release: 2021-03-16 First CRAN release.","code":""}]