Skip to content

Instantly share code, notes, and snippets.

@JerryWho
JerryWho / fill_grouped_time_series.R
Created Sep 9, 2017
R: Filling missing dates in a grouped time series.
View fill_grouped_time_series.R
library(dplyr)
library(lubridate)
set.seed(1234)
# Time series should run vom 2017-01-01 til 2017-01-10
date <- data.frame(date = seq.Date(from=ymd("2017-01-01"), to=ymd("2017-01-10"), by="days"), v = 1)
# Two grouping dimensions
d1 <- data.frame(d1 = c("A", "B", "C", "D"), v = 1)
d2 <- data.frame(d2 = c(1, 2, 3, 4, 5), v = 1)
View cookie-manager
View gist:43b6d2fe139d3e80cb7216942df32079
ReferenceError: deprecated caller usage dump.js:377:5
ReferenceError: deprecated caller usage dump.js:387:7
ReferenceError: deprecated arguments usage dump.js:397:10
CM+ (cookiesmanagerplus.js:563:1): (debug):[click] cookieClickEvent() execTime: 1483300
ReferenceError: deprecated caller usage dump.js:377:5
ReferenceError: deprecated caller usage dump.js:387:7
ReferenceError: deprecated arguments usage dump.js:397:10
CM+ (cookiesmanagerplus.js:1928:1): (debug):deleteCookies() execTime: 1491293
ReferenceError: deprecated caller usage dump.js:377:5
ReferenceError: deprecated caller usage dump.js:387:7
View error cucumber wit spork
/usr/local/bin/ruby /usr/local/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/cucumber --format progress --format rerun --out /var/folders/WZ/WZPzXYGZH2yf3R-9h5iHCE+++TI/-Tmp-/autotest-cucumber20091217-31269-1ory6l5-0 features
/usr/local/lib/ruby/gems/1.8/gems/cucumber-0.5.1/lib/cucumber/cli/configuration.rb:171:in `arrange_formats': All but one formatter must use --out, only one can print to each stream (or STDOUT) (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/cucumber-0.5.1/lib/cucumber/cli/configuration.rb:25:in `parse!'
from /usr/local/lib/ruby/gems/1.8/gems/cucumber-0.5.1/lib/cucumber/cli/main.rb:94:in `configuration'
from /usr/local/lib/ruby/gems/1.8/gems/cucumber-0.5.1/lib/cucumber/cli/main.rb:41:in `execute!'
from /usr/local/lib/ruby/gems/1.8/gems/spork-0.7.4/lib/spork/test_framework/cucumber.rb:22:in `run_tests'
from /usr/local/lib/ruby/gems/1.8/gems/spork-0.7.4/lib/spork/run_strategy/forking.rb:13:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/spork-0.7.4/bin/../lib/spork/forker.rb:20:in `
View test
Das ist der nochmals geänderte Inhalt des Testfiles
You can’t perform that action at this time.