[R-pkg-devel] winOS devel failure "knitr not available" on resubmit

2019-11-30 Thread Yoni
I have recently resubmitted a package after fixing an issue with the
license. The package passed all the checks a few days prior and on this
resubmit the winOS failed with a message that I am not sure how to resolve.

* checking package dependencies ... ERROR
Package suggested but not available for checking:
'knitr'VignetteBuilder package required for checking but not
installed: 'knitr'

https://win-builder.r-project.org/incoming_pretest/ripe_0.1.0_20191130_120421/Windows/00check.log

The DESCRIPTION file seems to contain the correct Imports and Suggests
that have not raised issues up until this point on checks.Depends: R
(>= 3.5.0)

Imports: magrittrSuggests:
 testthat,
 knitr,
 rmarkdown,
 purrr,
 parallel,
 dplyr,
 covr
VignetteBuilder: knitr

Thank you

Yoni

[[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] winOS devel failure "knitr not available" on resubmit

2019-11-30 Thread Yoni
Thank you for the advice.

I resubmitted to win-devel 20 minutes ago (0840 EST) and that error seems
to be persisting.

https://win-builder.r-project.org/Htqi1hmm4O20/00check.log

here is the link to the full DESCRIPTION file

https://raw.githubusercontent.com/yonicd/ripe/master/DESCRIPTION

That is the same system that CRAN checks for winOS will use?

Thank you

On Sat, Nov 30, 2019 at 8:29 AM Duncan Murdoch 
wrote:

> On 30/11/2019 7:02 a.m., Yoni wrote:
> > I have recently resubmitted a package after fixing an issue with the
> > license. The package passed all the checks a few days prior and on this
> > resubmit the winOS failed with a message that I am not sure how to
> resolve.
> >
> > * checking package dependencies ... ERROR
> > Package suggested but not available for checking:
> > 'knitr'VignetteBuilder package required for checking but not
> > installed: 'knitr'
> >
> >
> https://win-builder.r-project.org/incoming_pretest/ripe_0.1.0_20191130_120421/Windows/00check.log
> >
> > The DESCRIPTION file seems to contain the correct Imports and Suggests
> > that have not raised issues up until this point on checks.Depends: R
> > (>= 3.5.0)
> >
> > Imports: magrittrSuggests:
> >   testthat,
> >   knitr,
> >   rmarkdown,
> >   purrr,
> >   parallel,
> >   dplyr,
> >   covr
> > VignetteBuilder: knitr
> >
>
> Assuming the joined lines "Imports: magrittrSuggests:" are just in your
> email, not in the DESCRIPTION file (you used HTML, which generally gets
> mangled here), that's likely a transient error on the test system.  I
> would resubmit.
>
> Duncan Murdoch
>


-- 
Yoni

You do not learn to swim from books and lectures on the theory of buoyancy
(Box 1990)

[[alternative HTML version deleted]]

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


[R-pkg-devel] roxygen2 7.0.1 backslash escape error

2019-11-30 Thread Yoni
I received a message from CRAN yesterday stating my package is erroring on
all the systems all of a sudden.

https://cran.r-project.org/web/checks/check_results_texPreview.html

After some investigation the root of the errors looks like it came from the
new release of roxygen2 (7.0.1).

https://github.com/r-lib/roxygen2/issues/990

Is there anything I can do in the interim to fix this problem since I do
not know when this apparent bug fix will be pushed to CRAN, relieving my
errors in the documentation builds, which could be beyond the warning
period (2019-12-13), which the package will be removed from CRAN.

Thank you

[[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] roxygen2 7.0.1 backslash escape error

2019-11-30 Thread Yoni
Thank you for the advice.

I think that (a) is a problem to implement since the new roxygen2 is on the
CRAN systems and I can not control which version they are using to build
the package in the checks.

I have gone with option (c), which is unfortunate since I will need to
change my examples twice to accommodate a problem that another package,
that has such a high degree of reverse dependency, has created.


On Sat, Nov 30, 2019 at 9:42 AM Hugh Parsonage 
wrote:

> You could (a) install the updated roxygen from github and rebuild the man/
> files ; (b) manually edit the Rd files without using roxygen ; or (c)
> remove the examples until you can apply the fix.
>
> On Sun, 1 Dec 2019 at 1:26 am, Yoni  wrote:
>
>> I received a message from CRAN yesterday stating my package is erroring on
>> all the systems all of a sudden.
>>
>> https://cran.r-project.org/web/checks/check_results_texPreview.html
>>
>> After some investigation the root of the errors looks like it came from
>> the
>> new release of roxygen2 (7.0.1).
>>
>> https://github.com/r-lib/roxygen2/issues/990
>>
>> Is there anything I can do in the interim to fix this problem since I do
>> not know when this apparent bug fix will be pushed to CRAN, relieving my
>> errors in the documentation builds, which could be beyond the warning
>> period (2019-12-13), which the package will be removed from CRAN.
>>
>> Thank you
>>
>> [[alternative HTML version deleted]]
>>
>> __
>> R-package-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>
>

-- 
Yoni

You do not learn to swim from books and lectures on the theory of buoyancy
(Box 1990)

[[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] roxygen2 7.0.1 backslash escape error

2019-11-30 Thread Yoni
Thank you for the clarification.

I am then more confused.

The CRAN version of the package (texPreview) has been unchanged since Oct
23, at which point it was passing the checks with no errors.

Here is the CRAN mirror on GitHub with the example that is now erroring.

https://github.com/cran/texPreview/blob/master/R/kable.R

The examples section seems to have valid R code in them.

Last week (after roxygen2 was updated on CRAN to 7.0.1) the same
documentation is throwing errors.

Here is the CRAN checks link:
https://cran.r-project.org/web/checks/check_results_texPreview.html

Has the method of checking documentation changed in the past week that
would cause these previously working examples to start to fail?

Thank you for the help

On Sat, Nov 30, 2019 at 10:09 AM Duncan Murdoch 
wrote:

> On 30/11/2019 9:59 a.m., Yoni wrote:
> > Thank you for the advice.
> >
> > I think that (a) is a problem to implement since the new roxygen2 is on
> the
> > CRAN systems and I can not control which version they are using to build
> > the package in the checks.
>
> I don't think CRAN runs roxygen2 at all.  It tests based on the
> description of documentation in Writing R Extensions.
>
> Duncan Murdoch
>
> >
> > I have gone with option (c), which is unfortunate since I will need to
> > change my examples twice to accommodate a problem that another package,
> > that has such a high degree of reverse dependency, has created.
> >
> >
> > On Sat, Nov 30, 2019 at 9:42 AM Hugh Parsonage  >
> > wrote:
> >
> >> You could (a) install the updated roxygen from github and rebuild the
> man/
> >> files ; (b) manually edit the Rd files without using roxygen ; or (c)
> >> remove the examples until you can apply the fix.
> >>
> >> On Sun, 1 Dec 2019 at 1:26 am, Yoni  wrote:
> >>
> >>> I received a message from CRAN yesterday stating my package is
> erroring on
> >>> all the systems all of a sudden.
> >>>
> >>> https://cran.r-project.org/web/checks/check_results_texPreview.html
> >>>
> >>> After some investigation the root of the errors looks like it came from
> >>> the
> >>> new release of roxygen2 (7.0.1).
> >>>
> >>> https://github.com/r-lib/roxygen2/issues/990
> >>>
> >>> Is there anything I can do in the interim to fix this problem since I
> do
> >>> not know when this apparent bug fix will be pushed to CRAN, relieving
> my
> >>> errors in the documentation builds, which could be beyond the warning
> >>> period (2019-12-13), which the package will be removed from CRAN.
> >>>
> >>> Thank you
> >>>
> >>>  [[alternative HTML version deleted]]
> >>>
> >>> __
> >>> R-package-devel@r-project.org mailing list
> >>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >>>
> >>
> >
>
>

-- 
Yoni

You do not learn to swim from books and lectures on the theory of buoyancy
(Box 1990)

[[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] roxygen2 7.0.1 backslash escape error

2019-11-30 Thread Yoni
Thank you for the clarification regarding roxygen2, it does look like a
confounding issue.

I will try to resolve the paths in the tex.

Thank you for the help.

On Sat, Nov 30, 2019 at 11:39 AM Iñaki Ucar  wrote:

>
>
> El sáb., 30 nov. 2019 16:22, Yoni  escribió:
>
>> Thank you for the clarification.
>>
>> I am then more confused.
>>
>> The CRAN version of the package (texPreview) has been unchanged since Oct
>> 23, at which point it was passing the checks with no errors.
>>
>
> If your package is sitting on CRAN since then, and in fact I see in your
> DESCRIPTION that you generated the docs with roxygen2 6.1.1, then the
> roxygen2 update has nothing to do with your check error. You run roxygen2;
> CRAN doesn't.
>
> Iñaki
>


-- 
Yoni

You do not learn to swim from books and lectures on the theory of buoyancy
(Box 1990)

[[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] roxygen2 7.0.1 backslash escape error

2019-12-01 Thread Yoni
Where can I find the current tex compiler / pandocs setup on CRAN check
systems so I can adjust my CI, to replicate the failure?

On Sat, Nov 30, 2019 at 11:45 AM Yoni  wrote:

> Thank you for the clarification regarding roxygen2, it does look like a
> confounding issue.
>
> I will try to resolve the paths in the tex.
>
> Thank you for the help.
>
> On Sat, Nov 30, 2019 at 11:39 AM Iñaki Ucar 
> wrote:
>
>>
>>
>> El sáb., 30 nov. 2019 16:22, Yoni  escribió:
>>
>>> Thank you for the clarification.
>>>
>>> I am then more confused.
>>>
>>> The CRAN version of the package (texPreview) has been unchanged since Oct
>>> 23, at which point it was passing the checks with no errors.
>>>
>>
>> If your package is sitting on CRAN since then, and in fact I see in your
>> DESCRIPTION that you generated the docs with roxygen2 6.1.1, then the
>> roxygen2 update has nothing to do with your check error. You run roxygen2;
>> CRAN doesn't.
>>
>> Iñaki
>>
>
>
> --
> Yoni
>
> You do not learn to swim from books and lectures on the theory of buoyancy
> (Box 1990)
>


-- 
Yoni

You do not learn to swim from books and lectures on the theory of buoyancy
(Box 1990)

[[alternative HTML version deleted]]

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