InseadDataAnalytics / INSEADAnalytics

Other
122 stars 1.31k forks source link

Failed to install 'ggthemr' #166

Closed pedrofigueiredoaparicio closed 4 years ago

pedrofigueiredoaparicio commented 4 years ago

When knitting 'ClassificationProcessCreditCardDefault.Rmd', received error:

Line 21 Error: Failed to install 'ggthemr' from GitHub: (converted from warning) cannot remove prior installation of package 'rlang'

VarunKShetty commented 4 years ago

Hi,

Can you please try and follow the latest instructions that Spyros emailed? You should be able to find it in the class announcements section as well. That should bypass this problem. Please post a response here otherwise and we can work through it.

-Varun.

On Feb 7, 2020 18:18, pedrofigueiredoaparicio notifications@github.com wrote:

When knitting 'ClassificationProcessCreditCardDefault.Rmd', received error:

Line 21 Error: Failed to install 'ggthemr' from GitHub: (converted from warning) cannot remove prior installation of package 'rlang'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/InseadDataAnalytics/INSEADAnalytics/issues/166?email_source=notifications&email_token=AC3HMPAWCMALP5EXGWWCPSTRBVKDDA5CNFSM4KRN7O32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILZTSMQ, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC3HMPC72LV5QJHKSCJIBWLRBVKDDANCNFSM4KRN7O3Q.

pedrofigueiredoaparicio commented 4 years ago

Hi Varun,

I have followed Spyros' instructions, including the previous local repository and forking the GitHub rep again in my machine. Now, I get a different error, this time related to the package 'rlang':

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'rlang' Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted

Can you please advise? Thank you, Pedro

VarunKShetty commented 4 years ago

Hi Pedro,

Can you try to install "rlang" directly from the console?

install.packages("rlang")

From your console. And then try to knit again?

Please let me know how it works out.

Best, Varun

Sent from my mobile. Please excuse brevity and typos.

On Feb 10, 2020 13:37, pedrofigueiredoaparicio notifications@github.com wrote:

Hi Varun,

I have followed Spyros' instructions, including the previous local repository and forking the GitHub rep again in my machine. Now, I get a different error, this time related to the package 'rlang':

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'rlang' Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted

Can you please advise? Thank you, Pedro

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/InseadDataAnalytics/INSEADAnalytics/issues/166?email_source=notifications&email_token=AC3HMPENBEHUEWGUIRIAIATRCEDMDA5CNFSM4KRN7O32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHSRMI#issuecomment-584001713, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC3HMPCKXCKBXIAEJPYPDMDRCEDMDANCNFSM4KRN7O3Q.

pedrofigueiredoaparicio commented 4 years ago

Varun, I believe the knitting has concluded well - at least, an html file ('MarketSegmentationProcessInClass.html') resulted, without execution being halted at any point. Good to go, right? Cheers, Pedro

VarunKShetty commented 4 years ago

Yes. Good to go!

Can you please just check that the html is not blank?

Best, Varun

Sent from my mobile. Please excuse brevity and typos.

On Feb 10, 2020 13:50, pedrofigueiredoaparicio notifications@github.com wrote:

Varun, I believe the knitting has concluded well - at least, an html file ('MarketSegmentationProcessInClass.html') resulted, without execution being halted at any point. Good to go, right? Cheers, Pedro

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/InseadDataAnalytics/INSEADAnalytics/issues/166?email_source=notifications&email_token=AC3HMPFHJ4CTCZ4DNS5VA2TRCEE4JA5CNFSM4KRN7O32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHTT6A#issuecomment-584006136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC3HMPHQVFYPFSWMKRHR5LTRCEE4JANCNFSM4KRN7O3Q.

pedrofigueiredoaparicio commented 4 years ago

It is not, all seems good - thanks!