Re: [R-pkg-devel] Submission to CRAN Contributed Documentation

2020-09-06 Thread Jakub Nowosad

Thanks, Stefan.

Yes, I have seen that. However I decided to ask here, as the next 
section of the Contributed Documentation website still encourages people 
to contribute. Thanks once more for clarifying it.


On 9/4/20 2:55 PM, Stefan Evert wrote:

Did you read the notice

Note: The CRAN area for contributed documentation is frozen and no 
longer actively maintained

at the top of that page?

Best,
Stefan



On 4 Sep 2020, at 14:43, Jakub Nowosad  wrote:

Dear all,

I have tried to submit a textbook to the CRAN Contributed Documentation
(https://cran.r-project.org/other-docs.html#nenglish).

However, the instruction on how to do that are vague. The Contributed
Documentation page states "To submit, follow the submission instructions
on the CRAN main page.", however, it is impossible to upload non-R
package using the standard way (https://cran.r-project.org/submit.html).
Therefore, I decided to follow another CRAN suggestion "If this fails,
upload toftp://CRAN.R-project.org/incoming/  and send an email to
cran-submissi...@r-project.org    following 
the policy.", uploaded the PDF to CRAN incoming FTP and wrote
an email several days ago. I did not get any answers back.

Could you suggest me a proper way how to add a document to the CRAN
Contributed Documentation?

Best,

Jakub Nowosad

--
https://nowosad.github.io/ | @jakub_nowosad | nowosad.ja...@gmail.com

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


--
https://nowosad.github.io/ | @jakub_nowosad | nowosad.ja...@gmail.com

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] CRAN check error in Debian R only

2020-09-06 Thread Ben Bolker

  It's surprising that this is only an error on Debian ...
  In general "strong dependencies not in mainstream repositories" is a 
non-starter. Here is the relevant paragraph from the CRAN repository 
policies:


> Packages on which a CRAN package depends should be available from a 
mainstream repository ...  [where "depends" means 
"Depends/Imports/LinkingTo]


   In principle you could create a package that only "Suggests:" INLA 
(and uses it conditionally) but is effectively non-functional without it 
(i.e. in the absence of INLA, all examples or tests that depend on INLA 
are disabled).  This does seem to defeat the intention of the policy, 
though.  I don't know if the CRAN maintainers would reject it for 
violating the spirit of the policy ...


   cheers
Ben Bolker


On 9/6/20 3:48 PM, Edoardo Baldoni wrote:

Hi all,

I am trying to publish on CRAN a package that uses the INLA::inla function
from the INLA package. The INLA package is outside CRAN. After package
submission, CRAN gives me an error that seems to be related to the use of
this INLA::inla function on Debian R. The error says that the INLA package
is not available. Below the result of the CRAN check.

Can I do anything about it? Can I still publish my package on CRAN?
Thanks
Edoardo

package AGPRIS_1.0.tar.gz does not pass the incoming checks automatically,
please see the following pre-tests:
Windows: <
https://win-builder.r-project.org/incoming_pretest/AGPRIS_1.0_20200906_195909/Windows/00check.log



Status: 1 WARNING, 2 NOTEs
Debian: <
https://win-builder.r-project.org/incoming_pretest/AGPRIS_1.0_20200906_195909/Debian/00check.log



Status: 1 ERROR, 1 WARNING

  * using log directory ‘/srv/hornik/tmp/CRAN/AGPRIS.Rcheck’

* using R Under development (unstable) (2020-09-04 r79137)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘AGPRIS/DESCRIPTION’ ... OK
* this is package ‘AGPRIS’ version ‘1.0’
* package encoding: UTF-8
* checking CRAN incoming feasibility ... WARNING
Maintainer: ‘Edoardo Baldoni ’

New submission

Strong dependencies not in mainstream repositories:
   INLA

Size of tarball: 13345524 bytes
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package required but not available: ‘INLA’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
* DONE
Status: 1 ERROR, 1 WARNING

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel



__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] CRAN check error in Debian R only

2020-09-06 Thread Edoardo Baldoni
Hi all,

I am trying to publish on CRAN a package that uses the INLA::inla function
from the INLA package. The INLA package is outside CRAN. After package
submission, CRAN gives me an error that seems to be related to the use of
this INLA::inla function on Debian R. The error says that the INLA package
is not available. Below the result of the CRAN check.

Can I do anything about it? Can I still publish my package on CRAN?
Thanks
Edoardo

package AGPRIS_1.0.tar.gz does not pass the incoming checks automatically,
please see the following pre-tests:
Windows: <
https://win-builder.r-project.org/incoming_pretest/AGPRIS_1.0_20200906_195909/Windows/00check.log
>
Status: 1 WARNING, 2 NOTEs
Debian: <
https://win-builder.r-project.org/incoming_pretest/AGPRIS_1.0_20200906_195909/Debian/00check.log
>
Status: 1 ERROR, 1 WARNING

 * using log directory ‘/srv/hornik/tmp/CRAN/AGPRIS.Rcheck’

* using R Under development (unstable) (2020-09-04 r79137)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘AGPRIS/DESCRIPTION’ ... OK
* this is package ‘AGPRIS’ version ‘1.0’
* package encoding: UTF-8
* checking CRAN incoming feasibility ... WARNING
Maintainer: ‘Edoardo Baldoni ’

New submission

Strong dependencies not in mainstream repositories:
  INLA

Size of tarball: 13345524 bytes
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package required but not available: ‘INLA’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
* DONE
Status: 1 ERROR, 1 WARNING

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel