Running examples in ‘states-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plot_missing
> ### Title: Visualize missing and non-proper cases for state panel data
> ### Aliases: plot_missing missing_info
> 
> ### ** Examples
> 
> # Create an example data frame with missing values
> cy <- state_panel(as.Date("1980-06-30"), as.Date("2015-06-30"), by = "year",
+ useGW = TRUE)
> cy$myvar <- rnorm(nrow(cy))
> set.seed(1234)
> cy$myvar[sample(1:nrow(cy), nrow(cy)*.1, replace = FALSE)] <- NA
> str(cy)
'data.frame':	6680 obs. of  3 variables:
 $ gwcode: int  2 2 2 2 2 2 2 2 2 2 ...
 $ year  : int  1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 ...
 $ myvar : num  -0.626 0.184 -0.836 1.595 0.33 ...
> 
> # Visualize missing values:
> plot_missing(cy, statelist = "none")
> 
> # missing_info() generates the data underlying plot_missing():
> head(missing_info(cy, statelist =  "none"))
     gwcode       year independent missing_value   status
1         2 1980-01-01          NA         FALSE Complete
202       2 1981-01-01          NA         FALSE Complete
403       2 1982-01-01          NA         FALSE Complete
604       2 1983-01-01          NA         FALSE Complete
805       2 1984-01-01          NA         FALSE Complete
1006      2 1985-01-01          NA         FALSE Complete
> 
> # if we specify a statelist to check against, 'independent' will have values
> # now:
> head(missing_info(cy, statelist = "GW"))
  gwcode       year independent missing_value                status
1      2 1980-01-01           1         FALSE Complete, independent
2      2 1981-01-01           1         FALSE Complete, independent
3      2 1982-01-01           1         FALSE Complete, independent
4      2 1983-01-01           1         FALSE Complete, independent
5      2 1984-01-01           1         FALSE Complete, independent
6      2 1985-01-01           1         FALSE Complete, independent
> 
> # Check data also against G&W list of independent states
> head(missing_info(cy, statelist = "GW"))
  gwcode       year independent missing_value                status
1      2 1980-01-01           1         FALSE Complete, independent
2      2 1981-01-01           1         FALSE Complete, independent
3      2 1982-01-01           1         FALSE Complete, independent
4      2 1983-01-01           1         FALSE Complete, independent
5      2 1984-01-01           1         FALSE Complete, independent
6      2 1985-01-01           1         FALSE Complete, independent
> plot_missing(cy, statelist = "GW")
> 
> # Live example with Polity data
> data("polity")
> head(polity)
  ccode year polity
1   700 1800     -6
2   700 1801     -6
3   700 1802     -6
4   700 1803     -6
5   700 1804     -6
6   700 1805     -6
> plot_missing(polity, x = "polity", ccode = "ccode", time = "year",
+              statelist = "COW")
Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) : 
  DLL requires the use of native symbols
Calls: plot_missing ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
Execution halted