devtools
tidyverse not loaded, it says “namespace ‘vctrs’ 0.2.0 is already loaded, but >= 0.2.1 is required”
This has already been answered above, and I am leaving my notes for other “beginners” that may have run into the same thing. I encountered this issue after installing tidymodels (have since removed). Had issue with rlang first: namespace ‘rlang’ 0.4.7 is already loaded, but >= 0.4.10 is required remove.packages(“rlang”), install.packages(“rlang”) Then had issue with … Read more
How to export S3 method so it is available in namespace?
If you would like to have both an S3method and export directive in your NAMESPACE in an automated way with roxygen2, you can simply add an extra @export tag that is more explicit. To illustrate, I created a dummy package, exportTest. This package has only one file in the R/ subdirectory, print.foo.R: #’ Print method … Read more
Install Rtools on R version 3.0.2
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/
No RTools compatible with R version 3.5.0 was found
The problem was Rtools 3.5 was not in your Windows system PATH thus find_rtools couldn’t find it. Another possibility was that an incompatible version of Rtools was in the PATH Best practice for installing Rtools: Download the latest version Install RTools at default recommended location (at the root of your C drive): C:/Rtools/ <Important> Check … Read more
Problems installing the devtools package
As per damienfrancois‘s suggestion, I installed libcurl4-gnutls-dev and the problem was solved. EDIT (@dardisco) In your shell: apt-get -y build-dep libcurl4-gnutls-dev apt-get -y install libcurl4-gnutls-dev