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
0 answers

Cannot install proprietary R library

I have developed my own R library (called HAM) When I use the install() command from the library roxygen2, the result looks as shown below: * installing *source* package 'HAM' ... ** R ** preparing package for lazy loading Warnung: package 'car' was…
user2157086
  • 525
  • 1
  • 5
  • 20
0
votes
3 answers

Emulator : Dev tools has stopped on running media provider

I added few songs using DDMS and in the emulator opened Dev tools->Media Provider and ran scan SD card but got the error msg : Dev tools has stopped. Any idea how to resolve this ? I tried creating new AVD also both in Eclipse and Android Studio ,…
Siju
  • 2,585
  • 4
  • 29
  • 53
0
votes
0 answers

devtools::document() seems not to work

Devtools is not building .Rd files in the man directory. git clone https://github.com/az0/mlmeta cd mlmeta Rscript -e 'require(devtools);devtools::document()' This gives > require(devtools);document('mlmeta') Loading required package:…
Andrew
  • 1,619
  • 3
  • 19
  • 24
0
votes
2 answers

What development tools support creation of Windows Services?

Aside from ActiveState's PerlSvc, what other interpreters and compilers support the development of Windows Services?
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
0
votes
0 answers

R / devtools / roxygen2 : difficulty creating package

I'm trying to turn this function found here into an R package. I'm following the directions found here. Here are the steps I take: 1) Load required library library(devtools) 2) Go to a new location setwd('C:\\myRpkgs\\') 3) Create…
screechOwl
  • 27,310
  • 61
  • 158
  • 267
0
votes
0 answers

Prevent @family from creating links to S3 methods

Using "roxygen2" I use @family to group together a bunch of S3 generic functions (each with some methods). In generated Rd files the See Also sections contains links not only to generic functions, but also to all defined methods. Is there any way to…
Michał
  • 2,755
  • 1
  • 17
  • 20
0
votes
1 answer

Error installing BigVis package in RStudio Version 3.0.2

When I run the code to install BigVis package from GitHub as follows, devtools::install_github("bigvis") I get the following output: Installing github repo bigvis/master from hadley Downloading master.zip from…
Tavi
  • 2,668
  • 11
  • 27
  • 41
0
votes
1 answer

How to prevent importFrom statements from autodeletion from NAMESPACE file?

My NAMESPACE file is: # Generated by roxygen2 (4.0.1): do not edit by hand export(ARorderG) export(VOBoegmc) export(conddiffG) ................ export(sablon) Upon trying to check the package…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
0
votes
0 answers

Error in R CMD check: "Packages required but not available"

The following is log of R CMD check package error: * using log directory 'C:/Users/erdogan/Documents/Revolution/causfinder.Rcheck' * using R version 2.15.3 (2013-03-01) * using platform: i386-w64-mingw32 (32-bit) * using session charset: CP1254 *…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
0
votes
0 answers

install devtools package in R

trying to install the devtools package in R I run into trouble > install.packages("devtools",dependencies=TRUE) Installing package into ‘/home/evandar/R/x86_64-pc-linux-gnu-library/3.1’ (as ‘lib’ is unspecified) Warning in install.packages : …
user3419669
  • 293
  • 2
  • 4
  • 11
0
votes
1 answer

Searching for a code snippet a list of .R files

Suppose I've discovered that in my package, a small piece of code needs to be changed and I cannot recall all the file names where that code may exist. Is there a package development tool that can identify all the files that contain the problem…
Rich Scriven
  • 97,041
  • 11
  • 181
  • 245
0
votes
1 answer

quotes around author name in package created from devtools

So, I'm creating a script to extend the functionality of devtools::create() and I'm noticing some slightly odd behavior when I double check things with utils::maintainer. Here's a MWE where I set the Authors@R section of the description file through…
StevieP
  • 1,569
  • 12
  • 23
0
votes
2 answers

Roxygen2 says Error: file already exists .../RcppExports.cpp

I am practicing R package writing with Rcpp, devtools, and roxygen2. However, when I run document("mypkg") under the dev mode, I got the following error: Updating mypkg documentation Loading mypkg Error: file already exists:…
yuez
  • 885
  • 1
  • 8
  • 16
0
votes
1 answer

Error in install.packages in R : file ‘test_0.1.zip’ is not an OS X binary package

I am trying to follow a manual for creating packages for R but I am stuck in the install.package step: require(devtools) build("/Users/mona/test") build("/Users/mona/test", binary=TRUE) check("/Users/mona/test", cran=FALSE) >…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
2 answers

Make third party library available in my R package

I am developing an R package that uses third party functions available in the Bioconductor package "methyilumi" In the code for my R package at the very beginning I import methylumi with library(methylumi). During the development (I use roxygen2 and…
lucacerone
  • 9,859
  • 13
  • 52
  • 80
1 2 3
99
100