Sure thing. I suspect the error is mine. Please see entire transcript below:
>devtools::install_github("IQSS/cem")
Downloading GitHub repo IQSS/cem@HEAD
✓ checking for file ‘/private/var/folders/ls/99kskn5j2rb6s7ghgfydsl50g556b6/T/Rtmp4a1OD6/remotesab2f46a89147/IQSS-cem-de93f7e/DESCRIPTION’ ...
─ preparing ‘cem’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘cem_1.1.27.tar.gz’
Warning: invalid uid value replaced by that for user 'nobody'
Warning: invalid gid value replaced by that for user 'nobody'
* installing *source* package ‘cem’ ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: package or namespace load failed for ‘tcltk’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE)
error: (converted from warning) running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
Error: package ‘tcltk’ could not be loaded
Execution halted
ERROR: lazy loading failed for package ‘cem’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/cem’
Error: Failed to install 'cem' from GitHub:
(converted from warning) installation of package ‘/var/folders/ls/99kskn5j2rb6s7ghgfydsl50g556b6/T//Rtmp4a1OD6/fileab2f64d9f08e/cem_1.1.27.tar.gz’ had non-zero exit status
Thank you!
HH
H. E. Hinson, MD MCR FAAN
Associate Director of Clinical Research, Neurocritical Care Program
Associate Professor, Neurology and Emergency Medicine
Oregon Health & Science University
3181 SW Sam Jackson Park Road, CR-127
Portland, OR 97239
Office/Fax: 503 418-1472
Cell: 503 348-8579
Email: hinson(a)ohsu.edu<mailto:hinson@ohsu.edu>
Web: hinsonlab.org
From: "Stefano.IACUS(a)ec.europa.eu" <Stefano.IACUS(a)ec.europa.eu>
Date: Wednesday, November 4, 2020 at 9:55 AM
To: "king(a)harvard.edu" <king(a)harvard.edu>, Holly Hinson <hinson(a)ohsu.edu>, "aaron.wells(a)pophealthcare.com" <aaron.wells(a)pophealthcare.com>, "cem(a)lists.gking.harvard.edu" <cem(a)lists.gking.harvard.edu>
Subject: [EXTERNAL] Re: Re: [cem] CEM back in CRAN?
Can you please show the full install log as well as the output of session Info () ?
What you posted on stackoverflow and what you write do not match, I can only guess that installation fails but you give us more details we can help.
Stefano
Stefano M. Iacus
Project Officer
[1571651612864]
European Commission
Joint Research Centre
Demography, Migration and Governance
Office: 26B 00/40
Via Enrico Fermi 2749
I-21027 Ispra / Italy
Tel +39 0332 78.6088
Fax +39 0332 78.9045
[1571651625394]
________________________________
From: Gary King <thegaryking(a)gmail.com>
Sent: 04 November 2020 18:14:03
To: Stefano Iacus; IACUS Stefano (JRC-ISPRA)
Subject: Fwd: Re: [cem] CEM back in CRAN?
Can you help?
Gary
--
Gary King - Albert J. Weatherhead III University Professor - Director, IQSS<https://urldefense.com/v3/__http:/iq.harvard.edu/__;!!DOxrgLBm!TLhsICC1yi2z…> - Harvard University
GaryKing.org<https://urldefense.com/v3/__http:/garyking.org/__;!!DOxrgLBm!TLhsICC1yi2zRh…> - King(a)Harvard.edu<mailto:King@Harvard.edu> - @KingGary<https://urldefense.com/v3/__https:/twitter.com/kinggary__;!!DOxrgLBm!TLhsIC…> - 617-500-7570 - Assistant<mailto:king-assist@iq.harvard.edu>: 617-495-9271
---------- Forwarded message ---------
From: Holly Hinson <hinson(a)ohsu.edu<mailto:hinson@ohsu.edu>>
Date: Wed, Nov 4, 2020 at 12:11 PM
Subject: Re: Re: [cem] CEM back in CRAN?
To: King, Gary <king(a)harvard.edu<mailto:king@harvard.edu>>
Hi Gary,
Thank you—I had tried that prior to posting, and was getting an error message that I posted to Stack Overflow:
https://stackoverflow.com/questions/64672623/coarsened-exact-matching-cem-i…<https://urldefense.com/v3/__https:/stackoverflow.com/questions/64672623/coa…>
It seems like the package “tcltk” isn’t behaving as expected?
“Error: package ‘tcltk’ could not be loaded
Execution halted”
Sorry to both you with this! I really appreciate the help!
HH
H. E. Hinson, MD MCR FAAN
Associate Director of Clinical Research, Neurocritical Care Program
Associate Professor, Neurology and Emergency Medicine
Oregon Health & Science University
3181 SW Sam Jackson Park Road, CR-127
Portland, OR 97239
Office/Fax: 503 418-1472
Cell: 503 348-8579
Email: hinson(a)ohsu.edu<mailto:hinson@ohsu.edu>
Web: hinsonlab.org<https://urldefense.com/v3/__http:/hinsonlab.org__;!!DOxrgLBm!TLhsICC1yi2zRh…>
From: Gary King <thegaryking(a)gmail.com<mailto:thegaryking@gmail.com>>
Reply-To: "king(a)harvard.edu<mailto:king@harvard.edu>" <king(a)harvard.edu<mailto:king@harvard.edu>>
Date: Wednesday, November 4, 2020 at 9:00 AM
To: Aaron Wells <aaron.wells(a)pophealthcare.com<mailto:aaron.wells@pophealthcare.com>>
Cc: Holly Hinson <hinson(a)ohsu.edu<mailto:hinson@ohsu.edu>>, "cem(a)lists.gking.harvard.edu<mailto:cem@lists.gking.harvard.edu>" <cem(a)lists.gking.harvard.edu<mailto:cem@lists.gking.harvard.edu>>
Subject: [EXTERNAL] Re: [cem] CEM back in CRAN?
Sorry about that! R changes over time and you have to keep up! We've made the necessary changes and they're just verifying (all are really tiny changes). But if you want to install the new version, you can still do it, straight from our github repository. I put info about how to do this at GaryKing.org/CEM
Thanks for your patience!
Gary
--
Gary King - Albert J. Weatherhead III University Professor - Director, IQSS<https://urldefense.com/v3/__http:/iq.harvard.edu/__;!!DOxrgLBm!TLhsICC1yi2z…> - Harvard University
GaryKing.org<https://urldefense.com/v3/__http:/garyking.org/__;!!DOxrgLBm!TLhsICC1yi2zRh…> - King(a)Harvard.edu<mailto:King@Harvard.edu> - @KingGary<https://urldefense.com/v3/__https:/twitter.com/kinggary__;!!DOxrgLBm!TLhsIC…> - 617-500-7570 - Assistant<mailto:king-assist@iq.harvard.edu>: 617-495-9271
On Wed, Nov 4, 2020 at 11:54 AM Aaron Wells <aaron.wells(a)pophealthcare.com<mailto:aaron.wells@pophealthcare.com>> wrote:
Thank you Holly for asking this question. What transpired such that the package was removed? And, to your question, when will the package return?
Thank you.
Aaron
From: cem-bounces(a)lists.gking.harvard.edu<mailto:cem-bounces@lists.gking.harvard.edu> <cem-bounces(a)lists.gking.harvard.edu<mailto:cem-bounces@lists.gking.harvard.edu>> On Behalf Of Holly Hinson
Sent: Wednesday, November 4, 2020 10:30 AM
To: cem(a)lists.gking.harvard.edu<mailto:cem@lists.gking.harvard.edu>
Subject: [cem] CEM back in CRAN?
WARNING: this email originated from outside of the organization. Please use CAUTION before clicking on links, opening attachments, or providing any information.
Hi,
I wondered if anyone knew when CEM might return to CRAN for R?
Thanks!
HH
IMPORTANT NOTICE: This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of PopHealthCare may contain information that is confidential and legally privileged. Please do not read, copy, forward, or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it to the sender and delete it completely from your computer system.
Sorry about that! R changes over time and you have to keep up! We've made
the necessary changes and they're just verifying (all are really tiny
changes). But if you want to install the new version, you can still do it,
straight from our github repository. I put info about how to do this at
GaryKing.org/CEM
Thanks for your patience!
Gary
--
*Gary King* - Albert J. Weatherhead III University Professor - Director,
IQSS <http://iq.harvard.edu/> - Harvard University
GaryKing.org <http://garyking.org/> - King(a)Harvard.edu - @KingGary
<https://twitter.com/kinggary> - 617-500-7570 - Assistant
<king-assist(a)iq.harvard.edu>: 617-495-9271
On Wed, Nov 4, 2020 at 11:54 AM Aaron Wells <aaron.wells(a)pophealthcare.com>
wrote:
> Thank you Holly for asking this question. What transpired such that the
> package was removed? And, to your question, when will the package return?
>
>
>
> Thank you.
>
>
>
> Aaron
>
>
>
> *From:* cem-bounces(a)lists.gking.harvard.edu <
> cem-bounces(a)lists.gking.harvard.edu> *On Behalf Of *Holly Hinson
> *Sent:* Wednesday, November 4, 2020 10:30 AM
> *To:* cem(a)lists.gking.harvard.edu
> *Subject:* [cem] CEM back in CRAN?
>
>
>
> *WARNING:* this email originated from outside of the organization. Please
> use *CAUTION* before clicking on links, opening attachments, or providing
> any information.
>
> Hi,
>
> I wondered if anyone knew when CEM might return to CRAN for R?
>
> Thanks!
>
> HH
> IMPORTANT NOTICE: This e-mail message is intended to be received only by
> persons entitled to receive the confidential information it may contain.
> E-mail messages to clients of PopHealthCare may contain information that is
> confidential and legally privileged. Please do not read, copy, forward, or
> store this message unless you are an intended recipient of it. If you have
> received this message in error, please forward it to the sender and delete
> it completely from your computer system.
>