I get an error when trying to install dkahle/ggmap












0















I tired to run install_github("dkahle/ggmap"), but it seems like there is an error when I try to install the ggmap.



install.packages("devtools")
library(devtools)
install_github("dkahle/ggmap", ref = "tidyup")


Here is the error message I get in my console when running the install_github code.



Downloading GitHub repo dkahle/ggmap@tidyup
tar: Failed to set default locale
tar: Failed to set default locale
These packages have more recent versions available.
Which would you like to update?

1: mime (0.5 -> 0.6) [CRAN]
2: openssl (1.0.2 -> 1.1) [CRAN]
3: CRAN packages only
4: All
5: None

Enter one or more numbers separated by spaces, or an empty line to cancel
1: 5
v checking for file '/private/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T/RtmpiOyVaS/remotes3326374be9c6/dkahle-ggmap-4dfe516/DESCRIPTION'
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
- preparing 'ggmap':
v checking DESCRIPTION meta-information
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
Removed empty directory 'ggmap/.github'
- looking to see if a 'data/datalist' file should be added
- building 'ggmap_2.7.904.tar.gz' (694ms)

Error: (converted from warning) Setting LC_CTYPE failed, using "C"
Execution halted
Error in i.p(...) :
(converted from warning) installation of package '/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T//RtmpiOyVaS/file332666bc795e/ggmap_2.7.904.tar.gz' had non-zero exit status









share|improve this question





























    0















    I tired to run install_github("dkahle/ggmap"), but it seems like there is an error when I try to install the ggmap.



    install.packages("devtools")
    library(devtools)
    install_github("dkahle/ggmap", ref = "tidyup")


    Here is the error message I get in my console when running the install_github code.



    Downloading GitHub repo dkahle/ggmap@tidyup
    tar: Failed to set default locale
    tar: Failed to set default locale
    These packages have more recent versions available.
    Which would you like to update?

    1: mime (0.5 -> 0.6) [CRAN]
    2: openssl (1.0.2 -> 1.1) [CRAN]
    3: CRAN packages only
    4: All
    5: None

    Enter one or more numbers separated by spaces, or an empty line to cancel
    1: 5
    v checking for file '/private/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T/RtmpiOyVaS/remotes3326374be9c6/dkahle-ggmap-4dfe516/DESCRIPTION'
    During startup - Warning messages:
    1: Setting LC_CTYPE failed, using "C"
    2: Setting LC_TIME failed, using "C"
    3: Setting LC_MESSAGES failed, using "C"
    4: Setting LC_MONETARY failed, using "C"
    - preparing 'ggmap':
    v checking DESCRIPTION meta-information
    - checking for LF line-endings in source and make files and shell scripts
    - checking for empty or unneeded directories
    Removed empty directory 'ggmap/.github'
    - looking to see if a 'data/datalist' file should be added
    - building 'ggmap_2.7.904.tar.gz' (694ms)

    Error: (converted from warning) Setting LC_CTYPE failed, using "C"
    Execution halted
    Error in i.p(...) :
    (converted from warning) installation of package '/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T//RtmpiOyVaS/file332666bc795e/ggmap_2.7.904.tar.gz' had non-zero exit status









    share|improve this question



























      0












      0








      0








      I tired to run install_github("dkahle/ggmap"), but it seems like there is an error when I try to install the ggmap.



      install.packages("devtools")
      library(devtools)
      install_github("dkahle/ggmap", ref = "tidyup")


      Here is the error message I get in my console when running the install_github code.



      Downloading GitHub repo dkahle/ggmap@tidyup
      tar: Failed to set default locale
      tar: Failed to set default locale
      These packages have more recent versions available.
      Which would you like to update?

      1: mime (0.5 -> 0.6) [CRAN]
      2: openssl (1.0.2 -> 1.1) [CRAN]
      3: CRAN packages only
      4: All
      5: None

      Enter one or more numbers separated by spaces, or an empty line to cancel
      1: 5
      v checking for file '/private/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T/RtmpiOyVaS/remotes3326374be9c6/dkahle-ggmap-4dfe516/DESCRIPTION'
      During startup - Warning messages:
      1: Setting LC_CTYPE failed, using "C"
      2: Setting LC_TIME failed, using "C"
      3: Setting LC_MESSAGES failed, using "C"
      4: Setting LC_MONETARY failed, using "C"
      - preparing 'ggmap':
      v checking DESCRIPTION meta-information
      - checking for LF line-endings in source and make files and shell scripts
      - checking for empty or unneeded directories
      Removed empty directory 'ggmap/.github'
      - looking to see if a 'data/datalist' file should be added
      - building 'ggmap_2.7.904.tar.gz' (694ms)

      Error: (converted from warning) Setting LC_CTYPE failed, using "C"
      Execution halted
      Error in i.p(...) :
      (converted from warning) installation of package '/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T//RtmpiOyVaS/file332666bc795e/ggmap_2.7.904.tar.gz' had non-zero exit status









      share|improve this question
















      I tired to run install_github("dkahle/ggmap"), but it seems like there is an error when I try to install the ggmap.



      install.packages("devtools")
      library(devtools)
      install_github("dkahle/ggmap", ref = "tidyup")


      Here is the error message I get in my console when running the install_github code.



      Downloading GitHub repo dkahle/ggmap@tidyup
      tar: Failed to set default locale
      tar: Failed to set default locale
      These packages have more recent versions available.
      Which would you like to update?

      1: mime (0.5 -> 0.6) [CRAN]
      2: openssl (1.0.2 -> 1.1) [CRAN]
      3: CRAN packages only
      4: All
      5: None

      Enter one or more numbers separated by spaces, or an empty line to cancel
      1: 5
      v checking for file '/private/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T/RtmpiOyVaS/remotes3326374be9c6/dkahle-ggmap-4dfe516/DESCRIPTION'
      During startup - Warning messages:
      1: Setting LC_CTYPE failed, using "C"
      2: Setting LC_TIME failed, using "C"
      3: Setting LC_MESSAGES failed, using "C"
      4: Setting LC_MONETARY failed, using "C"
      - preparing 'ggmap':
      v checking DESCRIPTION meta-information
      - checking for LF line-endings in source and make files and shell scripts
      - checking for empty or unneeded directories
      Removed empty directory 'ggmap/.github'
      - looking to see if a 'data/datalist' file should be added
      - building 'ggmap_2.7.904.tar.gz' (694ms)

      Error: (converted from warning) Setting LC_CTYPE failed, using "C"
      Execution halted
      Error in i.p(...) :
      (converted from warning) installation of package '/var/folders/c2/98cb8xgx7m92m7x7g_ffthy00000gn/T//RtmpiOyVaS/file332666bc795e/ggmap_2.7.904.tar.gz' had non-zero exit status






      r google-maps github geocode






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 19:08







      Ola

















      asked Nov 25 '18 at 18:52









      OlaOla

      244




      244
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Looks like a Mac locale issue.



          Run defaults write org.R-project.R force.LANG en_US.UTF-8 in Terminal.



          Source






          share|improve this answer
























          • It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

            – Ola
            Nov 25 '18 at 19:21











          • Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

            – Roman
            Nov 25 '18 at 19:51











          • How do I get the GitHub version of ggmap?

            – Ola
            Nov 25 '18 at 19:54











          • @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

            – Roman
            Dec 24 '18 at 10:52











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53470777%2fi-get-an-error-when-trying-to-install-dkahle-ggmap%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Looks like a Mac locale issue.



          Run defaults write org.R-project.R force.LANG en_US.UTF-8 in Terminal.



          Source






          share|improve this answer
























          • It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

            – Ola
            Nov 25 '18 at 19:21











          • Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

            – Roman
            Nov 25 '18 at 19:51











          • How do I get the GitHub version of ggmap?

            – Ola
            Nov 25 '18 at 19:54











          • @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

            – Roman
            Dec 24 '18 at 10:52
















          0














          Looks like a Mac locale issue.



          Run defaults write org.R-project.R force.LANG en_US.UTF-8 in Terminal.



          Source






          share|improve this answer
























          • It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

            – Ola
            Nov 25 '18 at 19:21











          • Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

            – Roman
            Nov 25 '18 at 19:51











          • How do I get the GitHub version of ggmap?

            – Ola
            Nov 25 '18 at 19:54











          • @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

            – Roman
            Dec 24 '18 at 10:52














          0












          0








          0







          Looks like a Mac locale issue.



          Run defaults write org.R-project.R force.LANG en_US.UTF-8 in Terminal.



          Source






          share|improve this answer













          Looks like a Mac locale issue.



          Run defaults write org.R-project.R force.LANG en_US.UTF-8 in Terminal.



          Source







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 25 '18 at 19:12









          RomanRoman

          2,1841633




          2,1841633













          • It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

            – Ola
            Nov 25 '18 at 19:21











          • Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

            – Roman
            Nov 25 '18 at 19:51











          • How do I get the GitHub version of ggmap?

            – Ola
            Nov 25 '18 at 19:54











          • @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

            – Roman
            Dec 24 '18 at 10:52



















          • It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

            – Ola
            Nov 25 '18 at 19:21











          • Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

            – Roman
            Nov 25 '18 at 19:51











          • How do I get the GitHub version of ggmap?

            – Ola
            Nov 25 '18 at 19:54











          • @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

            – Roman
            Dec 24 '18 at 10:52

















          It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

          – Ola
          Nov 25 '18 at 19:21





          It seems like it worked; but it came with another problem. I try to run register_google(key = "my_api_key"), with my API key from google, but i get the error "could not find function "register_google""

          – Ola
          Nov 25 '18 at 19:21













          Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

          – Roman
          Nov 25 '18 at 19:51





          Then you don’t have the GitHub version of ggmap. It’s part of the latest Github release, but not on CRAN.

          – Roman
          Nov 25 '18 at 19:51













          How do I get the GitHub version of ggmap?

          – Ola
          Nov 25 '18 at 19:54





          How do I get the GitHub version of ggmap?

          – Ola
          Nov 25 '18 at 19:54













          @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

          – Roman
          Dec 24 '18 at 10:52





          @Ola devtools::install_github("dkahle/ggmap", ref = "tidyup") (you need to have the devtools library installed)

          – Roman
          Dec 24 '18 at 10:52




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53470777%2fi-get-an-error-when-trying-to-install-dkahle-ggmap%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wiesbaden

          Marschland

          Dieringhausen