Displaying 20 results from an estimated 2000 matches similar to: "Blank lines in DESCRIPTION"
2011 Oct 25
2
Building package/DESCRIPTION file not existing?
Hello useRs
I am trying to build a package for personal use and 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
2005 Jan 27
7
getting package version inside .First.lib
Greetings -
Is it possible, inside .First.lib,
to find out the version number of the package that is being loaded?
If only one version of the package has been installed,
we could scan the DESCRIPTION file, something like
.First.lib <- function(lib, pkg) {
library.dynam("spatstat", pkg, lib)
dfile <- system.file("DESCRIPTION", package="spatstat")
2005 Apr 24
1
Collade doesn't work for more than 256 files!
Last week I managed to automatically wrap over 600 C++ classes into R in
less than 24 hours. It was not because I am an expert in R programming, it
was simply because I wrapped the classes as S3. Not only the wrapping
process was easy, but also installation process and loading the final
library was fast too.
Now I am also trying to do the wrapping into the 'modern' S4 classes. This
2005 Jul 08
3
fail in adding library in new version.
Dear all,
I really appreciate your help. I think I have a little advancement. ^_^
When I enter the Dos environment, at first, into the D:\>, I type the following code:
cd Program Files\R\rw2011\
bin\R CMD install /example
"example" is in the d:\, which include the R folder and "DESCRIPTION" file, But I wrote nothing in the "DESCRIPTION" file. Actually, I
2016 Jun 14
5
new function to tools/utils package: dependencies based on DESCRIPTION file
Hi all,
Packages tools and utils have a lot of useful stuff for R developers.
I find one task still not as straightforward as it could. Simply to
extract dependencies of a package from DESCRIPTION file (before it is
even installed to library). This would be valuable in automation of CI
setup in a more meta-data driven way.
The simple function below, I know it is short and simple, but having
it to
2016 Jun 16
3
new function to tools/utils package: dependencies based on DESCRIPTION file
Dear Joris,
So it does looks like the proposed function makes a lot sense then, isn't it?
Cheers,
Jan
On 16 June 2016 at 08:37, Joris Meys <jorismeys at gmail.com> wrote:
> Dear Jan,
>
> It is unavoidable to have OS and R dependencies for devtools. The building
> process for packages is both OS and R dependent, so devtools has to be too
> according to my understanding.
2016 Nov 17
1
new function to tools/utils package: dependencies based on DESCRIPTION file
Hi Michael,
Are you willing to accept patch for this? I'm already using this and
few related functions for a while, it plays well. I could wrap it as
patch to utils, or tools?
Best,
Jan
On 16 June 2016 at 14:00, Michael Lawrence <lawrence.michael at gene.com> wrote:
> I agree that the utils package needs some improvements related to
> this, and hope to make them eventually. This
2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi,
hres <- hclust(smatr,method="single")
hresd<-as.dendrogram(hres)
as.dendrogram(hres)
`dendrogram' with 2 branches and 380 members total, at height 2514.513
plot(hresd,leaflab="none") #<-error here.
#the plotted dendrogram is incomplete. The x axis is not drawn.
#The interested reader can download the
save(hresd,file="hres.rda")
#from the
2011 Oct 27
2
Error installing packages
Hello,
I got an error if I try to install a package. For example package emg:
R CMD check emg
Everything is fine.
R CMD INSTALL emg
I got the following errors:
* installing to library 'c:/R_2_13_1/library'
* installing *source* package 'emg' ...
Error in file_path_as_absolute(dfile) :
Datei './DESCRIPTION' existiert nicht
ERROR: installing package DESCRIPTION failed fo
2015 Sep 21
5
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Hi,
Note that one significant change to read.dcf() that happened since R
3.0.2 is the addition of support for arbitrary long lines (commit
63281), which never worked:
dcf <- paste(c("aa: ", rep(letters, length.out=10000)), collapse="")
writeLines(dcf, "test.dcf")
nchar(read.dcf("test.dcf"))
# aa
# [1,] 8186
The culprit being line
2009 Mar 31
2
Wishlist: optional svn-revision number tag in package DESCRIPTION file
Hi,
just a little wish :
Could we have one (or maybe more) standardized optional tag(s)
for package DESCRIPTION files to cover svn revision info?
This would be very useful for bug reporting...
I know that any developer is already free to append corresponding lines
to DESCRIPTION files to do something of this sort --- e.g. lines like
LastChangedDate: {$LastChangedDate: 2009-03-31 $}
2015 Sep 21
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Here's an update:
I checked the ChangeLog for R, and it seems like readDCF was changed
in 3.0.2. I went on a whim and copied src/main/dcf.c from R 2.15.3
over to 3.2.2, and R compiled fine and install.packages now work for
me.
This is probably not ideal, but it at least makes R usable on AIX for
me. Would definitely like to help figure out what's wrong with the
new dcf.c on AIX.
2010 May 05
2
readLines with space-delimiter?
Hi,
I am reading a large space-delimited text file into R (41 columns and many
rows) and need to do run each row's values through another R object and then
write to another text file. So, far using readLines and writeLines seems to
be the best bet. I've gotten the data exchange working except each row is
read in as one 'chunk', meaning the row has all values between two quotes
2012 Nov 07
2
Comments in the DESCRIPTION file
Hi all,
Is it possible to add comments in the DESCRIPTION file?
Sincerely
Christophe
--
Christophe Genolini
Ma?tre de conf?rences en bio-statistique
Vice pr?sident Communication interne et animation du campus
Universit? Paris Ouest Nanterre La D?fense
2011 Aug 22
1
Reading DESCRIPTION files to create dependency diagram
Hi
I want to create a dependence diagram of a subset of the packages on CRAN
and would therefore like to read the DEACRIPTION files into a list. The list
should be as follow for each package:
- package name: list
- Package: character
- Version: character
- Date: character
- ...
- Depends: character vector
- Suggests: character vector
- ...
I downloaded all packages and extracted
2006 Jul 13
1
writeForeignSAS and potential extensions
Dear R-devel,
I've made some potential extensions to writeForeignSAS
in 'foreign' that I wanted to pass along if anyone is
interested. I've attached the diff -u output against
the version found in foreign_0.8-15 and an .R file
with my changes. (In this .R file, the function is named
writeForeignSAS7 to simplify testing/comparisons.)
I've tried to alter the current
2020 Feb 03
2
RFC: Add a preprocessor to yaml2obj (and other YAML tools)
I am adding -D k=v to yaml2obj, similar to clang -D. This makes it easy
to generate {32-bit,64-bit} x {big-endian,little-endian} tests.
--- !ELF
FileHeader:
Class: ELFCLASS[[BITS]]
Data: ELFDATA2[[ENCODE]]
Type: ET_DYN
Machine: EM_X86_64
# RUN: yaml2obj -D BITS=32 -D ENCODE=LSB %s -o %t.32le
# RUN: yaml2obj -D BITS=32 -D ENCODE=MSB %s -o %t.32le
# RUN: yaml2obj
2002 Dec 04
0
Continuous X Display problems on AIX
Hello
Currently i'm using AIX 4.3.3. I've installed OpenSSH version 2.9p1 which by
the way works with the
way ive hacked it together to get X Displays working correctly.
I can ssh into the system as myself export my display back no problem.
I can ssh to a system as myself and ( su - userid ) and export my display
back but i had
to hack this together in order to get it to work.
I
2002 Dec 04
1
AIX - X displays forwarding problem with su
Hey everyone
Currently i'm using AIX 4.3.3. I've installed OpenSSH version 2.9p1 which by
the way works with the
way i've hacked it together to get X Displays working correctly.
I can ssh into the system as myself export my display back no problem.
I can ssh to a system as myself and ( su - any_userid ) and export my
display back but i had
to hack this together in order to get
2006 Jul 20
2
DESCRIPTION and PACKAGES files.
Greetings; I'm working on translating the heirarchy of R packages into
the Gentoo Ebuild environment, currently working from a 2.3.1 install.
There are several data which it would be nice to see provided
alongside the existing output of available.packages; at the moment I
think I'm going to have to get License and SystemRequirements out of
individual package DESCRIPTIONs.
More generally,