{"id":170,"date":"2016-06-07T01:31:54","date_gmt":"2016-06-07T01:31:54","guid":{"rendered":"http:\/\/blog.ufes.br\/fabiomolinares\/?p=170"},"modified":"2016-06-07T02:04:59","modified_gmt":"2016-06-07T02:04:59","slug":"problems-installing-the-devtools-package-in-ubuntu","status":"publish","type":"post","link":"https:\/\/blog.ufes.br\/fabiomolinares\/2016\/06\/07\/problems-installing-the-devtools-package-in-ubuntu\/","title":{"rendered":"Problems installing the devtools package in Ubuntu"},"content":{"rendered":"<p>You\u00a0want to use the <strong><code>devtools<\/code><\/strong> package. Suposse that you have\u00a0run the following commands:<\/p>\n<pre class=\"lang-r prettyprint prettyprinted\"><code><span class=\"pun\">&gt;<\/span><span class=\"pln\"> install.packages<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"devtools\"<\/span><span class=\"pun\">,<\/span><span class=\"pln\"> dependencies <\/span><span class=\"pun\">=<\/span> <span class=\"lit\">TRUE<\/span><span class=\"pun\">)<\/span><span class=\"pln\">\r\n.<\/span><span class=\"lit\">..<\/span>\r\n<span class=\"pun\">&gt;<\/span><span class=\"pln\"> library<\/span><span class=\"pun\">(<\/span><span class=\"pln\">devtools<\/span><span class=\"pun\">)<\/span><span class=\"pln\">\r\nError <\/span><span class=\"kwd\">in<\/span><span class=\"pln\"> library<\/span><span class=\"pun\">(<\/span><span class=\"pln\">devtools<\/span><span class=\"pun\">)<\/span> <span class=\"pun\">:<\/span><span class=\"pln\"> there is no package \r\ncalled \u2018devtools\u2019\r\n\r\nThe 'devtools' package was not installed!\r\n\r\n<strong>\r\nSolution: <\/strong><\/span><\/code>I installed libcurl4-gnutls-dev and the \r\nproblem was solved.<\/pre>\n<p>In your shell:<\/p>\n<pre class=\"lang-r prettyprint prettyprinted\"><code><span class=\"pln\">apt<\/span><span class=\"pun\">-<\/span><span class=\"pln\">get <\/span><span class=\"pun\">-<\/span><span class=\"pln\">y build<\/span><span class=\"pun\">-<\/span><span class=\"pln\">dep libcurl4<\/span><span class=\"pun\">-<\/span><span class=\"pln\">gnutls<\/span><span class=\"pun\">-<\/span><span class=\"pln\">dev\r\napt<\/span><span class=\"pun\">-<\/span><span class=\"pln\">get <\/span><span class=\"pun\">-<\/span><span class=\"pln\">y install libcurl4<\/span><span class=\"pun\">-<\/span><span class=\"pln\">gnutls<\/span><span class=\"pun\">-<\/span><span class=\"pln\">dev<\/span><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You\u00a0want to use the devtools package. Suposse that you have\u00a0run the following commands: &gt; install.packages(&#8220;devtools&#8221;, dependencies = TRUE) &#8230; &gt; library(devtools) Error in library(devtools) : there is no package called \u2018devtools\u2019 The &#8216;devtools&#8217; package was not installed! Solution: I installed libcurl4-gnutls-dev and the problem was solved. In your shell: apt-get -y build-dep libcurl4-gnutls-dev apt-get -y [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_uag_custom_page_level_css":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-r"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Fabio Fajardo","author_link":"https:\/\/blog.ufes.br\/fabiomolinares\/author\/fabio-molinares\/"},"uagb_comment_info":228,"uagb_excerpt":"You\u00a0want to use the devtools package. Suposse that you have\u00a0run the following commands: &gt; install.packages(\"devtools\", dependencies = TRUE) ... &gt; library(devtools) Error in library(devtools) : there is no package called \u2018devtools\u2019 The 'devtools' package was not installed! Solution: I installed libcurl4-gnutls-dev and the problem was solved. In your shell: apt-get -y build-dep libcurl4-gnutls-dev apt-get -y&hellip;","_links":{"self":[{"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":3,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/posts\/170\/revisions\/173"}],"wp:attachment":[{"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ufes.br\/fabiomolinares\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}