Code Monkey home page Code Monkey logo

Comments (7)

bernardlf avatar bernardlf commented on August 14, 2024 1

I'm not getting errors anymore either, and parallel processing appears to be working. Thanks for addressing this @chris-prener!

from censusxy.

bernardlf avatar bernardlf commented on August 14, 2024

Here is the error when this is run via Terminal:

objc[6659]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[6659]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

thanks for submitting this - the issue appears to be with forked parallel processes on macOS. will continue investigating!

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

quick update - had to update to macOS 12.4 but can replicate the issue. This is beyond censusxy - it has to do with how parallels::mclapply() function interfaces with the operating system. Unfortunately, since parallels is part of R core, it won't be patched as quickly I don't think. Will keep this open for now, but we'll need to explore whether this feature can be either changed to another function within parallels or whether we need to temporarily discontinue supporting parallel processing on UNIX machines.

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

In addition to updating our documentation, we now return a specific error when this occurs that points users to the wesbite. I have also noticed that it is possible to restart your R session and get the code to execute correctly.

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

OK @bernardlf - thanks for your patience - I've patched the Github version of the package to address this issue and am no longer getting errors on my local 12.4 install of macOS. Can you test the remotes::install_github("slu-openGIS/censusxy") version of the package out? Thanks!

from censusxy.

chris-prener avatar chris-prener commented on August 14, 2024

My pleasure! Thanks for using the package!

from censusxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.