Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

guess_dates() missing from linelist package

I’m trying to use the guess_dates() function from the linelist package and I’m receiving this error:

Error: ‘guess_dates’ is not an exported object from ‘namespace:linelist’

I’ve tried restarting R and updating all packages without luck. When I query the function using ??guess_dates, the Help page returns

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

"no results found."

This package::function() combo linelist::guess_dates() is widely referenced by other R users.

Any ideas?? Thanks in advance!

>Solution :

Try installing the package using devtools::install_github("reconhub/linelist") mentioned on the GitHub. Here is a reproducible example which worked when installing the package:

devtools::install_github("reconhub/linelist")
#> Skipping install of 'linelist' from a github remote, the SHA1 (cae034de) has not changed since last install.
#>   Use `force = TRUE` to force installation
library(linelist)
linelist::guess_dates(c("03 Jan 2018", "07/03/1982", "08/20/85"))
#> [1] "2018-01-03" "1982-03-07" "1985-08-20"

Created on 2022-08-30 with reprex v2.0.2

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading