Questions tagged [r-library]

33 questions
0
votes
1 answer

Package listed under depends does not install when I rebuild a custom R Package

I'm rebuilding a custom R package which has, among other libraries, RcppArmadillo in the Depends row of the DESCRIPTION file. I am running R 3.5.1. When I rebuild the package in RStudio, I get an error: ERROR: dependency ‘RcppArmadillo’ is not…
matsuo_basho
  • 2,833
  • 8
  • 26
  • 47
0
votes
0 answers

For data-raw data scripts, should you use library() or include a package in DESCRIPTION

I'm building my first R package and sorting through the differences between the ext-data, data, and raw-data folders (and Hadley dev methods). I have a script in raw-data that generates a file that is used to test data loading and parsing. In that…
Union find
  • 7,759
  • 13
  • 60
  • 111
0
votes
1 answer

R library contains no packages

My installation of R seems to be faulty. I tried using several packages using library(), and was told they could not be found. I then tried just running library() with no arguments, and it said Warning message: In library() : library…
user8920191
1 2
3