Displaying 20 results from an estimated 9000 matches similar to: "new function to tools/utils package: dependencies based on DESCRIPTION file"
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
2016 Jun 16
0
new function to tools/utils package: dependencies based on DESCRIPTION file
I agree that the utils package needs some improvements related to
this, and hope to make them eventually. This type of feedback is very
helpful.
Thanks,
Michael
On Thu, Jun 16, 2016 at 1:42 AM, Jan G?recki <J.Gorecki at wit.edu.pl> wrote:
> Dear Joris,
>
> So it does looks like the proposed function makes a lot sense then, isn't it?
>
> Cheers,
> Jan
>
> On 16
2016 Jun 16
0
new function to tools/utils package: dependencies based on DESCRIPTION file
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.
Cheers
Joris
On 14 Jun 2016 18:56, "Jan G?recki" <J.Gorecki at wit.edu.pl> wrote:
Hi Thierry,
I'm perfectly aware of it. Any idea when devtools would be shipped as
a base R package, or
2016 Jun 14
0
new function to tools/utils package: dependencies based on DESCRIPTION file
Dear Jan,
Similar functionality is available in devtools::dev_package_deps()
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
To call in the statistician after the experiment is done may be no more
than asking
2022 Oct 29
1
tools:: extracting pkg dependencies from DCF
Thank you Gabriel,
Just for future readers. Below is a base R way to address this common
problem, as instructed by you (+stopifnot to suppress print).
Rscript -e 'stopifnot(file.copy("DESCRIPTION",
file.path(tdir<-tempdir(), "PACKAGES")));
db<-available.packages(paste0("file://", tdir));
2016 Apr 02
3
Suggested dependencies in context of R CMD check
Dear R team,
Are suggested dependencies mandatory in context of `R CMD check` when
using env var `_R_CHECK_FORCE_SUGGESTS_=FALSE`?
Suggested dependencies are nice because are optional.
But that feature often isn't valid when trying to run `R CMD check` on them.
I would like to use `export _R_CHECK_FORCE_SUGGESTS_=FALSE`, which
according to the comment in `tools/R/check.R`:
> The
2016 Apr 04
1
Suggested dependencies in context of R CMD check
Jan and Hadley,
There's also the issue of tests, vignettes, or examples requiring Suggested
packages (one of the core applications of Suggests, in fact). These are all
checked by R CMD check, so to ensure any package which should pass check
would do so without suggested packages installed would require turning all
of those checks off, which takes quite a few of the teeth out of R CMD
check
2016 Apr 04
2
Suggested dependencies in context of R CMD check
On 4 April 2016 at 07:25, Hadley Wickham wrote:
| On Sat, Apr 2, 2016 at 5:33 AM, Jan G?recki <J.Gorecki at wit.edu.pl> wrote:
|
| In principle, I believe a package should pass R CMD check if no
| suggested packages are installed. However, since this is not currently
The relevant manual says
The 'Suggests' field uses the same syntax as 'Depends' and lists
packages
2015 Aug 25
3
Issues with libcurl + HTTP status codes (eg. 403, 404)
Hi Martin,
Indeed it does (and I should have confirmed myself with R-patched and
R-devel before posting...)
Thanks, and sorry for the noise.
Kevin
On Tue, Aug 25, 2015, 13:11 Martin Morgan <mtmorgan at fredhutch.org> wrote:
> On 08/25/2015 12:54 PM, Kevin Ushey wrote:
> > Hi all,
> >
> > The following fails for me (on OS X, although I imagine it's the same
>
2022 Oct 13
1
tools:: extracting pkg dependencies from DCF
Dear R devs,
I would like to raise a request for a simple helper function.
Utility function to extract package dependencies from DESCRIPTION file.
I do think that tools package is better place, for such a fundamental
functionality, than community packages.
tools pkg seems perfect fit (having already great function write_PACKAGES).
Functionality I am asking for is already in R svn repository
2015 Aug 25
1
Issues with libcurl + HTTP status codes (eg. 403, 404)
In fact, this does reproduce on R-devel:
> options(download.file.method = "libcurl")
> options(repos = c(CRAN = "https://cran.rstudio.com/", CRANextra =
+ "http://www.stats.ox.ac.uk/pub/RWin"))
> install.packages("lattice") ## could be any package
Installing package into ?/Users/kevinushey/Library/R/3.3/library?
(as ?lib? is
2019 Sep 27
1
passing extra arguments to devtools::build
This question was posed on SO :
https://stackoverflow.com/questions/58118495/passing-extra-argumenets-to-devtoolsbuild
but there has been no useful reply.
Something seems to have changed in the |devtools|package, so that the
following commands, that used to run now give an error I can't decipher:
|>Sys.setenv(R_GSCMD="C:/Program
2016 Apr 04
1
Suggested dependencies in context of R CMD check
On 04/04/2016 01:56 PM, Duncan Murdoch wrote:
> On 04/04/2016 1:35 PM, Dirk Eddelbuettel wrote:
>> On 4 April 2016 at 07:25, Hadley Wickham wrote:
>> | On Sat, Apr 2, 2016 at 5:33 AM, Jan G?recki <J.Gorecki at wit.edu.pl>
>> wrote:
>> |
>> | In principle, I believe a package should pass R CMD check if no
>> | suggested packages are installed. However,
2013 Nov 26
1
Blank lines in DESCRIPTION
Dear R-devel list,
I would like to enquire about the existence of blank lines in the
DESCRIPTION file.
Testing different possibilities with tools:::.read_description suggests
that starting or ending with blank lines is acceptable while blank lines
in the middle of the file get caught by
out <- tryCatch(read.dcf(dfile, keep.white = .keep_white_description_fields),
error = function(e)
2018 May 08
4
Average of results coming from B=100 repetitions (looping)
Dear R-experts,
Here below the reproducible example. I am trying to get the average of the 100 results coming from the "lst" function. I have tried lst$mean and mean(lst). It does not work.
Any help would be highly appreciated.
####################
?## R script for getting MedAe and MedAeSQ from HBR model on Testing data
install.packages("robustbase")
install.packages(
2005 Dec 09
1
local source packages install from within R session - cross-platform
I realize that others have struggled with this issue...i.e.
http://tolstoy.newcastle.edu.au/~rking/R/help/05/01/9826.html
i am on os.x 10.4 w/ R2.2, and am (perhaps foolishly) also on this quest...
i would like to be able to install downloaded source (tar.gz'd) files from
within an R session, and have it work in a X-platform way..i am often not
connected to the internet and have libraries
2015 Aug 26
2
Issues with libcurl + HTTP status codes (eg. 403, 404)
On Tue, Aug 25, 2015 at 10:33 PM, Martin Morgan <mtmorgan at fredhutch.org> wrote:
>
> actually I don't know that it does -- it addresses the symptom but I think there should be an error from libcurl on the 403 / 404 rather than from read.dcf on error page...
Indeed, the only correct behavior is to turn the protocol error code
into an R exception. When the server returns a status
2010 Sep 18
3
How to check the available of a package on R repo
Hi folks,
Debian 504 64-bit
What is the correct syntax to check the available of a package on R repo?
> available.packages("emacs", "OS_type=linux")
Warning: unable to access index for repository emacs
Package Version Priority Depends Imports LinkingTo Suggests Enhances
OS_type License File Repository
> available.packages("emacs")
Warning: unable
2015 May 13
4
example fails during R CMD CHECK but works interactively?
Thank you Dan but it isn't my tests that are failing (all of them pass
without problem) but one of the examples from the inst/examples directory.
I did try, however, to start R with the environmental variables as you
suggest but it had no effect on my tests.
Charles
On Wed, May 13, 2015 at 1:51 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
wrote:
>
>
> ----- Original Message