Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Duncan Murdoch
Okay, I just worked out the chain: The fda package depends on fds. fds depends on rainbow. rainbow imports ks. ks imports plot3D. plot3D imports misc3d. misc3d imports tcltk. tcltk on macOS needs XQuartz. I saw this item online: https://github.com/actions/virtual-environments/issues/771 .

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Spencer Graves
Hi, Duncan et al.: Thanks again. I removed fda from "suggests" and added it to "imports" in DESCRIPTION. I also added "importFrom('fda', 'CRAN')" to NAMESPACE. Sadly, the result was the same: It passed "R CMD check" on Windows, ubuntu, and my local Mac but not macOS on GitHub Action.

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Duncan Murdoch
I don't see where the connection is, but it's almost certainly coming in through your unconditional use of "fda::CRAN()". Since "fda" is not a hard requirement, this should be conditional on having it installed. Duncan Murdoch On 23/05/2021 5:25 p.m., Spencer Graves wrote: Hi, Duncan et

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Spencer Graves
Hi, Duncan et al.: I inserted "the lines from the rgl workflow to work around the XQuartz issues" that Duncan provided after "env" in TWO places in R-CMD-check.yaml with the same result: GitHub Action worked fine on Windows and ubuntu (both release and devel) but failed on macOS

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Duncan Murdoch
For ks, if you look here: https://github.com/sbgraves237/sos/runs/2650960959?check_suite_focus=true in the "Install Dependencies" section, you'll see these errors: trying URL 'https://cloud.r-project.org/src/contrib/ks_1.13.0.tar.gz' Content type 'application/x-gzip' length 1076044 bytes (1.0

[R-pkg-devel] Troubleshoot unknown macro '\backslashemph' warning

2021-05-23 Thread Aravind J.
Hi, While checking two of my packages (https://github.com/aravind-j/EvaluateCore and https://github.com/aravind-j/augmentedRCBD)with winbuilder while preparing for submitting an updated version, I am getting the following warning. * checking Rd files ... [4s] WARNING prepare_Rd: :2: unknown

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Spencer Graves
Hi, Duncan et al.: Thanks again to Duncan. Your suggestions worked for the LaTeX problem, though it required multiple iterations, adding a total of 7 different "tinytex::parse_install" clauses to overcome other LaTeX and pdfTeX errors. However, macOS still says, "there is no

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Duncan Murdoch
This page https://bookdown.org/yihui/rmarkdown-cookbook/install-latex-pkgs.html suggests that executing this in R should fix the tikz issue: tinytex::parse_install( text = "! LaTeX Error: File `tikz.sty' not found." ) The "ks" message looks like a missing R package rather than a missing

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Spencer Graves
Hi, Duncan et al.: Thanks very much to Duncan for his suggestion. I did added the line Duncan suggested in three slightly different places. That fixed the problems with missing tex and pdflatex, but exposed two new problems: On Windows and ubuntu (both release and devel) I

Re: [R-pkg-devel] GitHub Action failed re-building 'sos.Rnw'

2021-05-23 Thread Duncan Murdoch
On 22/05/2021 10:05 p.m., Spencer Graves wrote: Hello: What do you suggest I do to enable GitHub Action to process "sos.Rnw" properly? The development version of my "sos" package passes "R CMD check" on my Mac but fails in all four platforms under GitHub Action on