Skip to content

[R-pkg-devel] issues with SOfun - package upload

6 messages · LUCA BELMONTE, Brian G. Peterson, Uwe Ligges +1 more

#
Good evening,

I am trying to upload my package, called PdPDB 2.0.
When building and checking the package with R-studio with --as-cran option
selected, everything looks ok but, once I tried to upload the package to
CRAN I had the following reply:

*"Strong dependencies not in mainstream repositories:*
*  SOfun*
** checking package namespace information ... OK*
** checking package dependencies ... ERROR*
*Package required but not available: 'SOfun'"*

I understand the issue it with SOfun that is a package I downloaded and
installed from this github url: https://github.com/mrdwab/SOfun

I came back to CARN policies and I have read:


*"Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in ?Suggests? or ?Enhances? fields
are not from such a repository, where to obtain them at a repository should
be specified in an ?Additional_repositories? field of the DESCRIPTION file
(as a comma-separated list of repository URLs) or for other means of
access, described in the ?Description? field."*

So, I updated the DESCRIPTION file as follows:
Additional_repositories: http://news.mrdwab.com/install_github.R

Before to proceed to submission, I would like to know if this is the right
way to proceed or I misinterpreted the submission procedure.

Thank you for reading this email,
Best,
#
I think you should be using:

Additional_repositories: https://github.com/mrdwab/SOfun

since that is the actual repository.

Regards,

Brian
On Wed, 2017-11-08 at 17:01 +0100, LUCA BELMONTE wrote:
#
And even this cannot work for strong dependencies, as sztrong 
deendencies must be available from mainstream repositoreis.

Best,
Uwe Ligges
On 08.11.2017 17:59, Brian G. Peterson wrote:
#
Dear Brian,
Dear Uwe,

Thank you for your replies.

I wrote a function that does the same stuff that the suggested package
does.
Now there are no reference to suggested packages.

Best,
Luca

2017-11-08 18:03 GMT+01:00 Uwe Ligges <ligges at statistik.tu-dortmund.de>:

  
    
#
Did you write it from scratch or modify the function from the package
you were referencing?  There may be some licensing issues you need to
consider either way.

-Dason
On Thu, Nov 9, 2017 at 3:53 AM, LUCA BELMONTE <luca.belmonte at unimore.it> wrote:
#
Hi Dason,

I wrote it from scratch.

Thank you for the suggestion though,

Luca

2017-11-09 17:17 GMT+01:00 Dason Kurkiewicz <dasonk at gmail.com>: