De acordo com os PACOTES UBUNTU PARA R , a entrada correta deb
para o% O repositóriocran
para o xenial
release é ( observe a barra à direita /
)
deb http://cran.rstudio.com/bin/linux/ubuntu xenial/
Este parece ser um ponto bastante obscuro da sintaxe: a forma geral para tais entradas é
deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]
no entanto, de man sources.list
:
The URI for the deb type must specify the base of the Debian
distribution, from which APT will find the information it needs. suite
can specify an exact path, in which case the components must be omitted
and suite must end with a slash (/). This is useful for the case when
only a particular sub-directory of the archive denoted by the URI is of
interest. If suite does not specify an exact path, at least one
component must be present.
qual é o caso aqui.