[R-pkg-devel] Package suggested but not available for checking: 'rPeaks'; Additional_repositories
Tan Zhou
t@nkchow12 @end|ng |rom gm@||@com
Tue Apr 16 20:54:25 CEST 2019
Hi Iñaki and Ralf,
Thank you very much for your help and suggestions.
Yes, I followed instruction and did that. Now I have the
https://tankwin08.github.io/drat.
But I test
install.packages("rPeaks")
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://tankwin08.github.io/drat/bin/windows/contrib/3.4:
cannot open URL '
https://tankwin08.github.io/drat/bin/windows/contrib/3.4/PACKAGES'
Package which is only available in source form, and may need compilation of
C/C++/Fortran:
‘rPeaks’
Do you want to attempt to install these from sources?
I can install it by typing y.
For check my package, I changed it like this:
Suggests:
knitr,
rPeaks
Additional_repositories: https://tankwin08.github.io/drat
But I conduct check, it still gives me a note:
R CMD check results
0 errors | 0 warnings | 1 note
checking package dependencies ... NOTE
Package suggested but not available for checking: 'rPeaks'
I guess it still may relate to the drat.
Or any suggestions? I deeply appreciated your effort and time.
Best
Tan
On Tue, Apr 16, 2019 at 4:00 AM Iñaki Ucar <iucar using fedoraproject.org> wrote:
> 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
>
--
Best regards
Tan Zhou
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list