[R-SIG-Mac] obsolete LaTeX software in "R CMD check" on Mac?

peter dalgaard pd@|gd @end|ng |rom gm@||@com
Fri May 15 10:34:39 CEST 2020



> On 15 May 2020, at 06:04 , Spencer Graves <spencer.graves using prodsyse.com> wrote:
> 
> Hi, Peter et al.:
> 
> 
>       I'm still overwhelmed.
> 
> 
>       To limit changes to things I think I understand, my '/usr/local/texlive' directory contains subdirectories 2014, 2015, 2016, 2020, and texmf-local.  From your comments, I gather that the following would be wise:
> 
> 
> sudo rm -r /usr/local/texlive/2014
> 
> 
> sudo rm -r /usr/local/texlive/2015
> 
> 
> sudo rm -r /usr/local/texlive/2016
> 
> 
>       I did this, and "R CMD check Ecfun_0.2-4.tar.gz" still ran to completion without errors.
> 
> 
>       I don't understand "ls -l /usr/local/bin | grep 'texlive/2016' | awk '{print $9}'", but I did "ls -l /usr/local/bin | grep 'texlive/20' > texlive_20.txt" and examined texlive_20.txt in R. I found it contained 451 lines like the following:
> 
> 
> lrwxr-xr-x  1 sbgraves  admin        48 Jan 13 17:42 a2ping -> /usr/local/texlive/2016/bin/x86_64-darwin/a2ping
> 

Yup, upgrades until 2016 likely overwrote earlier links to 2015, 2014,..

The awk thing just reduces the above to the 9th field (i.e. "a2ping"), so you could in principle save the list to a file, say remove.me, and then

for i in `cat remove.me` ; do rm /usr/local/bin/$i ; done

(with a sudo somewhere, and do check carefully...)

> 
>       All had "2016".  I'm inferring from your comments that if anything I do calls any of those 451 operations like "a2ping", I will get "not found".  If I get that, I gather I'm supposed to "sudo rm /usr/local/bin/a2ping" and hope that solves the problem.

Yep. That should solve things, provided there's an a2ping in /Library/TeX/texbin 

> 
> 
> 
>       ???
>       Thanks very much.
>       Spencer Graves
> 

[snip]
-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com



More information about the R-SIG-Mac mailing list