I an running R 3.5.1 and just completed an extensive update of many of packages. In my shiny app, I have a program that uses tidyverse to calculate some sums. I am running this in browser mode to test out the code.
Here is the code:
# extracting data
browser()
if(nchar(placefips) == 0) { # Output for places
sexbyage <- codemog_api(data="b01001",db=ACS, geonum=paste("1", state, ctyfips, sep=""), meta="no")
} else {
sexbyage <- codemog_api(data="b01001",db=ACS, geonum=paste("1", state, placefips, sep=""), meta="no")
}
# Creating decades
sexbyaged <- sexbyage %>%
mutate( m0009 = B01001_003 + B01001_004,
m1019 = B01001_005 + B01001_006 + B01001_007,
m2029 = B01001_008 + B01001_009 + B01001_010 + B01001_011,
m3034 = B01001_012 + B01001_013,
m4049 = B01001_014 + B01001_015,
m5059 = B01001_016 + B01001_017,
m6069 = B01001_018 + B01001_019 + B01001_020 + B01001_021,
m7079 = B01001_022 + B01001_023,
m8000 = B01001_024 + B01001_025,
f0009 = B01001_027 + B01001_028,
f1019 = B01001_029 + B01001_030 + B01001_031,
f2029 = B01001_032 + B01001_033 + B01001_034 + B01001_035,
f3034 = B01001_036 + B01001_037,
f4049 = B01001_038 + B01001_039,
f5059 = B01001_040 + B01001_041,
f6069 = B01001_042 + B01001_043 + B01001_044 + B01001_045,
f7079 = B01001_046 + B01001_047,
f8000 = B01001_048 + B01001_049)
When R (or R-Studio) executes this code, the program jumps out of browser mode and tries to complete the rest of the run.
Why is this happening?
TIA
AB