InseadDataAnalytics / INSEADAnalytics

Other
122 stars 1.31k forks source link

Html generation - error with "Library.R" #135

Closed GuillaumeBot closed 6 years ago

GuillaumeBot commented 6 years ago

Hey team,

I have a specific error involving "library.R", line 58 in MarketSegmentationProcessInClassParts1and2.Rmd:

suppressWarnings(source("../../AnalyticsLibraries/library.R")) Error in library(thelibrary.split[2], character.only = TRUE) : aucun package nommé ‘slidifyLibraries’ n'est trouvé

in proper english, it means package ‘slidifyLibraries’ is not found. I tried various things:

VarunKShetty commented 6 years ago

Hey @GuillaumeBot ,

Just please remove the "slidifyLibraries" from the library.R file. We don't need it any more for this class. Please let me know if that fixes the issue or not.

-VK

GuillaumeBot commented 6 years ago

Hey @VarunKShetty,

thanks for replying so quickly. I tried this this morning, but didn't help. I did it again with the latest version of file (following Theos email). But didn't help either. I have the follwing error:

suppressWarnings(source("../../AnalyticsLibraries/library.R")) Error in library(thelibrary.split[2], character.only = TRUE) : aucun package nommé ‘ggthemr’ n'est trouvé

this morning, I tried to remove it further, but it just keep on with another package

GuillaumeBot commented 6 years ago

Hello @VarunKShetty,

I have been searching for info to solve the problem. I tried to install every library manually. It helped a bit. Apparently R studio returns an error for every library name that has a "/". I am still searching, but by chance do you have hints on this particular issue?

Thanks!

VarunKShetty commented 6 years ago

Hey Guillaume,

Would very much like to see the error log on this. I am in LG18 all day. Please feel free to drop in. I will be meeting with groups and helping in project implementation – but we can probably sort you out in some gap.

-VK

From: GuillaumeBot notifications@github.com Reply-To: InseadDataAnalytics/INSEADAnalytics reply@reply.github.com Date: Wednesday, May 23, 2018 at 09:31 To: InseadDataAnalytics/INSEADAnalytics INSEADAnalytics@noreply.github.com Cc: KARAMSHETTY Varun Varun.KARAMSHETTY@insead.edu, Mention mention@noreply.github.com Subject: Re: [InseadDataAnalytics/INSEADAnalytics] Html generation - error with "Library.R" (#135)

Hello @VarunKShettyhttps://github.com/VarunKShetty,

I have been searching for info to solve the problem. I tried to install every library manually. It helped a bit. Apparently R studio returns an error for every library name that has a "/". I am still searching, but by chance do you have hints on this particular issue?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/InseadDataAnalytics/INSEADAnalytics/issues/135#issuecomment-391249028, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALZ2PM28gTvThrfzTw1utPcEYXVyeGC-ks5t1RBmgaJpZM4UIhvE.

GuillaumeBot commented 6 years ago

Thanks @VarunKShetty for the help. For the record, the issue was that on the path to the location of downloaded package was a non supported case. The path was the following: C:\Users\G&M\Documents\R\win-library\3.5...

The solution involved changing the window's session user name "G&M" into "GM". Here is the process: https://www.ghacks.net/2011/03/28/how-to-change-a-windows-account-name-and-user-profile-folder-name/