I would like to create a sliderInput for a Shiny app which accepts a year as input, with all possible integer values from a variable time in the past (e.g. 1866) to the current year. Most users will only be interested in recent years, for for better UX I would like uneven spacing on the slider.
Note that answers like this one exist for using a slider with a nonlinear scale - this is not what I am looking for. The acceptable values for the slider should still be any integer in the range (and nothing else), but I would like the values to be spaced differently, like in the cartoon example below (ticks displayed every 5 years pre-1980 for visibility).