Questions tagged [devtools]

An R package containing tools to ease the task of software development.

devtools is an package to make it easier to create and release other R packages. For non-package developers, it also contains functions for getting R packages from online repositories including , and .

Repositories

Books

Other resources

Related tags

1529 questions
0
votes
1 answer

Error in Shiny in R when setting a ReferenceClass from a package loaded with devtools

This is a very specific question. I have a simple Shiny app, using the latest version of R (3.2.2), RStudio (0.99.473), all packages up-to-date, tested in both Windows 7 and Ubuntu 14.04. The same thing happens in both SOs. I have a library of…
Chicoscience
  • 975
  • 1
  • 8
  • 18
0
votes
1 answer

Change formatting in trelliscope package plots - Zillow Data

So I just installed a package in R called trelliscope. It's awesome but I am having trouble with some formatting. It is fairly new and there is not too much documentation about it and wanted to hear some input. So I produced the following code (if…
Nick
  • 833
  • 2
  • 8
  • 11
0
votes
0 answers

Error downloading shinyapps from github

I'm trying to download the package shinyapps following the instructions given in: http://shiny.rstudio.com/articles/shinyapps.html but I am having some errors. I am on Windows 64 bit; my R version is R x64 3.2.1; my RStudio version is 0.99.447. Here…
atalantafugiens
  • 423
  • 6
  • 16
0
votes
1 answer

Error while installing devtools in Ubuntu

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it…
klee
  • 1,554
  • 2
  • 19
  • 31
0
votes
1 answer

Viewing my package documentation with devtools

I'm using devtools to handle a package I'm working on. If I run R and then run library(devtools) devtools:::load_all() I am able to view my packages documentation. However, I'm trying to create an alias to automate the launching of R (it's actually…
Josh
  • 1,248
  • 12
  • 25
0
votes
1 answer

R: Custom packages installs, loads fine, but functions are not there

There is a previous question here with much the same issue, but I don't understand the solution given and it is not given as an answer, only in the comments. Hence the need for a new question. I have followed this guide to create a new R package. To…
CoderGuy123
  • 6,219
  • 5
  • 59
  • 89
0
votes
0 answers

R install_github produces error: command failed (5)

I am trying to install the package rpivottable via install_github. When trying I get the error: Downloading github repo smartinsightsfromdata/rpivotTable@master Installing rpivotTable "C:/R/R-PORT~1/App/R-PORT~1/bin/x64/R"…
Picarus
  • 760
  • 1
  • 10
  • 25
0
votes
1 answer

rCharts dTable Error

Hi I'm new to rCharts and could definitely use some help. I'm getting the error below when I try to run the following. Code: dTable(airquality, sPaginationType = "full_numbers") Error: Error in as.character(tools:::httpdPort) : cannot coerce…
user2995020
  • 1
  • 1
  • 3
0
votes
1 answer

devtools::build: "Error in if (!is_loaded(pkg) || (is_loaded(pkg) && reload)) { : missing value where TRUE/FALSE needed"

Everytime I try use the devtools functions build, check or document a certain R-package folder it throws the following error: Error in if (!is_loaded(pkg) || (is_loaded(pkg) && reload)) { : missing value where TRUE/FALSE needed or if (pkgname !=…
tover
  • 535
  • 4
  • 11
0
votes
1 answer

Make R-package that just loads other packages and exports all functions

Is it possible to make an R-package that just exports all functions from other R-packages? Is there another way to have the functions in a package categorized and ordered accordingly in the manual, code files etc.?
tover
  • 535
  • 4
  • 11
0
votes
2 answers

Why does using "<<-" in a function in the global workspace work, but not in a package?

I'm creating a package using devtools and roxygen2 (in RStudio), however after I've built the package my function no longer works as intended. Yet, if I load the function's .R file and run the function from there in RStudio, it works perfectly. I've…
grlaer
  • 151
  • 1
  • 3
  • 11
0
votes
0 answers

NA in title of package documentation manual pdf

When I create an R-package using UTF-8 encoding and special characters like ä,ß, etc., they are shown correctly in the description, but if the title of a function contains one, the whole title becomes NA. For example, I create the package…
tover
  • 535
  • 4
  • 11
0
votes
2 answers

R: on.exit - use returned value without knowing its name

I have below function. I cannot alter the function in any way except the first block of code in the function. In this simple example I want to display apply some function on returning object. The point is the name of variable returned by function…
jangorecki
  • 16,384
  • 4
  • 79
  • 160
0
votes
2 answers

Deleted httr, now can't reinstall, or load devtools

I was trying to install twitteR, but the install failed, saying I needed httr >0.6 and I only had 0.3. I tried to update httr. However, I seemed to have to 2 versions simultaneously, and when I used library(twitteR) it still said I had httr 0.3 and…
timcdlucas
  • 1,334
  • 8
  • 20
0
votes
0 answers

SVG.js requestAnimationFrame leak

A little background: I'm currently working on a project that contains about 20-30 items with linear gradients which animate their stops continuously throughout the entire run time of the experience. gradient docs animate docs As the site runs, the…