search for: packagedescription

Displaying 20 results from an estimated 203 matches for "packagedescription".

2017 Jun 27
0
suggestion to fix packageDescription() for Windows users
...nk of Rich's > patch. If it is acceptable, I can spend time that I was > going to look at it this week on another bug. It is a bit kludgy (*) of course, but I confirm it solves the problem in a "robust" way. *) Of course I'd hoped you'd find why the underlying packageDescription() function is not "getting the right thing" in this case directly -- in Windows only in some locales -- and provide a Windows-only patch for the underlying problem there, rather than the workaround patch in citation(). The patch does solve the problem at hand, alright, so thank you, Rich...
2017 Jun 17
2
suggestion to fix packageDescription() for Windows users
...s://CRAN.R-project.org/package=readr}, } #--------------- This appears to be an OS-dependent encoding issue. The citation function does not take an encoding argument, so it's not possible to set the encoding at the point where that function is used. The citation function working with the packageDescription function, which does have an encoding argument, but the default is not useful for Windows when there is an encoding set in the DESCRIPTION of the package (in this case UTF-8). We can set the encoding argument in packageDescription so it works in Windows to give the authors as expected, but it i...
2017 Jun 17
0
suggestion to fix packageDescription() for Windows users
...readr}, > } > #--------------- > > This appears to be an OS-dependent encoding issue. The citation function > does not take an encoding argument, so it's not possible to set the > encoding at the point where that function is used. The citation function > working with the packageDescription function, which does have an > encoding argument, but the default is not useful for Windows when there > is an encoding set in the DESCRIPTION of the package (in this case UTF-8). > > We can set the encoding argument in packageDescription so it works in > Windows to give the authors...
2004 Oct 28
1
Error with package update
I received the following error when I attempted to update my packages: updating HTML package descriptions Warning messages: 1: DESCRIPTION file of package 'file28862' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 2: number of columns of result not a multiple of vector length (arg 2) in: rbind(retval, c(p, lib, desc)) 3: DESCRIPTION file of package 'file7460' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 4: number of columns of...
2017 Jun 26
3
suggestion to fix packageDescription() for Windows users
...ovske <nsosnov at microsoft.com>; Duncan Murdoch <murdoch.duncan at gmail.com>; Andrie de Vries <apdevries at gmail.com> Cc: Ben Marwick <bmarwick at uw.edu>; R-devel Mailing List (r-devel at r-project.org) <r-devel at r-project.org> Subject: RE: [Rd] suggestion to fix packageDescription() for Windows users The following patch is not the most elegant, but it restores the Authors when "LC_CTYPE" is set to either "Chinese" or "Arabic": > Sys.setlocale("LC_CTYPE", "Chinese") [1] "Chinese (Simplified)_China.936" > cita...
2017 Jun 17
0
suggestion to fix packageDescription() for Windows users
...>>> >>> This appears to be an OS-dependent encoding issue. The citation function >>> does not take an encoding argument, so it's not possible to set the >>> encoding at the point where that function is used. The citation function >>> working with the packageDescription function, which does have an >>> encoding argument, but the default is not useful for Windows when there >>> is an encoding set in the DESCRIPTION of the package (in this case >>> UTF-8). >>> >>> We can set the encoding argument in packageDescription so...
2017 Jun 17
3
suggestion to fix packageDescription() for Windows users
...t; #--------------- >> >> This appears to be an OS-dependent encoding issue. The citation function >> does not take an encoding argument, so it's not possible to set the >> encoding at the point where that function is used. The citation function >> working with the packageDescription function, which does have an >> encoding argument, but the default is not useful for Windows when there >> is an encoding set in the DESCRIPTION of the package (in this case >> UTF-8). >> >> We can set the encoding argument in packageDescription so it works in >>...
2017 Jun 24
0
suggestion to fix packageDescription() for Windows users
...=================================================== --- citation.R (revision 72852) +++ citation.R (working copy) @@ -1162,8 +1162,11 @@ if(dir == "") stop(gettextf("package %s not found", sQuote(package)), domain = NA) - meta <- packageDescription(pkg = package, - lib.loc = dirname(dir)) + args <- list(pkg = package, lib.loc = dirname(dir)) + if (!is.na(enc <- packageDescription(pkg = package, lib.loc=dirname(dir), field="Encoding"))) + args$enc <- enc + meta <- do.c...
2017 Jun 23
0
suggestion to fix packageDescription() for Windows users
...citation function > does not take an encoding argument, so it's not possible > to set the > encoding at the point where that function is used. The > citation function > working with the packageDescription function, which does > have an > encoding argument, but the default is not useful for > Windows when there > is an encoding set in the DESCRIPTION of the package (in > this case > UTF-8...
2017 Jun 23
2
suggestion to fix packageDescription() for Windows users
...--Original Message----- From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of Duncan Murdoch Sent: Friday, June 23, 2017 5:16 AM To: Andrie de Vries <apdevries at gmail.com> Cc: r-devel at r-project.org; Ben Marwick <bmarwick at uw.edu> Subject: Re: [Rd] suggestion to fix packageDescription() for Windows users On 18/06/2017 5:57 AM, Andrie de Vries wrote: > Hi, Duncan > > i have forwarded this thread to Nathan, who promised to look into it. Any progress on this? Duncan Murdoch > > Andrie > > On 17 Jun 2017 17:26, "Duncan Murdoch" <murdoch.duncan a...
2017 Jun 18
2
suggestion to fix packageDescription() for Windows users
...;>>> This appears to be an OS-dependent encoding issue. The citation function >>>> does not take an encoding argument, so it's not possible to set the >>>> encoding at the point where that function is used. The citation function >>>> working with the packageDescription function, which does have an >>>> encoding argument, but the default is not useful for Windows when there >>>> is an encoding set in the DESCRIPTION of the package (in this case >>>> UTF-8). >>>> >>>> We can set the encoding argument in pa...
2017 Jun 29
1
Windows iconv() "failure" in certain locales
...gt;>>> Uwe Ligges <ligges at statistik.tu-dortmund.de> >>>>> on Wed, 28 Jun 2017 18:45:59 +0200 writes: > On 27.06.2017 17:36, Martin Maechler wrote: >> This is a continuation of the R-devel thread with subject >> "suggestion to fix packageDescription() for Windows users" : >> >> As I said there, a patch should rather address the underlying >> problem in packageDescription rather than a kludgy workaround >> patch for citation(). >> (For that same reason, Ben Marwick proposed to fix &gt...
2017 Oct 03
2
R CMD Rd2pdf and macros
..."man/mpra-package.Rd", encoding = "unknown", fragment = FALSE, : man/mpra-package.Rd:6: unknown macro '\packageTitle' Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment = FALSE, : man/mpra-package.Rd:9: unknown macro '\packageDescription' Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment = FALSE, : man/mpra-package.Rd:15: unknown macro '\packageAuthor' Warning in parse_Rd("man/mpra-package.Rd", encoding = "unknown", fragment = FALSE, : man/mpra-packag...
2017 Oct 04
1
R CMD Rd2pdf and macros
...X Error : mpra/man/mpra-package.Rd:6: file './DESCRIPTION' does not exist whereas you (Kurt) reports that this works on zTree. When I do R CMD Rd2pdf mpra/man I get - a pdf produced - warnings about missing macros This is for a package with a PKGNAME-package.Rd man page containing \packageDescription, \packageAuthor, \packageTitle, \packageMaintainer, \doi R-versions: R version 3.4.2 Patched (2017-10-04 r73462) -- "Short Summer" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin16.7.0 (64-bit) R Under development (unstable) (2017-10-04 r7346...
2009 Mar 31
2
Wishlist: optional svn-revision number tag in package DESCRIPTION file
...uot; and "LastChangedRevision" would clearly do (even without Makefile / configure ...) But as package development under svn (especially under r-forge) is just so frequent, it would be nice to have a recommended format that could be read out in a standardized form, say by a function like packageDescription from package 'utils':-) I would vote for optional extra tags "LastChangedDate" and "LastChangedRevision". I have attached a commented and correspondingly modified version of packageDescription() --- if you find it helpful feel free to integrate it to package 'utils...
2017 Jun 27
3
Windows iconv() "failure" in certain locales
This is a continuation of the R-devel thread with subject "suggestion to fix packageDescription() for Windows users" : As I said there, a patch should rather address the underlying problem in packageDescription rather than a kludgy workaround patch for citation(). (For that same reason, Ben Marwick proposed to fix packageDescription() rather than the symptom seen in citation().) It...
2010 Nov 10
1
installed.packages Error: subscript out of bounds
...NDEX drwxr-xr-x+ 1 biocbuild2 root 0 2010-11-08 14:11 data drwxr-xr-x+ 1 biocbuild2 root 0 2010-11-08 14:11 help drwxr-xr-x+ 1 biocbuild2 root 0 2010-11-08 14:11 html Then from R: > library(DLBCL) Error in library(DLBCL) : there is no package called 'DLBCL' > packageDescription("DLBCL") Error in packageDescription("DLBCL") : DESCRIPTION file of package 'DLBCL' is corrupt > installed.packages() Error: subscript out of bounds I have no idea how this DESCRIPTION file ended up empty. I've never seen this before. Probably a ver...
2009 Jul 18
7
Question on qplot
Hi, suppose I have following codes : library(zoo); library(ggplot2) dat <- matrix(rnorm(500*2), 500); dat <- zooreg(dat, start = as.Date("01/01/01", "%m/%d/%y"), frequency=1); plot(dat) head(dat); month.no <- format(index(dat), "%m"); dat1 <- cbind(coredata(dat), as.numeric(month.no)) x <- dat1[,1]; y <- dat1[,2]; z <- dat1[,3] Now I draw a
2008 Aug 27
1
SparseM
...am trying to load the package SparseM. It seems that I have successfully installed SparseM (version 0.78), but I did not succeed in loading the SparseM package into R 2.7. Does anybody know a trick for loading SparseM? Thanks in advance, Heike > library(SparseM,lib.loc=my.lib.loc) Error in packageDescription(pkg)$Version : $ operator is invalid for atomic vectors In addition: Warning message: In packageDescription(pkg) : no package 'SparseM' was found Error : .onLoad failed in 'loadNamespace' for 'SparseM' Error: package/namespace load failed for 'SparseM' > sessi...
2018 May 24
2
Problem with adding a raster and a brick
...arch x86_64 os linux-gnu system x86_64, linux-gnu status major 3 minor 4.2 year 2017 month 09 day 28 svn rev 73368 language R version.string R version 3.4.2 (2017-09-28) nickname Short Summer > > packageDescription("raster") Package: raster Type: Package Title: Geographic Data Analysis and Modeling Version: 2.6-7 Date: 2017-11-12 > packageDescription("ncdf4") Package: ncdf4 Version: 1.16 Date: 2017-04-01 [[alternative HTML version deleted]]