Displaying 20 results from an estimated 12000 matches similar to: "Is using devtools::release no longer allowed?"
2014 Dec 04
1
\U with more than 4 digits returns the wrong character
Great spot, thanks Mark.
This really ought to appear somewhere in the ?Quotes help page.
Having a warning under Windows might be nicer behaviour than silently
returning the wrong value too.
On 4 December 2014 at 22:24, Mark van der Loo <mark.vanderloo at gmail.com> wrote:
> Richie,
>
> The R language definition [1] says (10.3.1):
>
> \Unnnnnnnn \U{nnnnnnnn}
> (where
2014 Dec 04
4
\U with more than 4 digits returns the wrong character
If I type a character using \U syntax that has more than 4 digits, I
get the wrong character. For example,
"\U1d4d0"
should print a mathematical bold script capital A. See
http://www.fileformat.info/info/unicode/char/1d4d0/index.htm
On my machine, it prints the Hangul character corresponding to
"\Ud4d0"
http://www.fileformat.info/info/unicode/char/d4d0/index.htm
It seems
2015 May 25
2
Unicode display problem with data frames under Windows
Here's a data frame with some Unicode symbols (set intersection and union).
d <- data.frame(x = "A \u222a B \u2229 C")
Printing this data frame under R 3.2.0 patched (r68378) and Windows 7, I see
d
## x
## 1 A <U+222A> B n C
Printing the column itself works fine.
d$x
## [1] A ? B ? C
## Levels: A ? B ? C
The encoding is correctly UTF-8.
2015 May 25
5
Unicode display problem with data frames under Windows
On 25/05/2015 11:37 AM, Ista Zahn wrote:
> AFAIK this is the way it works on Windows. It has been discussed in several
> places, e.g.
> http://stackoverflow.com/questions/17715956/why-do-some-unicode-characters-display-in-matrices-but-not-data-frames-in-r
> ,
> http://stackoverflow.com/questions/17715956/why-do-some-unicode-characters-display-in-matrices-but-not-data-frames-in-r
2019 Sep 27
1
passing extra arguments to devtools::build
This question was posed on SO :
https://stackoverflow.com/questions/58118495/passing-extra-argumenets-to-devtoolsbuild
but there has been no useful reply.
Something seems to have changed in the |devtools|package, so that the
following commands, that used to run now give an error I can't decipher:
|>Sys.setenv(R_GSCMD="C:/Program
2015 Mar 23
4
Possible values for R version status
Is there a complete list somewhere of the possible values for R's
status, as returned by version$status?
I know about these values:
Stable: ""
Devel: "Under development (unstable)"
Patched: "Patched"
Release candidate: "RC"
Alpha: "Alpha"
Are there any others that I've missed?
2013 Dec 20
3
error con install_github() del paquete devtools
Hola a todos.
Estoy intentando instalar el paquete likert utilizando devtools y
obtengo el siguiente error
library(devtools)
install_github('likert','jbryer')
Installing github repo(s) likert/master from jbryer
Downloading likert.zip from
https://github.com/jbryer/likert/archive/master.zip
Error en function (type, msg, asError = TRUE) : <not set>
Me pasa también con
2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
I've just been trying to post-process some R-created heatmaps using
Inkscape, but I can't get them to display correctly in that software.
To reproduce:
library(grid)
r <- as.raster(matrix(runif(25), 5, 5))
pdf("test.pdf")
grid.newpage()
grid.raster(r, interpolate = FALSE)
dev.off()
This figure should be a five by five block of grey squares. This is
what I see in the R GUI
2014 Apr 28
1
Will Devtools-1.1 or later become part of SCL?
I've already installed devtools-1.1 from Tru Huynh.
http://people.centos.org/tru/devtools-1.1/
Thank You Tru.
gcc 4.7.2 is so much newer than stock 4.4.7. (much better C++11 support)
Why is devtools-1.1 not officially part of CentOS SCL? I know
devtools-2.0 still has issues but 1.1 would bring us on par with
Debian 7.0.
http://wiki.centos.org/AdditionalResources/Repositories/SCL
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to
normalizePath. If the path is a non-existent UNC path, then
normalizePath sometimes takes 6 or 7 seconds to run, rather than its
usual few microseconds. My big problem is that I can't reliably
reproduce this across machines.
The example below generates one or two slow runs out of 10000 on my
Windows machine. I haven't been
2014 Dec 08
2
CRAN packages mis-using \donttest : falsy
Hi all,
anyone has an idea how I could fix this?
\donttest{
## Set colors from colorspace package with a fallback
col <- try(colorspace::rainbow_hcl(5), silent = TRUE) %||% rainbow(5)
}
The problem is that this makes R CMD check freak out
(http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/falsy-00check.html)
if the colorspace package is not declared as a dependency.
2013 Dec 20
4
error con install_github() del paquete devtools
Si. Pero no funciona. En ordenador curro si funciona y tb tiene linux.
Seguiré investigando
has probado con: install_github('paquete",username='usuario')?
2013/12/20 Jose Luis Cañadas Reche <canadasreche@gmail.com>:
> Hola a todos.
>
> Estoy intentando instalar el paquete likert utilizando devtools y obtengo
el
> siguiente error
>
> library(devtools)
>
2016 May 05
1
Too many spaces in deparsed complex numbers with digits17 control option
If you set the "digits17" control option in deparse, you get a lot of
unnecessary space in the representation of complex numbers.
> deparse(0 + 0i)
[1] "0+0i"
> deparse(0 + 0i, control = "digits17")
[1] "0 + 0i"
As far as I can tell, the logic for this comes from this piece of
/src/main/deparse.c:
if (TYPEOF(vector) == CPLXSXP
2015 Nov 23
1
capturing warnings using capture.output
>From the Details section of ?capture.output:
Messages sent to stderr() (including those from message, warning and stop)
are captured by type = "message". Note that this can be "unsafe" and should
only be used with care.
Capturing messages works as expected:
capture.output(message("!!!"), type = "message")
## [1] "!!!"
Capturing warnings
2016 Oct 27
1
using with inside loop breaks next
If I want to use with inside a loop, it seems that next gets confused.
To reproduce:
for(lst in list(list(a = 1), list(a = 2), list(a = 3)))
{
with(lst, if(a == 2) next else print(a))
}
I expect 1 and 3 to be printed, but I see
[1] 1
Error in eval(expr, envir, enclos) :
no loop for break/next, jumping to top level
Is this
a) by design, or
b) a bug, or
c) a thing that is rare enough that I
2012 Nov 14
1
devtools - document() weiredness
Hello,
Please try this:
> library(devtools)
> create("mdaa")
> setwd("mdaa")
> dev_mode()
d> install()
Produces
...* DONE (mdaa)
Reloading installed mdaa
But when I then try to build documentation
d> document()
devtools/roxygen just hangs with a "?" like so:
Updating mdaa documentation
Loading mdaa
?
I know this scenario is strange as
2017 Jul 12
1
devtools::check "hangs"
Hi,
checking my package with check from devtools leads to the output
Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ?Writing R documentation files? in the ?Writing R
Extensions? manual.
* checking Rd contents ... OK
* checking for unstated dependencies in
2014 Sep 14
1
default devtools enabled for users
Hi! I want to make the default environment for users the
environment of devtoolset .. and i am thinking to do it this way:
1. make /bin/bash-devtools with the content
scl enable devtoolset-2 bash "$@"
2. change for the prospective users the shell from /bin/bash to /bin/bash-devtoolset
Is this the best way? Do anyone see or know of any pitfalls with this?
Thanks a lot!
Adrian
2013 Dec 21
2
error con install_github() del paquete devtools
Gracias Jorge. Pero tiene que ser otra cosa. El Renviron está bien y unzip
está en ese path. Y al hacerlo como indica Oscar no hay problema con el
unzip
Miraré como está en otro Linux que si funciona a ver que puede ser.
Pero será después de Navidad.
Saludos
[[alternative HTML version deleted]]
2007 Apr 16
6
How to use a form.check_box ?
Hey guys,
I''m trying to have a simple webform in my administration section to
add a user. I have the text_fields for adding the user''s name,
password, and password confirmation, but cannot seem to figure out the
checkbox. I want it to be a single checkbox, that if clicked, will set
the database column "access" to be "admin" and if its unchecked, set
it to be