search for: mypkg

Displaying 20 results from an estimated 105 matches for "mypkg".

2002 Mar 02
1
GNU tar does not ignore files in .Rbuildignore (PR#1339)
...elson Version: 1.4.1 OS: solaris 2.7 Submission from: (NULL) (128.115.150.74) Putting patterns in .Rbuildignore has no effect when the tar being used is gnu tar (1.13) on solaris 2.7, whilst /usr/sbin/tar works perfectly. TO REPRODUCE: The current directory contains a source package directory ./mypkg... bimini.jgi-psf.org% echo >mypkg/foo bimini.jgi-psf.org% echo "foo" >mypkg/.Rbuildignore bimini.jgi-psf.org% R CMD build mypkg * checking for file `mypkg/DESCRIPTION' ... OK * preparing `mypkg': * checking whether `INDEX' is up-to-date ... NO * creating new INDEX * re...
2009 Mar 05
1
problem building a package with C code (PR#13572)
Hi, my name is Paula. Im trying to learn how to build an R package in Windows XP using a simple example which includes a C source code. The foo.c file is located in mypkg/src/foo.c. I used the command Rcmd build --force --binary [pkgpath]. The problem is when I install the zip file in R the function foo doesn?t exist. The result a recieved during the building process is copied below. I really appreciate some help....I very new on it and I have spent a lot of tim...
2007 Jul 04
1
Newbie creating package with compiled code
...package.skeleton function. I wanted to add some compiled code too. In the src library, I put together a baby subroutine, compiled it and created a test.dll When I use the R cmd build, it works fine. But I get into trouble with the R CMD check section. /home/Desktop/R-2.5.1/bin # ./R CMD check mypkg * checking for working latex ... OK * using log directory '/home/Desktop/R-2.5.1/bin/mypkg.Rcheck' * using R version 2.5.1 (2007-06-27) * checking for file 'mypkg/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mypkg' version '1.0' * chec...
2014 Sep 03
2
timings for examples in R CMD check
...file pkg-Ex.Rout.save, this is compared to the output file for running the examples when the latter are checked. Reference output should be produced without having the --timings option set (and note that --as-cran sets it). As is suggested above, if I run R CMD check --as-cran mypkg.tar.gz or R CMD check --timings mypkg.tar.gz the my.pkg.Rcheck/mypkg-Ex.Rout file contains timing lines inserted by 'R CMD check' If, instead, I follow my reading of the manual, and run R CMD check mypkg.tar.gz the mypkg.Rcheck/mypkg-Ex.Rout file does not contain timings. If I t...
2011 Oct 25
2
Building package/DESCRIPTION file not existing?
...for making easier working with other people but I keep getting the same error message about the DESCRIPTION file not existing. when trying to install from a source tar.gz file: Error in .read_description(dfile) : file 'C:/Users/PropriƩtaire/AppData/Local/Temp/RtmpHFMONb/R.INSTALL647a3535/mypkg/DESCRIPTION' does not exist when trying to build a binary version: Error in .read_description(dfile) : file 'C:/Users/PropriƩtaire/Documents/RETROBIRD/mypkg/DESCRIPTION' does not exist In this last case, the DESCRIPTION file is certainly there! Also, help and DESCRIPTION files a...
2005 Jun 19
1
Creating a R package for Windows XP
...ing on Windows XP. Step One: I use the example > ## two functions and two "data sets" : > f <- function(x,y) x+y > g <- function(x,y) x-y > d <- data.frame(a=1, b=2) > e <- rnorm(1000) > > package.skeleton(name="mypkg", list=c("f","g","d","e"), + path="c:/R/rw2010/library", force=TRUE) Creating directories ... Creating DESCRIPTION ... Creating READMEs ... Saving functions and data ... Making help files ... Created file named 'c:/R/rw2010/library/mypkg/m...
2007 Jun 05
1
'R CMD INSTALL mypkg' doesn't always update help pages
Hi, 'R CMD INSTALL mypkg' and 'install.packages(mypkg, repos=NULL)' don't update mypkg help pages when mypkg is a source directory. They only install new help pages if there are some but they leave the already installed pages untouched. So you end up with mixed man pages from different versions of the packa...
2010 Sep 06
1
How to get "mypkg-manual.pdf"
I am building a package say mypkg. Five months ago, when I built the package I got the mypkg manual in pdf format. Today, after making updates, I build the same package, same name, and steps; unfortunately I do not get the manual in pdf format. Rather I get the following message: cd: can't cd to /cygdrive/c/Documents savi...
2008 May 19
1
Error in building library - R CMD build mypkg.
...-project.org 05/19/2008 01:00 cc: PM Subject: Error in building library - R CMD build mypkg....
2007 Feb 23
0
Solved two problems with Cygwin
...f which appears to be identical to a problem previously reported (and unsolved) on this list. I offer this information in case it will be helpful. (1) Cygwin defaults to UNIX mode when installed, but it appears to be necessary to choose DOS/text mode in order to build R packages. > Rcmd check mypkg * checking for working latex ... OK * using log directory 'x:/Rpkgs/mypkg.Rcheck' ' __ignored__ R version 2.4.1 (2006-12-18) * checking for file 'mypkg/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mypkg' version '1.0' * checking...
2005 Jan 05
4
make R package for windows on Linux
.... The package contains only R code (no C). I then wanted to make a zip file so that I could test the package on a windows machine. I have tried all the obvious ways to do this (and even some that are not!), but to no avail. The only instructions I find about building packages for windows (e.g. mypkg.zip) seem to imply that the build be done on a windows machine. Is there a simple way to make mypkg.zip under linux and then install it as a zip file on a windows machine? Sincerely, Halldor -- ------------------------------------------ Halldor Bjornsson (halldor at vedur.is) Vedurstofa Islan...
2006 Nov 16
2
trouble loading example package
Greetings: I've installed Rtools, MikTeX, perl, minGW, and HTML Help Workshop, and have succeeded in making, checking (using R CMD check mypkg) then building the simple example package.skeleton(list=c("f","g","d","e"), name="mypkg") R CMD build mypkg produces a tarball. I don't know how to get a zip file. But when I try to Install package(s) from local zip files, I get this error me...
2006 Oct 01
2
Rcmd install mypkg
I noticed that in "R version 2.4.0 alpha (2006-09-16 r39365)" on Windows XP that I get this error: C:\Rpkgs>Rcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\Rpkgs>Rcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha.
2005 Apr 22
1
Required Packages etiquette
...the mailing list and I have found answers to many questions, but some have been left unanswered. Sorry if they may seem trivial, but I have joined the R community only 4 months ago and I still I do not have a feeling of what is the right course of action. Questions: 1) the package I am writing ( MYPKG throughout the rest of the message) makes use of many packages. Some of them are fundamental to MYPKG and are pervasive, i.e. without them the package will not work and many functions are used. For these class of packages I (think) know what to do. The second class of package interests MYPKG only...
2009 Jul 14
1
exporting list of installed packages for import on another system?
Is it possible to export a list of installed packages from WinXP, and use that export to import the same set of packages on Ubuntu (Jaunty)? No doubt there is custom code that could be written, but I wonder if R 2.9.1 has anything built it to do that? Is it as simple as moving something like Rprofile.site from one machine to the other? I had a look at R-admin.pdf, and although it talks a lot
2008 May 19
0
Error in building library - R CMD build mypkg.
...ted in the R Help for package creation. require(stats) ## two functions and two "data sets" : f <- function(x,y) x+y g <- function(x,y) x-y d <- data.frame(a=1, b=2) e <- rnorm(1000) package.skeleton(list=c("f","g","d","e"), name="mypkg") Then in the command prompt I executed the following command: R CMD build mypkg I am getting the following error : * checking for file 'mypkg/DESCRIPTION' ... OK * preparing 'mypkg': * checking DESCRIPTION meta-information ... ERROR During startup - Warning messages...
2007 Mar 22
1
how to use debug.mypkg
...ackage "affy" has the following statement in file "AffyBatch.R": if (debug.affy123) cat("-->initAffyBatch\n") This is great and I would also like to use it. However, when I run my package I get the following error: Error in .local(object, ...) : object "debug.mypkg" not found Since I am not able to find the position where "affy" defines "debug.affy123" my question is: where do I need to define "debug.mypkg"? Thank you in advance Best regards Christian _._._._._._._._._._._._._._._._ C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e....
2005 Mar 01
1
Two problems building a package
Hello all: I have written a few R scripts and am trying to turn them into a package for submission to CRAN. All of these scripts are R code only, no C or C++ or anything else. I'm working with R 2.0.1 running on a Windows XP machine. So far running ">rcmd install --build --docs=normal mypkge" seems to work (i.e., the library "mypkge" is installed in R\rw2001\library and the library loads and the scripts do what I have written them to do). While this is all well and good I have two (hopefully small) problems. First, running ">rcmd check mypkge" on R\rw2001...
2005 Mar 25
0
Re: Cross-building R packages
...Ped_0.1 export PATH=/home/packages/RCrossBuild/cross-tools/bin:/home/packages/RCrossBuild/cross-tools/mingw32/bin:.:/home/ggorjan/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:.:/home/ggorjan/apiis/apiis/bin:/home/ggorjan/apiis/apiis/../ref_breedprg/bin; \ export mypkg=`echo GeneticsPed_0.1 | cut -d'_' -f1,1`; \ cd /home/packages/RCrossBuild/pkgsrc; \ rm -rf $mypkg; \ tar zxf GeneticsPed_0.1.tar.gz; \ echo -------$mypkg------; \ cd /home/packages/RCrossBuild/WinR/R-2.0.1/src/gnuwin32/; \ make PKGDIR=/home/packages/RCrossBuild/pkgsrc RLIB=/home/packages/R...
2005 Mar 09
1
delay of warning for things in .Rprofile
Hi all, I was playing with R-devel 2005-03-08 on winXP Pro (installed from Duncan's installer). My .Rprofile contains: options(defaultPackages=c(getOption("defaultPackages"), "mypkg"), chmhelp=TRUE) but "mypkg" has not yet been installed in the library/ directory of this installation. When Rgui starts, I do not get any error or warning, but upon running one command, I get: Warning messages: 1: there is no package called 'mypkg' in: library(pac...