Displaying 20 results from an estimated 200 matches similar to: "package.skeleton.S4"
2008 Aug 07
1
package.skeleton does invalide regular name, bis... (PR#12020)
Hi the list,
I guess I find an other bug (the first one is at the end off this mail)
in package.skeleton. It occurs when we give as code_file some file that
are not in the current directories.
If we give a single file to code_file (like code_file=3D"riri/fifi.R"),
it does not reconize fifi.R as a regular name and change it to
riri/zfifi.R
If we give several file to code_file (like
2013 Jun 04
0
bug in package.skeleton(), and doc typo.
Hi all,
I think there's a bug in package.skeleton(), when using the environment
argument:
Example:
env <- new.env()
env$hello <- function() { print('hello') }
package.skeleton(name='mypkg', environment=env)
==> does not create any source in mypkg/R/*
By the way, package.skeleton(name='mypkg', environment=env, list="hello")
does not work either.
2008 Jul 15
1
package.skeleton does invalide regular name...
Hi the list,
I am using package.skeleton on a file that has a very classic name, but
package.skeleton detect it as a invalid name :
--- 8< -------
package.skeleton(name="packClassicBis",code_files="./packClassic/R/progClassic.R")
Cr?ation des r?pertoires...
Cr?ation de DESCRIPTION...
Cr?ation de 'Read-and-delete-me'...
Recopiage des fichiers de code...
Cr?ation
2009 Nov 25
1
problem in building an R package
i am trying to build an R package and submit to CRAN.
i am using -
package.skeleton(name="xxzz", code_files = "H:\xxzz.R")
to build package xxzz.
---------------------------
The code above generates 'xxzz' folder.
It seems that I have to manually edit the files generated in xxzz folder (to
add titles, authors, etc)
--------------------------
But when I re-run -
2011 Jun 09
1
Permission denied in Windows 7
I'm using package.skeleton() windows 7, 64 bit.
When I try to specify the code_files
package_skeleton(....code_files = " some directory")
I get a warning that that the connection cannot be opened and
I get a Permissions denied error.
I'm running R as admin and I've given everybody full permissions on the
folder.
What am I missing
[[alternative HTML version deleted]]
2011 Dec 16
2
package.skeleton()
Hi--
I'm creating an R package, I've read through "Writing R Extensions" and the
package.skeleton() R page-- and I'm still running into a little confusion.
I would greatly appreciate any advice you can provide.
Where do I run my following line of code from?:
> package.skeleton(name = "a", code_files = "EsetObject.r"
I'm currently running it from
2011 Jun 09
1
package.skeleton() does not create 'data' folder
Hi again, yesterday I mailed this query however I could not see this
on the mail list. Therefore, I am reposting it again.
I was using package.skeleton() function to create the
skeleton of my package in windows. Here is my attempt:
rm(list = ls())
setwd("F:/R_PackageBuild")
package.skeleton("trial1", namespace = TRUE, code_files =
"F:/R_PackageBuild/trial.r")
In
2008 Apr 13
1
R 2.7 package.skeleton
Hi the devel list
I am testing package.skeleton in R 2.7 (download today). I get an error
that I do not understand. I guess it is not an error from my code since
I have no probleme when I source it. So is it a error in
package.skeleton?
Here is my code :
--- 8< ------ File essai.r -------------
setClass(
Class="ClusterizLongData",
representation=representation(
2009 Jan 30
2
error message with roxygen
Hello useRs,
I'm trying to use the Roxygen package.
Here my code file :
#' A packge to check Roxygen's sanity
#' @name helloRoxygen-package
#' @docType package
NA
And my R code to generate the package :
library(roxygen)
package.skeleton("helloRoxygen", code_files = "roxy.r", force = T)
roxygenize("helloRoxygen", "helloRoxygen",
2009 Oct 26
2
What is the most efficient practice to develop an R package?
I am reading Section 5 and 6 of
http://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf
It seems that I have to do the following two steps in order to make an
R package. But when I am testing these package, these two steps will
run many times, which may take a lot of time. So when I still develop
the package, shall I always source('linmod.R') to test it. Once the
code in
2018 Feb 23
0
Remove "Duplicate" emails (and documentation update)
On Fri, 23 Feb 2018, @lbutlr wrote:
> $ doveadm -f table fetch -u kremels 'hdr.message-id guid uid
> hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if
> (cnt[$1]==2) print prev[$1]; print} {prev[$1]=$0}' |grep -E "[0-9] +$"
> |awk '{print "doveadm expunge -u kremels MAILBOX-GUID "$2" UID "$3}?
I was unaware of the
2007 Nov 25
0
[LLVMdev] OCaml
> On Sunday 25 November 2007 03:42, Christopher Lamb wrote:
>> Try this google query. I know there's been some discussion/work on
>> OCaml and LLVM.
>>
>> site:lists.cs.uiuc.edu/pipermail/llvmdev OCaml interface
>
> I just rediscovered the OCaml bindings in bindings/ocaml (rather than the
> ones
> in test/Bindings/OCaml!). They do indeed look quite
2007 Nov 25
2
[LLVMdev] OCaml
On Sunday 25 November 2007 03:42, Christopher Lamb wrote:
> Try this google query. I know there's been some discussion/work on
> OCaml and LLVM.
>
> site:lists.cs.uiuc.edu/pipermail/llvmdev OCaml interface
I just rediscovered the OCaml bindings in bindings/ocaml (rather than the ones
in test/Bindings/OCaml!). They do indeed look quite complete but I can't find
any examples
2007 Nov 25
2
[LLVMdev] OCaml
On Sunday 25 November 2007 05:28, Aaron Gray wrote:
> > On Sunday 25 November 2007 03:42, Christopher Lamb wrote:
> >> Try this google query. I know there's been some discussion/work on
> >> OCaml and LLVM.
> >>
> >> site:lists.cs.uiuc.edu/pipermail/llvmdev OCaml interface
> >
> > I just rediscovered the OCaml bindings in bindings/ocaml
2020 Feb 18
2
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
I am trying to create a class union of class unions to facilitate method
dispatch. When I execute code in the global environment, everything acts as
expected, however when I put the same code in the context of a package,
selectMethod can no longer find the correct method. This first block below
puts the code in the context of a package:
fn <- "codefile.R"
writeLines(
c(
2012 Apr 03
1
Package seems to be present but library don't find it
Hi,
I try to make my first package? The HelloWorld.R file is:
#### HelloWorld.R ####
#' showHello est une fonction R permettant d'afficher le message
#' "Hello World!" sur la console.
#' @title la fonction showHello()
showHello <-function(){
cat("Hello World!\n")
}
I use the following procedure to get the tar:
# set the working directory where the file is
2009 Jul 09
1
Bug in package.skeleton, R 2.9.0?
Dear all,
I am using package.skeleton to build a small packages of misc function
for personal use. I have recently discovered that the option
force=TRUE doesn't seem to do what is meant to do. Here's what I'm
doing:
> setwd("/Users/danielk/Documents/R/packages/dk")
> files <- paste("codebase", dir("codebase", pattern=".R"),
2010 May 10
1
Rd files must have a non-empty \title
Hello everybody,
I'm trying to install a package I have built. This package contains three
scripts with various functions (S3 as well as S4 classes)
I run at first the package.skeleton command with:
> package.skeleton("affyAnalysis", namespace=TRUE, code_files =c("defS3.R",
"defS4.R", "qc.R"))
affyAnalysis is the name of the supposed package and
2018 Feb 23
3
Remove "Duplicate" emails
In a quest to remove ?duplicate? messages sent to both me and lists I subscribe to I came up with this, which I think should clean out my Archive folder, but I?ve been unable to get it to work for scanning all on my list-user email.
$ doveadm -f table fetch -u kremels 'hdr.message-id guid uid hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if (cnt[$1]==2) print
2020 Feb 19
2
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
Thanks, I'll look into it.
On Tue, Feb 18, 2020 at 8:32 AM Ezra Tucker <ezztucker at gmail.com> wrote:
>
> Hi Robert,
>
> This looks like a bug to me (tested in R 3.6.2 on Windows), f(new("a"))
> should return "hi!". I'll add that this DOES work properly in 3.6.1
> which leads me to suspect this could be due to the subtle change in the
> way