[R-pkg-devel] Macros in Rd files.

2017-11-08 Thread Rolf Turner


I tried to define a macro to produce today's date (like unto the 
"\today" command in LaTeX):


\newcommand{\today}{format(Sys.date(),"%d/%m/%Y")}

I put this into my *.Rd file just before invoking it.  (Something like
"I don't think I will do any more work today (i.e. \today).")

When I did

R CMD build ldEst

to my package I got the warning:


Warning: /tmp/RtmpL6sNnQ/Rbuild7f3036693218/ldEst/man/sampleCiLength.Rd:95:
unexpected END_OF_INPUT '\keyword{ datagen }


Clearly I'm stuffing something up.  Can some kind soul please provide me 
with guidance as to what I *should* be doing?


Ta.

cheers,

Rolf Turner

--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

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


Re: [R-pkg-devel] Outdated Winbuilder package "INLA"

2017-11-08 Thread Fabian Bachl
Great, thank you so much!

On Wed, Nov 8, 2017 at 5:21 PM Uwe Ligges 
wrote:

>
>
> On 08.11.2017 14:25, Fabian Bachl wrote:
> > Hi everyone,
> >
> > I am trying to submit a package to CRAN that depends on INLA, which
> itself
> > is not on CRAN. However, INLA is installed on the winbuilder machine but
> > the version is 0.0-1440400394 and extremely outdated (older than a year,
> I
> > think) and some essential functions that I use are not available. I tried
> > to adjust my DESCRIPTION file by stating "depends: INLA (>= 17.06.20)"
> but
> > winbuilder reports the error "Package required and
> > available but unsuitable version: 'INLA'". What's the best way to
> approach
> > this problem?
>
> Tell the CRAN team. For winbuilder: Tell me. ;-)
> I will update shortly.
>
> Best,
> Uwe Ligges
>
>
>
> > Kind regards,
> > Fabian Bachl
> >
> >   [[alternative HTML version deleted]]
> >
> > __
> > R-package-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>

[[alternative HTML version deleted]]

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


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

2017-11-08 Thread Uwe Ligges
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:

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:

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,



__
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

Re: [R-pkg-devel] Outdated Winbuilder package "INLA"

2017-11-08 Thread Uwe Ligges

Now insalled, please resub,it the package now.
Best,
Uwe Ligges



On 08.11.2017 17:21, Uwe Ligges wrote:



On 08.11.2017 14:25, Fabian Bachl wrote:

Hi everyone,

I am trying to submit a package to CRAN that depends on INLA, which 
itself

is not on CRAN. However, INLA is installed on the winbuilder machine but
the version is 0.0-1440400394 and extremely outdated (older than a 
year, I

think) and some essential functions that I use are not available. I tried
to adjust my DESCRIPTION file by stating "depends: INLA (>= 17.06.20)" 
but

winbuilder reports the error "Package required and
available but unsuitable version: 'INLA'". What's the best way to 
approach

this problem?


Tell the CRAN team. For winbuilder: Tell me. ;-)
I will update shortly.

Best,
Uwe Ligges




Kind regards,
Fabian Bachl

[[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-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

2017-11-08 Thread Brian G. Peterson
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:
> 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,
>

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

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

2017-11-08 Thread LUCA BELMONTE
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,

-- 
Luca Belmonte, PhD

Dept. Life Sciences,
University of Modena and Reggio Emilia

Mobile: +39 328 45 81 762

[[alternative HTML version deleted]]

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

Re: [R-pkg-devel] Outdated Winbuilder package "INLA"

2017-11-08 Thread Uwe Ligges



On 08.11.2017 14:25, Fabian Bachl wrote:

Hi everyone,

I am trying to submit a package to CRAN that depends on INLA, which itself
is not on CRAN. However, INLA is installed on the winbuilder machine but
the version is 0.0-1440400394 and extremely outdated (older than a year, I
think) and some essential functions that I use are not available. I tried
to adjust my DESCRIPTION file by stating "depends: INLA (>= 17.06.20)" but
winbuilder reports the error "Package required and
available but unsuitable version: 'INLA'". What's the best way to approach
this problem?


Tell the CRAN team. For winbuilder: Tell me. ;-)
I will update shortly.

Best,
Uwe Ligges




Kind regards,
Fabian Bachl

[[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] Outdated Winbuilder package "INLA"

2017-11-08 Thread Fabian Bachl
Hi everyone,

I am trying to submit a package to CRAN that depends on INLA, which itself
is not on CRAN. However, INLA is installed on the winbuilder machine but
the version is 0.0-1440400394 and extremely outdated (older than a year, I
think) and some essential functions that I use are not available. I tried
to adjust my DESCRIPTION file by stating "depends: INLA (>= 17.06.20)" but
winbuilder reports the error "Package required and
available but unsuitable version: 'INLA'". What's the best way to approach
this problem?

Kind regards,
Fabian Bachl

[[alternative HTML version deleted]]

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