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

Spencer Graves @pencer@gr@ve@ @end|ng |rom prod@y@e@com
Sun May 17 05:18:29 CEST 2020



On 2020-05-15 03:34, peter dalgaard wrote:
>
>> 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


       I did "which" for all 451 executables found by "ls -l 
/usr/local/bin | grep 'texlive/20' > texlive_20.txt".  All but 3 of them 
were found in "/Library/TeX/texbin/".  The 3 not found were 
lua2dox_filter, pdfatfi, and xindy.mem.  In particular, a2ping was found 
there.


       Anything else?
       Thanks again.
       Spencer Graves



More information about the R-SIG-Mac mailing list