Closed StephenDYounger closed 6 years ago
Hi, @StephenDYounger:
The problem was a leftover "set trace on". The pull request #22 should fix this behavior.
Kind regards,
@igutierrezm
Thanks @igutierrezm, Now that the issue appears to be fixed please: 1) Include a test do file in CEQStataPackage/tests. You can use Brazil data as the first test 2) Link to that test in a comment here 3) Paste the output from the corrected version in a comment on this thread
Hi, @skhiggins , @StephenDYounger :
Kind regards,
@igutierrezm
Oh, I forgot to leave a copy of the log-file.
. **********
. ** TEST **
. **********
.
. #delimit ;
delimiter now ;
. ceqgraph conc using "`mwb'",
> `income_options_SA1'
> `direct_options_SA1'
> `indirect_options'
> `inkind_options'
> hhid(code_uc)
> path("tests/data")
> country("My country")
> surveyyear("YYYY/MM")
> authors("Author#1, Author#2, Author#3");
Running version 2.3 of ceqgraph conc on 1 Apr 2018 at 11:49:01
(please report this information if reporting a bug to sean.higgins@ceqinstitute.org)
Warning: Fiscal intervention variable(s) pc_milk_ben, pc_income_taxes, pc_property_taxes, pc_contribs_to_pen, pc_other_contributions, pc_FG
> TS, pc_energy_subsidies, pc_health_ben not stored in double format. This may lead to substantial discrepancies in the MWB due to rounding
> error.
(file tests/data/conc_direct_transfers_m.gph saved)
(file tests/data/conc_direct_transfers_m.png written in PNG format)
(file tests/data/conc_direct_taxes_m.gph saved)
(file tests/data/conc_direct_taxes_m.png written in PNG format)
(file tests/data/conc_indirect_subsidies_m.gph saved)
(file tests/data/conc_indirect_subsidies_m.png written in PNG format)
(file tests/data/conc_indirect_taxes_m.gph saved)
(file tests/data/conc_indirect_taxes_m.png written in PNG format)
(file tests/data/conc_inkind_m.gph saved)
(file tests/data/conc_inkind_m.png written in PNG format)
(file tests/data/conc_summary_m.gph saved)
(file tests/data/conc_summary_m.png written in PNG format)
(file tests/data/conc_direct_transfers_mp.gph saved)
(file tests/data/conc_direct_transfers_mp.png written in PNG format)
(file tests/data/conc_direct_taxes_mp.gph saved)
(file tests/data/conc_direct_taxes_mp.png written in PNG format)
(file tests/data/conc_indirect_subsidies_mp.gph saved)
(file tests/data/conc_indirect_subsidies_mp.png written in PNG format)
(file tests/data/conc_indirect_taxes_mp.gph saved)
(file tests/data/conc_indirect_taxes_mp.png written in PNG format)
(file tests/data/conc_inkind_mp.gph saved)
(file tests/data/conc_inkind_mp.png written in PNG format)
(file tests/data/conc_summary_mp.gph saved)
(file tests/data/conc_summary_mp.png written in PNG format)
(note: file tests/data/conc_direct_transfers_n.gph not found)
(file tests/data/conc_direct_transfers_n.gph saved)
(note: file tests/data/conc_direct_transfers_n.png not found)
(file tests/data/conc_direct_transfers_n.png written in PNG format)
(note: file tests/data/conc_direct_taxes_n.gph not found)
(file tests/data/conc_direct_taxes_n.gph saved)
(note: file tests/data/conc_direct_taxes_n.png not found)
(file tests/data/conc_direct_taxes_n.png written in PNG format)
(note: file tests/data/conc_indirect_subsidies_n.gph not found)
(file tests/data/conc_indirect_subsidies_n.gph saved)
(note: file tests/data/conc_indirect_subsidies_n.png not found)
(file tests/data/conc_indirect_subsidies_n.png written in PNG format)
(note: file tests/data/conc_indirect_taxes_n.gph not found)
(file tests/data/conc_indirect_taxes_n.gph saved)
(note: file tests/data/conc_indirect_taxes_n.png not found)
(file tests/data/conc_indirect_taxes_n.png written in PNG format)
(note: file tests/data/conc_inkind_n.gph not found)
(file tests/data/conc_inkind_n.gph saved)
(note: file tests/data/conc_inkind_n.png not found)
(file tests/data/conc_inkind_n.png written in PNG format)
(note: file tests/data/conc_summary_n.gph not found)
(file tests/data/conc_summary_n.gph saved)
(note: file tests/data/conc_summary_n.png not found)
(file tests/data/conc_summary_n.png written in PNG format)
(note: file tests/data/conc_direct_transfers_g.gph not found)
(file tests/data/conc_direct_transfers_g.gph saved)
(note: file tests/data/conc_direct_transfers_g.png not found)
(file tests/data/conc_direct_transfers_g.png written in PNG format)
(note: file tests/data/conc_direct_taxes_g.gph not found)
(file tests/data/conc_direct_taxes_g.gph saved)
(note: file tests/data/conc_direct_taxes_g.png not found)
(file tests/data/conc_direct_taxes_g.png written in PNG format)
(note: file tests/data/conc_indirect_subsidies_g.gph not found)
(file tests/data/conc_indirect_subsidies_g.gph saved)
(note: file tests/data/conc_indirect_subsidies_g.png not found)
(file tests/data/conc_indirect_subsidies_g.png written in PNG format)
(note: file tests/data/conc_indirect_taxes_g.gph not found)
(file tests/data/conc_indirect_taxes_g.gph saved)
(note: file tests/data/conc_indirect_taxes_g.png not found)
(file tests/data/conc_indirect_taxes_g.png written in PNG format)
(note: file tests/data/conc_inkind_g.gph not found)
(file tests/data/conc_inkind_g.gph saved)
(note: file tests/data/conc_inkind_g.png not found)
(file tests/data/conc_inkind_g.png written in PNG format)
(note: file tests/data/conc_summary_g.gph not found)
(file tests/data/conc_summary_g.gph saved)
(note: file tests/data/conc_summary_g.png not found)
(file tests/data/conc_summary_g.png written in PNG format)
(note: file tests/data/conc_direct_transfers_d.gph not found)
(file tests/data/conc_direct_transfers_d.gph saved)
(note: file tests/data/conc_direct_transfers_d.png not found)
(file tests/data/conc_direct_transfers_d.png written in PNG format)
(note: file tests/data/conc_direct_taxes_d.gph not found)
(file tests/data/conc_direct_taxes_d.gph saved)
(note: file tests/data/conc_direct_taxes_d.png not found)
(file tests/data/conc_direct_taxes_d.png written in PNG format)
(note: file tests/data/conc_indirect_subsidies_d.gph not found)
(file tests/data/conc_indirect_subsidies_d.gph saved)
(note: file tests/data/conc_indirect_subsidies_d.png not found)
(file tests/data/conc_indirect_subsidies_d.png written in PNG format)
(note: file tests/data/conc_indirect_taxes_d.gph not found)
(file tests/data/conc_indirect_taxes_d.gph saved)
(note: file tests/data/conc_indirect_taxes_d.png not found)
(file tests/data/conc_indirect_taxes_d.png written in PNG format)
(note: file tests/data/conc_inkind_d.gph not found)
(file tests/data/conc_inkind_d.gph saved)
(note: file tests/data/conc_inkind_d.png not found)
(file tests/data/conc_inkind_d.png written in PNG format)
(note: file tests/data/conc_summary_d.gph not found)
(file tests/data/conc_summary_d.gph saved)
(note: file tests/data/conc_summary_d.png not found)
(file tests/data/conc_summary_d.png written in PNG format)
(note: file tests/data/conc_direct_transfers_c.gph not found)
(file tests/data/conc_direct_transfers_c.gph saved)
(note: file tests/data/conc_direct_transfers_c.png not found)
(file tests/data/conc_direct_transfers_c.png written in PNG format)
(note: file tests/data/conc_direct_taxes_c.gph not found)
(file tests/data/conc_direct_taxes_c.gph saved)
(note: file tests/data/conc_direct_taxes_c.png not found)
(file tests/data/conc_direct_taxes_c.png written in PNG format)
(note: file tests/data/conc_indirect_subsidies_c.gph not found)
(file tests/data/conc_indirect_subsidies_c.gph saved)
(note: file tests/data/conc_indirect_subsidies_c.png not found)
(file tests/data/conc_indirect_subsidies_c.png written in PNG format)
(note: file tests/data/conc_indirect_taxes_c.gph not found)
(file tests/data/conc_indirect_taxes_c.gph saved)
(note: file tests/data/conc_indirect_taxes_c.png not found)
(file tests/data/conc_indirect_taxes_c.png written in PNG format)
(note: file tests/data/conc_inkind_c.gph not found)
(file tests/data/conc_inkind_c.gph saved)
(note: file tests/data/conc_inkind_c.png not found)
(file tests/data/conc_inkind_c.png written in PNG format)
(note: file tests/data/conc_summary_c.gph not found)
(file tests/data/conc_summary_c.gph saved)
(note: file tests/data/conc_summary_c.png not found)
(file tests/data/conc_summary_c.png written in PNG format)
(note: file tests/data/conc_direct_transfers_f.gph not found)
(file tests/data/conc_direct_transfers_f.gph saved)
(note: file tests/data/conc_direct_transfers_f.png not found)
(file tests/data/conc_direct_transfers_f.png written in PNG format)
(note: file tests/data/conc_direct_taxes_f.gph not found)
(file tests/data/conc_direct_taxes_f.gph saved)
(note: file tests/data/conc_direct_taxes_f.png not found)
(file tests/data/conc_direct_taxes_f.png written in PNG format)
(note: file tests/data/conc_indirect_subsidies_f.gph not found)
(file tests/data/conc_indirect_subsidies_f.gph saved)
(note: file tests/data/conc_indirect_subsidies_f.png not found)
(file tests/data/conc_indirect_subsidies_f.png written in PNG format)
(note: file tests/data/conc_indirect_taxes_f.gph not found)
(file tests/data/conc_indirect_taxes_f.gph saved)
(note: file tests/data/conc_indirect_taxes_f.png not found)
(file tests/data/conc_indirect_taxes_f.png written in PNG format)
(note: file tests/data/conc_inkind_f.gph not found)
(file tests/data/conc_inkind_f.gph saved)
(note: file tests/data/conc_inkind_f.png not found)
(file tests/data/conc_inkind_f.png written in PNG format)
(note: file tests/data/conc_summary_f.gph not found)
(file tests/data/conc_summary_f.gph saved)
(note: file tests/data/conc_summary_f.png not found)
(file tests/data/conc_summary_f.png written in PNG format)
Writing graphs to excel requires Stata 14.1 or newer. Using option is not allowed.
. #delimit cr
delimiter now cr
Thanks @igutierrezm
Two quick comments for future tests (no need to change this one)
tests/graphs
for graph outputs in the paths()
option, and add tests/graphs
to the .gitignore
file.log
with the options , text replace
rather than , smcl replace
so they are easier to look at (directly in GitHub rather than downloading and opening with Stata)
Looks like this:
. ceqgraph conc using "${excelpath}MWB2017_E25_July7_2017.xlsx",