[R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories
Iñaki Ucar
|uc@r @end|ng |rom |edor@project@org
Tue Apr 16 11:00:15 CEST 2019
You could convince the original author to submit rPeaks to CRAN, or
volunteer to be the maintainer and do it yourself if he doesn't want
to maintain it. That would be easier for you and better for everyone,
because the package would be well-checked under the watchful eye of
CRAN maintainers. Otherwise, see below.
On Tue, 16 Apr 2019 at 03:15, Tan Zhou <tankchow12 using gmail.com> wrote:
>
> Thank you very much for your suggestions and explanation, Ralf. They are
> very helpful.
> I got permission from the author and use *drat::addRepo("jrminter").*
>
> *When I try to test if this package can be installed with install.package*
>
> *install.packages("rPeaks", repos = "https://jrminter.github.io/drat/
> <https://jrminter.github.io/drat/>", type = "source")Warning in
> install.packages : unable to access index for repository
> https://tankwin08.github.io/drat/src/contrib
> <https://tankwin08.github.io/drat/src/contrib>: cannot open URL
> 'https://tankwin08.github.io/drat/src/contrib/PACKAGES
> <https://tankwin08.github.io/drat/src/contrib/PACKAGES>'Warning in
> install.packages : unable to access index for repository
> https://jrminter.github.io/drat/src/contrib
> <https://jrminter.github.io/drat/src/contrib>: cannot open URL
> 'https://jrminter.github.io/drat/src/contrib/PACKAGES
> <https://jrminter.github.io/drat/src/contrib/PACKAGES>'Installing package
> into ‘C:/Users/tank/Documents/R/win-library/3.4’(as ‘lib’ is
> unspecified)Warning in install.packages : unable to access index for
> repository https://jrminter.github.io/drat/src/contrib
> <https://jrminter.github.io/drat/src/contrib>: cannot open URL
> 'https://jrminter.github.io/drat/src/contrib/PACKAGES
> <https://jrminter.github.io/drat/src/contrib/PACKAGES>'Warning in
> install.packages : package ‘rPeaks’ is not available (for R version 3.4.3)*
>
> *Do you have any suggestion? *
I see nothing in https://jrminter.github.io/drat or
https://tankwin08.github.io/drat. First of all, someone (the author or
you in his behalf) has to setup a drat repo, so please read and follow
the guide for package authors:
https://cran.r-project.org/web/packages/drat/vignettes/DratForPackageAuthors.html
After you setup such a repo (if the original author didn't want to do
it by himself and gave his permission) in your GitHub account and push
jrminter's package, you should be able to do the following:
drat::addRepo("tankwin08")
install.packages("rPeaks")
and that's it. So finally, you can add
Additional_repositories: https://tankwin08.github.io/drat
to your DESCRIPTION file.
--
Iñaki Úcar
More information about the R-package-devel
mailing list