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


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-11-30 Thread Iñaki Ucar
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

[[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 Duncan Murdoch

On 30/11/2019 10:21 a.m., Yoni wrote:

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?


I don't really know what the cause is, but I suspect the roxygen2 update 
is a coincidence. In your CRAN log you show this error:


> x <- tex_preview(tex,returnType = 'input')
Error in tex_preview.default(obj, tex_lines, stem, overwrite, 
keep_pdf, :


! LaTeX Error: File `/tmp/Rtmp6V8kds/tex_temp.tex ' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: tex )

Enter file name:
! Emergency stop.


l.17 \input{ /tmp/Rtmp6V8kds/tex_temp.tex }


If I look really closely at the LaTeX error message, I see that the 
filename has a space at the end.  Your \input macro had spaces both 
before and after.  Perhaps a LaTeX update makes the trailing space 
significant, and that's the issue?  I couldn't spot where those spaces 
came from; maybe if you just remove them the problem will go away.


Duncan Murdoch

__
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 Duncan Murdoch

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







__
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 Hugh Parsonage
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
>

[[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