Re: [R-pkg-devel] What to do when you can't reproduce CRAN R CMD check unit test failures?

2016-05-12 Thread boB Rudis
Of course the Great And Powerful Ushey did the super-smart thing and actually tested the code locally. Apologies for not thinking of doing the same on my end (though I'm also OS X): > getwd() [1] "/Users/bob/Development/pathological" > test() Loading pathological Loading requi

Re: [R-pkg-devel] What to do when you can't reproduce CRAN R CMD check unit test failures?

2016-05-12 Thread Martyn Plummer
On Thu, 2016-05-12 at 01:09 -0500, Kevin Ushey wrote: > Is it possible that `getwd()` is reporting something on the CRAN > build > servers that your `decompose_path()` doesn't handle? For example, > your > tests fail for me if I run them while in the root directory (on OS > X). It does not work on

[R-pkg-devel] Object getter, Am I doing this right?

2016-05-12 Thread Glenn Schultz
All, I am creating getters and setters for my package which uses S4. To research getters and setters, I have been looking at the bio conductor website and documentation provided therein. I came up with the below as a getter for the object PassThrough. This works PrepaidPrin(PassThrough).

Re: [R-pkg-devel] develop package with lots of tcltk in it

2016-05-12 Thread Dirk Eddelbuettel
On 11 May 2016 at 12:56, Dalthorp, Daniel wrote: | I have an R/tcltk application that is designed for use primarily by people | who don't know R and don't care to learn much about it. I'd like users to | be able to use the software with a bare minimum interaction with R. | | Although the applicat

Re: [R-pkg-devel] develop package with lots of tcltk in it

2016-05-12 Thread Dalthorp, Daniel
Thanks, Dirk. Sorry for my lack of clarity. I do want to create a package and have created one and it works, but the structure is awkward. I'm hoping someone can help me straighten out the organization. In package/R folder, I have several files that define standalone functions that crunch data. I

Re: [R-pkg-devel] develop package with lots of tcltk in it

2016-05-12 Thread Seth Wenchel
> > "For users who don't know anything about R, this solution may work fine. > But > for users that do know R, it is unsatisfactory...program changes the > working directory, fills it with hundreds of alien-looking functions and > data, and crashes if working directory is changed or variables are m