Skip to content

Conflict with lubridate::here() #37

@jasonpott

Description

@jasonpott

I have been trying to use here() within a project where I am importing data from an online Research database.

I have then attempt to use here() within the saveRDS() function e.g.

saveRDS(mydfname, file= here("02_data", "mydfname.rda"))

This would ensure I have a local copy of the data for if I need to work on the project but I am offline.

When I execute the code my data import runs as expected, but the saveRDS function returns the following error

Error in here("02_data", "mydfname.rda") : unused arguments ("02_data", "mydfname.rda")

I have searched the issues listed here and online but have not found any other reports of this issue.

My work around is that I am having to input the file directory in full for saveRDS() but here is working for file calls using readRDS() and source()

I may be missing something simple so excuse my ignorance if that is the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions