-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathfeatures.Rd
124 lines (93 loc) · 3.16 KB
/
features.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/docs.R
\name{Great pak features}
\alias{Great pak features}
\title{A list of the most important pak features}
\description{
A list of the most important pak features.
}
\section{pak is fast}{
\subsection{Parallel HTTP}{
pak performs HTTP queries concurrently. This is true when
\itemize{
\item it downloads package metadata from package repositories,
\item it resolves packages from CRAN, GitHub, URLs, etc,
\item it downloads the actual package files,
\item etc.
}
}
\subsection{Parallel installation}{
pak installs packages concurrently, as much as their dependency graph
allows this.
}
\subsection{Caching}{
pak caches metadata and package files, so you don't need to re-download
the same files over and over.
}
}
\section{pak is safe}{
\subsection{Plan installation up front}{
pak creates an installation plan before downloading any packages.
If the plan is unsuccessful, then it fails without downloading any
packages.
}
\subsection{Auto-install missing dependencies}{
When requesting the installation of a package, pak makes sure that all
of its dependencies are also installed.
}
\subsection{Keeping binary packages up-to-date}{
pak automatically discards binary packages from the cache, if a new build
of the same version is available on CRAN.
}
\subsection{Correct CRAN metadata errors}{
pak can correct some of CRAN's metadata issues, e.g.:
\itemize{
\item New version of the package was released since we obtained the metadata.
\item macOS binary package is only available at https://mac.r-project.org/
because of a synchronization issue.
}
}
\subsection{Graceful handling of locked package DLLs on Windows}{
pak handles the situation of locked package DLLs, as well as possible.
It detects which process locked them, and offers the choice of terminating
these processes. It also unloads packages from the current R session as
needed.
}
\subsection{pak keeps its own dependencies isolated}{
pak keeps its own dependencies in a private package library and never
loads any packages. (Only in background processes).
}
}
\section{pak is convenient}{
\subsection{pak comes as a self-contained binary package}{
On the most common platforms. No dependencies, no system dependencies,
no compiler needed. (See also the \link[=Installing pak]{installation} manual.)
}
\subsection{Install packages from multiple sources}{
\itemize{
\item CRAN, Bioconductor
\item GitHub
\item URLs
\item Local files or directories.
}
}
\subsection{Ignore certain optional dependencies}{
pak can ignore certain optional dependencies if requested.
}
\subsection{CRAN package file sizes}{
pak knows the sizes of CRAN package files, so it can estimate how much
data you need to download, before the installation.
}
\subsection{Bioconductor version detection}{
pak automatically selects the Bioconductor version that is appropriate for
your R version. No need to set any repositories.
}
\subsection{Time travel with PPM}{
pak can use PPM
(\href{https://packagemanager.posit.co/}{Posit Public Package Manager})
to install from snapshots or CRAN.
}
\subsection{pak can install dependencies of local packages}{
Very handy for package development!
}
}