Displaying 20 results from an estimated 5000 matches similar to: "R CMD build failure"
2015 Jul 09
0
R CMD build failure
What field is httr in the DESCRIPTION?
Hadley
On Thu, Jul 9, 2015 at 10:26 AM, Therneau, Terry M., Ph.D.
<therneau at mayo.edu> wrote:
> I have a local library 'dart' that imports "httr". It has routines that
> access central patient data such as birth date, so it is heavily used
> locally but of no interest to anyone else.
>
> The httr library (and 300
2017 Aug 25
2
getOption() versus Sys.getenv
Hi there,
I am trying to distinguish between getOption() and Sys.getenv(). My
understanding is that these are both used to set values for variables.
getOption is set something like this: option("var" = "A"). This can be
placed in an .Rprofile or at the top of script. They are called like this
getOption("var").
Environmental variables are set in the .Renviron file
2013 Jan 16
1
Trouble building package using R in development
Dear List,
I'm having considerable trouble setting up my environment (Linux, Fedora
16, Bash) to build and check packages under R Under Development
(r61660). I'm doing this to better get a handle on difference in the
output from running checks on examples in one of my packages. Note I
compiled R Under Development myself
The problem I am now having is whenever I try to build my analogue
2023 Mar 16
2
Request: better default R_LIBS_USER
On 16 March 2023 at 13:39, Felipe Contreras wrote:
| I see R by default installs packages in ~/R. I know I can change the
| default directory with R_LIBS_USER, but software shouldn't be
| polluting the home directory.
|
| For example both python and node install packages to ~/.local/lib,
| ruby to ~/.local/share. They don't install to for example ~/node.
|
| R should do the same: it
2010 Jul 01
1
How best to set library search path so user libraries come first
I want my local libraries to have priority over the system installed
ones, which, as far as I can make out from help(".libPaths"), means they
have to come first in that list (it doesn't actually_say_ so, but that
seems to be the idea).
We have R_LIBS_USER which looks made for specifying where I keep my own
libraries. Unfortunately it comes last in .libPaths() [which appears to
2017 Feb 09
2
R CMD check error
Martin,
I am aware of --vanilla; I use it myself for some testing. In this case R_LIBS_USER was
set externally (part of my login) and does not involve any of the R scripts. That means
it is inherited by any subprocess. For example:
tmt1495% R --vanilla --no-environ
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
2017 Aug 25
0
getOption() versus Sys.getenv
On 25/08/2017 1:19 PM, Sam Albers wrote:
> Hi there,
>
> I am trying to distinguish between getOption() and Sys.getenv(). My
> understanding is that these are both used to set values for variables.
> getOption is set something like this: option("var" = "A"). This can be
> placed in an .Rprofile or at the top of script. They are called like this
>
2009 Jul 21
1
Customization options with .Renviron, R_LIBS, .Rprofile etc
Hi,
I am interested in customizing the installation of R. I have
gone through the ?R Installation and Administration? manual. But some
of the stuff is not clear to me and I would like to get clarifications
on the following points (for a Windows installation with
R_HOME=C:\\R\\R-2.9.1 ) :
1. I understand that I need to create a
file, .Renviron with the following path : R_HOME\\etc\\.Renviron where
2010 Mar 25
1
update.packages(1)
I'm relaying a question from my institute's sysadmin:
Would it be possible to modify update.packages() and related functions so
that 'lib.loc' accepts integer values to specify a library from the
.libPaths() vector?
Many Linux users want to update all user packages (inside the R_LIBS_USER
directory, e.g. ~/r/library) and none of the system packages (inside the
/usr directory,
2018 Jan 12
2
R minor version
Hi,
When I install a package as a non-root user, it gets saved in a path
such as
~/R/x86_64-unknown-linux-gnu-library/3.4
for any R version 3.4.x. Thus, if I want to install the packages
somewhere else, as root say, I might do
install.packages("somepackage","/some/where/else/R/site-library/3.4")
In this case I would then want to construct the appropriate path in,
say,
2023 Mar 16
1
Request: better default R_LIBS_USER
Hi,
I see R by default installs packages in ~/R. I know I can change the
default directory with R_LIBS_USER, but software shouldn't be
polluting the home directory.
For example both python and node install packages to ~/.local/lib,
ruby to ~/.local/share. They don't install to for example ~/node.
R should do the same: it should install packages to somewhere inside
~/.local by default.
2013 Jun 12
1
Windows R_LIBS_USER confusion under R-3.0.1
I would appreciate ideas about MS Windows install issues. I'm at our stats
summer camp and have been looking at a lot of Windows R installs and there
are some wrinkles about R_LIBS_USER.
On a clean Win7 or Win8 system, with R-3.0.1, we see the user library for
packages defaulting to $HOME/R/win-library.
I think that's awesome, the way it should be. Yea! But it does not appear
that way
2010 May 30
4
Changing R_LIB_USER variable in ubuntu...
Hi,
I'm an experienced R user on windows, but new to linux. This may be an
issue with how R (or Ubuntu) was install on my computer, but maybe not.
I just installed Ubuntu 10.04, I have administrator privileges and
am using R 2.11. Here goes:
I'd like to change the location where R installs packages not included
in the base installation (using install.packages()). Right now it is
2018 Jan 12
0
R minor version
> .expand_R_libs_env_var("poof/%p/%v")
[1] "poof/x86_64-w64-mingw32/3.4"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jan 12, 2018 at 4:49 AM, Loris Bennett <loris.bennett at fu-berlin.de>
wrote:
> Hi,
>
> When I install a package as a non-root user, it gets saved in a path
> such as
>
> ~/R/x86_64-unknown-linux-gnu-library/3.4
>
2018 Jan 02
1
httr::content without message
Thanks to all that replied. I had just looked through the httr code and sure enough for a .csv mime time it calls readr::read_csv(). The httr::content docs suggest not using automatic parsing in a package, rather to determine mime type and parse yourself and Ben's suggestion also works if I do:
junk <- readr::read_csv(r1$content, col_types = cols())
Perfect. Using httr rather than
2020 Mar 19
2
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
AFAIU, 'R CMD check --as-cran' tries to hide any site and user package
libraries by setting R_LIBS_SITE and R_LIBS_USER. However, contrary
to R_LIBS_SITE, it fails for R_LIBS_USER and the user's personal
library is still available for test scripts. Should I revise my
assumptions, or is that intentional?
The short version. Shouldn't:
$ R_LIBS_USER='' Rscript --vanilla -e
2014 Nov 12
4
Problem with build and check
I am getting failure of build and check, for an Rd file that has a long argument list.
Guess diagnosis: a quoted string beyond a certain point in the argument list is fatal.
Example: Use the function below, create an Rd file for it with prompt(). Move the .Rd
file to the man directory (no need to edit it) and try building
dart.control <- function(server=c("production",
2017 Sep 16
1
R_LIBS_USER not in libPaths
I have not intentionally set R_LIBS_USER. I looked for an Renviron.site
file but did not see it in R/etc or my home directory. The strange part is
that if I print Sud.getenv I see a value for R_LIBS_USER. However, this
directory is not showing under libPaths.
I though .libPaths should contain R_LIBS_USER.
I also noticed that R related variables are not in the system or user
variables because I
2015 May 15
2
Installation error with R-devel
I have a local library with functions that interrogates an institution-specific web API,
so is not of interest to anyone outside of Mayo. For some reason the R CMD INSTALL
command fails. See below:
Build the library, then install it.
tmt-local2127% R CMD build dart
* checking for file ?dart/DESCRIPTION? ... OK
* preparing ?dart?:
* checking DESCRIPTION meta-information ... OK
* installing
2018 Jan 02
0
httr::content without message
Ahoy!
That's a message generated by the readr::read_table() function (or it's friends). You can suppress it a number of ways, but this should work as httr::content() will pass through arguments, like col_types = cols(), to the file reader.
junk <- httr::content(r1, col_types = cols())
See more here...
https://blog.rstudio.com/2016/08/05/readr-1-0-0/