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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: periods
> ### Title: Get a dataframe of sleep periods from a hypnogram, continuous or
> ###   by stages.
> ### Aliases: periods
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> download.file(
+  "https://rsleep.org/data/hypnodensity.csv",
+  "hypnodensity.csv")
trying URL 'https://rsleep.org/data/hypnodensity.csv'
Warning in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") :
  URL 'https://rsleep.org/data/hypnodensity.csv': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") : 
  cannot open URL 'https://rsleep.org/data/hypnodensity.csv'
Execution halted
Running examples in ‘rsleep-Ex.R’ failed
The error most likely occurred in:

> ### Name: periods
> ### Title: Get a dataframe of sleep periods from a hypnogram, continuous or
> ###   by stages.
> ### Aliases: periods
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> download.file(
+  "https://rsleep.org/data/hypnodensity.csv",
+  "hypnodensity.csv")
trying URL 'https://rsleep.org/data/hypnodensity.csv'
Warning in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") :
  URL 'https://rsleep.org/data/hypnodensity.csv': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") : 
  cannot open URL 'https://rsleep.org/data/hypnodensity.csv'
Execution halted
Running examples in ‘rsleep-Ex.R’ failed
The error most likely occurred in:

> ### Name: periods
> ### Title: Get a dataframe of sleep periods from a hypnogram, continuous or
> ###   by stages.
> ### Aliases: periods
> 
> ### ** Examples
> 
> library(ggplot2)
> 
> download.file(
+  "https://rsleep.org/data/hypnodensity.csv",
+  "hypnodensity.csv")
trying URL 'https://rsleep.org/data/hypnodensity.csv'
Warning in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") :
  URL 'https://rsleep.org/data/hypnodensity.csv': status was 'SSL peer certificate or SSH remote key was not OK'
Error in download.file("https://rsleep.org/data/hypnodensity.csv", "hypnodensity.csv") : 
  cannot open URL 'https://rsleep.org/data/hypnodensity.csv'
Execution halted