similar to: Check R version dependency in R CMD Check

Displaying 20 results from an estimated 7000 matches similar to: "Check R version dependency in R CMD Check"

2024 Dec 13
1
Check R version dependency in R CMD Check
I?ve been guilty of this myself. I think a check would be good. In my case I was using the new sort_by() function (I think also 4.1) and a user was failing to install on R 4.0. On Fri, Dec 13, 2024 at 11:30 Jan Net?k <netikja at gmail.com> wrote: > Hello, > > I have a server with R 3.6.3 installed and I struggled a bit with > updating several R packages that utilizes some new
2010 Jun 07
3
Subsetting subsets of data.frames
Hey Everyone, I have been stumped by this all day. Basically, I have a data.frame of multiple columns. Of concern are "id" & "date" For some reason, oftentimes there are duplicates of data with the same date. I would like to remove the duplicates per different id (removing duplicate dates for the entire data.frame would leave nothing since different id's all have
2012 Nov 09
2
sink() doesn't work
Oftentimes I want to make outputs to be displayed on the R console. However, after I execute a program with a sink command in it the R console becomes unresponsive. Meaning that the following occurs in R console: > source("Program_containing_sink.R") > a<-1 > a > >sink() >a > R help says that sink() will bring output back to the console but i's not
2004 Jun 18
2
C7960 g729 question
I have multiple voiceage g729 licenses installed on a RH9 box, and have a remote C7960 configured to use it (low bandwidth). In calls like: Remote C7960 -> g729 -> asterisk -> g711 -> C7960 the audio is oftentimes rather choppy. Changing the remote 7960 to use g711 seems to eliminate/reduce the choppyness. Any ideas on what might be behind this?
2009 Feb 13
2
Identifying graphics files produced by R
Oftentimes, I see graphs on the web that *look* like they've been produced by R, but I can never be sure. Or can I? I notice that PostScript files include a "%%%Creator: R Software" line, but do R graphics drivers encode any identifying information in GIF or PNG files more commonly used on the web? And of so, would such evidence necessarily be obliterated in post-processing (e.g
2006 Aug 17
1
Organizing the db/migrate folder
Hiall, I was wondering how you guys are organizing your migrations files under db/migrate? I have like 60 database tables initially, and if I exercise migrations the way they should be exercised, I guess this will become even more files ... Now maybe you say 70 files ain''t that much anyway :) but the thing of course is that these files logically belong to different areas of my
2006 May 04
4
why a perfectly fine iax2 host becomes UNREACHABLE?
I've got this low-ping 100%-up dsl connection between two asterisk 1.2.7.1 servers. And oftentimes one of them would declare its opposite UNREACHABLE. Why can this happen? The host stanzas in iax.conf have raw IP's, so no DNS monkey business here.. An inquiring mind wants to know.
2006 Dec 04
10
Avoiding SQL Injection in :order?
This thread references: http://www.ruby-forum.com/topic/90258#new http://www.ruby-forum.com/topic/82349#143790 ActiveRecord''s find() method has built in ways to avoid SQL injection by using the format > :conditions => [ "user_name = ?", user_name] Is there any such system for escaping injection in :order? It seems to only take a string and feed it to the SQL
2007 Sep 05
4
Mocking to spec a sort_by method
Hello, I have a question regarding the use of Mocha with rSpec to spec one of my methods. My spec contains the following vehical1 = mock() vehical2 = mock() vehical1.stubs(:mph).returns(150) vehical2.stubs(:mph).returns(250) comparer.add_vehical([@vehical1, @vehical2]) comparer.sort_by(:mph) The comparer is an object that has a basic "stack like" functionality, add_vehical is the
2006 Jul 20
3
sort_by with via a parent models child
I am having a problem with ruby''s sort_by function. I want to sort a list of parent model objects based on the children of the parent models. Normally you might say sortedList = modelList.sort_by { |model| model[''someAttribute''] } What I am tring to do is sortedList = modelList.sort_by{ |model| model.children.find(:first, order=>"price desc" ).price}
2004 Jul 09
1
IVR Menu and VoiceMail quality
I have really tried to do my best googling and wiki-reading before asking this question. I couldn't find the answers there so I throw myself at the mercy of the list... I get excellent quality for SIP -> PSTN and PSTN -> SIP calls, however when I or anyone else calls from PSTN -> * the voice menus are oftentimes very choppy. Sometimes they are absolutely perfect and I cannot tell
2006 Feb 08
7
DRY methodology
because I am a grasshopper... Now that I can sort my ''list''...is there a logical way of not repeating myself to having essentially the same list view with multiple sorts? i.e. def list_cl # ordered by clients last name @placement_pages, @placements = paginate( :placements, :include => [:client], :order_by =>
2006 May 14
4
searching on foreing keys
Hey all, I''m using a simple search function. It''s working great except for foreign keys. I have one table pets (id,name,owner_id) and another table people(id,name) owner_id being a foreign key of pet pointing to people name. here it is on the pet controller: @paginator, @pets= paginate(:pets, :conditions =>["name OR owner_id like
2007 Jan 25
2
React on select_tag (onchange)
Hi, I''m new in developint rails (but I love rails). I would like to react on changing a field in the view (no model field) from a selection box to show the number of rows (which I used in the controller). In the controller I read the params-hash: ... @rowsperpage = params[''rowsperpage''].to_i ... In the view I have the field, where I like to react directly. ...
2012 Mar 28
4
Hash iteration order in a template not consistent
Hi, I did some basic googling, but didn''t find an answer yet. I am sorry if this is a FAQ. In a manifest for creating an Apache config file, I define a hash like this: $aliases = { ''/foo/'' => ''/home/foo/www/'', ''/bar/'' => ''/home/bar/www/'', ''/baz/'' =>
2012 Sep 10
3
How to remove last comma when iterating through hash in erb template
I need to produce a line in a config file in the format x = "ip1,ip2,ip3" I am using the method below to sort the hash before iterating over it. However, as you can see there will always be a final comma which breaks the app that uses this config file. Does anyone know how I could remove the final comma? ipv4_bind_addresses = "<% routes.sort_by {|key, v| key}.each do |key,
2006 Mar 29
4
Directory Listing outside of app structure
I need to show a directory listing of a folder outside of the Rails app structure. Moving the folder is not an option. In fact, changing anything (including modes) is not possible for the folder. I have working directory listing code in Ruby, but if I call chdir in Rails to set the working directory to a folder outside the app tree, nothing is returned to the browser. It''s fine if I
2006 Apr 03
2
Order By Number of Comments
Hi, I am new to Ruby on Rails, so I apologise if this has been answered elsewhere. I have had a look through the list but I can''t seem to find what I am trying to do. I have implemented the standard blog and comments app from the screencast. However I am trying to extend the functionality. I want to be able to display a list of posts and order them by the total number of comments
2006 Mar 22
2
has_many, belongs_to
I have one table(profiles) where each row has many rows in another table(carriers). If I write profile.carriers I get a collection containing all carriers that belong to the current profile. My question is: how do I sort the collection profile.carriers? I would like to sort it on one of the columns (found in the table carriers). Can I override some method in the carrier model or somewhere
2017 Mar 09
4
[RFC] bitfield access shrinking
In http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20120827/063200.html, consecutive bitfields are wrapped as a group and represented as a large integer and emits loads stores and bit operations appropriate for extracting bits from within it. It fixes the problem of violating C++11 memory model that original widen load/store of bitfield was facing. It also brings more coalescing