search for: pkgdir

Displaying 20 results from an estimated 54 matches for "pkgdir".

Did you mean: pgdir
2012 Apr 30
0
R CMD check . segfault on re-building vignettes
...from within a package source directory which has some vignettes in inst/doc. When the check finally comes to "checking re-building of vignette PDFs ..." i get the following error *** caught segfault *** address 0x7fff6073c998, cause 'memory not mapped' Traceback: 1: file.copy(pkgdir, vd2, recursive = TRUE) 2: run_vignettes(desc) 3: check_pkg(pkgdir, pkgname, pkgoutdir, startdir, libdir, desc, is_base_pkg, is_rec_pkg, thispkg_subdirs, extra_arch) 4: tools:::.check_packages() aborting ... Segmentation fault (core dumped) as one can see, the error stems from the call file.cop...
2012 Apr 30
0
file.copy(src, src, recursive=TRUE) causes a segfault (Was: Re: R CMD check . segfault on re-building vignettes)
...ch has some vignettes in > inst/doc. When the check finally comes to > "checking re-building of vignette PDFs ..." > i get the following error > > ?*** caught segfault *** > address 0x7fff6073c998, cause 'memory not mapped' > > Traceback: > ?1: file.copy(pkgdir, vd2, recursive = TRUE) > ?2: run_vignettes(desc) > ?3: check_pkg(pkgdir, pkgname, pkgoutdir, startdir, libdir, desc, > is_base_pkg, is_rec_pkg, thispkg_subdirs, extra_arch) > ?4: tools:::.check_packages() > aborting ... > Segmentation fault (core dumped) > > as one can see,...
2005 Feb 07
1
Problems encountered/fixed making CrossCompileBuild
...rectory where the cross-tools are installed CROSSDIR = $(RCB)/cross-tools ## the directory where R sources are unpacked for cross- building WINR = $(RCB)/WinR ## the dirECTOry where R for Linux will be compiled and installed LINUXR = $(RCB)/LinuxR ## the directory where package sources are stored PKGDIR = $(RCB)/pkgsrc ## the directory where the built packages for windows are to be stored WINRLIBS = $(RCB)/WinRlibs ## current versions R = R-2.0.0 ## snapshot R is only available at ftp://ftp.stat.math.ethz.ch/Software/R ifeq ($(findstring devel, $(R)), devel) RURL = ftp://ftp.stat.math.ethz.ch/S...
2002 Mar 09
0
OpenSSH-3.1p1 AIX buildbff.sh patch
...requires for the 'info' part of the package. ! VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` ! BFFVERSION=`echo $VERSION | sed 's/p/./g'` ! ! echo "Building BFF for $PKGNAME $VERSION (package version $BFFVERSION)" ! PKGDIR=package ! ! # Clean build directory and package file rm -rf $PKGDIR mkdir $PKGDIR - rm -f $PKGNAME-$VERSION.bff if [ ! -f ../../Makefile ] then --- 11,24 ---- umask 022 PKGNAME=openssh + PKGDIR=package ! PATH=`pwd`:$PATH # set path for external tools export PATH ! # Clea...
2002 Mar 17
1
[patch] AIX package build fixes, please commit
...requires for the 'info' part of the package. ! VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` ! BFFVERSION=`echo $VERSION | sed 's/p/./g'` ! ! echo "Building BFF for $PKGNAME $VERSION (package version $BFFVERSION)" ! PKGDIR=package ! ! # Clean build directory and package file rm -rf $PKGDIR mkdir $PKGDIR - rm -f $PKGNAME-$VERSION.bff if [ ! -f ../../Makefile ] then --- 11,24 ---- umask 022 PKGNAME=openssh + PKGDIR=package ! PATH=`pwd`:$PATH # set path for external tools export PATH ! # Clea...
2001 Apr 27
1
INSTALL Problems
...a' is up to date. make[2]: Leaving directory `/d/bin/cran/tucker/tensor/src' mkdir -p d:/bin/cran/rw1022/library/tensor/libs cp src/tensor.dll d:/bin/cran/rw1022/library/tensor/libs/tensor.dll make[1]: Leaving directory `/d/bin/cran/tucker/tensor' make -C ./help RHOME=d:/bin/cran/rw1022 PKGDIR=D:/bin/cran/tucker RLIB=d:/bin/cran/rw1022/library help-tensor make[1]: Entering directory `/d/bin/cran/rw1022/src/gnuwin32/help' PERL5LIB=d:/bin/cran/rw1022/share/perl perl build.help -txt -html -example -latex D:/bin/cran/tucker/tensor d:/bin/cran/rw1022/library >>> Building/Updati...
2003 May 18
1
how to build specific doc types in Windows
...eak the build entirely. What are the actual options for --docs=TYPE? I have tried all the documentation sources I know of, plus hacking the perl code, but can't see what the options are. Thanks Gordon For easy reference, here is the help output from rcmd build: Usage: Rcmd build [options] pkgdirs Build R packages from package sources in the directories specified by pkgdirs. Options: -h, --help print short help message and exit -v, --version print version info and exit --force force overwriting of (index) files --no-vignettes do not reb...
2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
...: src/scripts/build.in =================================================================== --- src/scripts/build.in (revision 43045) +++ src/scripts/build.in (working copy) @@ -171,6 +171,24 @@ $log->message("removing junk files"); find(\&unlink_junk_files, $pkgdir); + chdir(dirname($pkgdir)); + my $filename = "${intname}_" . $description->{"Version"} . ".tar"; + my $filepath = &file_path($startdir, $filename); + R_system(join(" ", + ("$tar chf", + &am...
2002 Dec 16
1
Creating libraries: Cannot make help
...*** Installation of <lib-name> failed *** And so while the library files work, there is no help available. Without knowing Perl or anything, I seem to have found the line in the INSTALL script that causes things to die (line break added): if(system("make -C $R_HOME/src/gnuwin32 PKGDIR=$pkgdir RLIB=$library SAVE=$save $helpflags $makecmd-$pkgname")){ If I run this command in a Cygwin window, expanding the variable names, I get this (abbreviated, editted) message: ---------- Making package <lib-name> ------------ mkdir -p d:/Programs/R/rw1061/library/<lib...
2000 Mar 31
1
building a package
.../li brary \ -f /R/rw1000/src/gnuwin32/MakePkg ---------- Making package acepack ------------ mkdir -p /R/rw1000/library/acepack cp -r ./DESCRIPTION ./INDEX ./TITLE ./ACE.DOC ./MAN ./README ./README.ACE ./ README~1.AVA ./SRC /R/rw1000/library/acepack/ /R/TOOLS/MAKE.EXE -C ./help RHOME=/R/rw1000 PKGDIR=/R/rw1000/src/library RLIB=/R/rw1000/library help-acepack perl build.help -txt -html -example -latex /R/rw1000/src/library/acepack /R/rw1 000/library >>> Building/Updating help pages for package `acepack' Formats: text html latex example /R/TOOLS/MAKE.EXE -C ./help RHOME=/R/rw10...
2001 Feb 23
0
cross building
...yan/src/R-1.2.1/src/gnuwin32$ echo $PATH /home/jyan/cross-tools/bin:/home/jyan/cross-tools/i386-mingw32msvc/bin: /usr/lib:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games Following the instructions, I was able to go through the following: jyan at ludwig:/a3/jyan/src/R-1.2.1/src/gnuwin32$ make PKGDIR=/home/jyan RLIB=/home/jyan/Rwinlibs STAMP=NO pkg-gee make DLLNM= EXTRADOCS= \ -C /home/jyan/gee PKG=gee RHOME=/a3/jyan/src/R-1.2.1 RLIB=/home/jyan/Rwinlibs \ -f /a3/jyan/src/R-1.2.1/src/gnuwin32/MakePkg make[1]: Entering directory `/a3/jyan/gee' ---------- Making package gee ------------ m...
2023 Jun 27
2
Correct use of tools::R_user_dir() in packages?
tools::R_user_dir() provides configurable directories for R packages to write persistent information consistent with standard best practices relative to each supported operating systems for applications to store data, config, and cache information respectively. These standard best practices include writing to directories in the users home filespace, which is also specifically against CRAN policy.
2002 Mar 07
0
OpenSSH-3.1p1 AIX packaging bug [patch]
...requires for the 'info' part of the package. ! VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` ! BFFVERSION=`echo $VERSION | sed 's/p/./g'` echo "Building BFF for $PKGNAME $VERSION (package version $BFFVERSION)" PKGDIR=package --- 15,34 ---- PATH=$PATH:`pwd` # set path for external tools export PATH ! # ! # Extract common info requires for the 'info' part of the package. ! # AIX requires 4-part version numbers ! # ! VERSION=`grep SSH_VERSION ../../version.h | sed -e 's/.*_\([0-...
2003 Sep 28
0
(fwd) package inst directory copied too early? (PR#4329)
This bug appears in the current Windows build; I don't know if it applies generally. Duncan Murdoch On Fri, 26 Sep 2003 15:25:57 +1200 (NZST), Ray Brownrigg <ray@mcs.vuw.ac.nz> wrote: >If you INSTALL (Rcmd INSTALL) or cross-compile >(make PKGDIR=/pkg RLIB=/library pkg-mypkg) the copying of the inst >directory seems to happen very early in the process, *before anything is >"made"*. > >Thus if the make actually contributes anything to the inst directory, >those items do not get copied across. For example: > >c...
2003 Sep 28
0
(fwd) package inst directory copied too early? (PR#4330)
This bug appears in the current Windows build; I don't know if it applies generally. Duncan Murdoch On Fri, 26 Sep 2003 15:25:57 +1200 (NZST), Ray Brownrigg <ray@mcs.vuw.ac.nz> wrote: >If you INSTALL (Rcmd INSTALL) or cross-compile >(make PKGDIR=/pkg RLIB=/library pkg-mypkg) the copying of the inst >directory seems to happen very early in the process, *before anything is >"made"*. > >Thus if the make actually contributes anything to the inst directory, >those items do not get copied across. For example: > >c...
2004 Sep 20
0
RE: problem with R CMD build--FIXED (PR#7241)
...nd TEMP) to > C:\Temp, > and try to run the whole thing from a "DOS" Cmd.exe window. Here it is: D:\dirk\bands\implementation>set TMPDIR=d:\tmp D:\dirk\bands\implementation>echo %TMPDIR% d:\tmp D:\dirk\bands\implementation>r CMD BUILD --help Usage: R CMD BUILD [options] pkgdirs Build R packages from package sources in the directories specified by pkgdirs. Options: -h, --help print short help message and exit -v, --version print version info and exit --force force overwriting of INDEX file --no-vignettes do not rebuil...
2006 Jul 31
1
building windows packages under wine/linux and cross-compiling.
...on posix-on-win32-on-posix currently doesn't work. (http://wiki.winehq.org/CygwinSupport) Cross-compiling: The instruction in R/src/gnuwin32/README.packages essentially works, with one missing detail: "R_EXE=/usr/bin/R" is also needed. Thus it should be: make R_EXE=/usr/bin/R PKGDIR=/mysources RLIB=/R/win/library \ pkg-mypkg make P_EXE=/usr/bin/R KGDIR=/mysources RLIB=/R/win/library \ pkgcheck-mypkg Hin-Tak Leung
2014 May 07
1
Problem running checks after building R-patched
.../Examples/tools-Ex.Rout.fail are > ### ** Examples > > gVigns <- pkgVignettes("grid") > ## Don't show: > `%=f=%` <- function(a, b) normalizePath(a) == normalizePath(b) > with(gVigns, + stopifnot(engines == "utils::Sweave", + pkgdir %=f=% system.file(package="grid"), + dir %=f=% system.file(package="grid", "doc"), + (n. <- length(docs)) >= 12, # have 13 + n. == length(names), n. == length(engines), + length(msg) == 0) ) # as...
1999 Dec 17
1
R 0.90.1 for Windows
...R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make command). RLIBS is no longer accepted for the library directory: use R_LIBS (which has been preferred since 0.65.0). The code to set the `cra' parameter for a windows() device (and hence the base character size of symbols) is mor...
1999 Dec 17
1
R 0.90.1 for Windows
...R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make command). RLIBS is no longer accepted for the library directory: use R_LIBS (which has been preferred since 0.65.0). The code to set the `cra' parameter for a windows() device (and hence the base character size of symbols) is mor...