nationalparkservice / NPSdataverse

Loads a suite of R packages for creating and manipulating data packages including interacting with DataStore.
https://nationalparkservice.github.io/NPSdataverse/
Other
12 stars 3 forks source link

Happy New Year, here is a bug #27

Open wright13 opened 9 months ago

wright13 commented 9 months ago

Describe the bug After updating QCkit and trying to load NPSdataverse, I get an error that the previous version of QCkit can't be unloaded because it's imported by DPchecker. This is probably at least in part the fault of my last pull request - happy to help troubleshoot if it's not an obvious fix.

To Reproduce Steps to reproduce the behavior: Loaded NPSdataverse and received a message that QCkit (v0.1.1) is out of date. Unloaded NPSdataverse and installed QCkit v0.1.3 from github. Re-loaded NPSdataverse.

Screenshots image

wright13 commented 9 months ago

works fine after loading NPSdataverse a second time though

wright13 commented 9 months ago

never mind, after restarting rstudio, I now get this every time I try to load npsdataverse: image

loading each package individually seems to work though

RobLBaker commented 9 months ago

Yes, I think this has something to do with the package reimport. Probably worth backing off of that concept and just making them dependencies.

For what it's worth, after I updated DPchecker and QCkit, I got an error about not being able to detach one of them because it was a dependency of the other or something along those lines. Restarting R and reloading NPSdataverse resolved the issue and I don't can't reproduce the error above:

Screenshot 2024-01-02 084441

It looks like (despite NPSdataverse telling you all the packages are up to date) that you need to update DPchecker from v0.3.2 to v0.3.3. Then it should work? Although not telling you about the latest version is itself another issue.