{"action":"created","issue":{"url":"https://api.github.com/repos/hypertidy/PROJ/issues/7","repository_url":"https://api.github.com/repos/hypertidy/PROJ","labels_url":"https://api.github.com/repos/hypertidy/PROJ/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/hypertidy/PROJ/issues/7/comments","events_url":"https://api.github.com/repos/hypertidy/PROJ/issues/7/events","html_url":"https://github.com/hypertidy/PROJ/issues/7","id":533990745,"node_id":"MDU6SXNzdWU1MzM5OTA3NDU=","number":7,"title":"failing in 32-bit windows","user":{"login":"mdsumner","id":4107631,"node_id":"MDQ6VXNlcjQxMDc2MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4107631?v=4","gravatar_id":"","url":"https://api.github.com/users/mdsumner","html_url":"https://github.com/mdsumner","followers_url":"https://api.github.com/users/mdsumner/followers","following_url":"https://api.github.com/users/mdsumner/following{/other_user}","gists_url":"https://api.github.com/users/mdsumner/gists{/gist_id}","starred_url":"https://api.github.com/users/mdsumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdsumner/subscriptions","organizations_url":"https://api.github.com/users/mdsumner/orgs","repos_url":"https://api.github.com/users/mdsumner/repos","events_url":"https://api.github.com/users/mdsumner/events{/privacy}","received_events_url":"https://api.github.com/users/mdsumner/received_events","type":"User","site_admin":false},"labels":[{"id":1333843614,"node_id":"MDU6TGFiZWwxMzMzODQzNjE0","url":"https://api.github.com/repos/hypertidy/PROJ/labels/help%20wanted","name":"help wanted","color":"008672","default":true,"description":"Extra attention is needed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-12-06T13:39:52Z","updated_at":"2019-12-06T13:51:41Z","closed_at":null,"author_association":"MEMBER","body":"In branch [no-onload](https://github.com/hypertidy/PROJ/tree/no-onload), the build fails in 32-bit mode as seen on Appveyor. \r\n\r\n(The .onLoad test that sets an option is disabled, so the package compiles and installs). \r\n\r\nIf I start 32-bit R and run this it works, without the `Sys.setenv()` it fails (it's fine in 64-bit). \r\n\r\nIs there something about how the different architectures treat the \"working directory\"? \r\n\r\n```R\r\nSys.setenv(PROJ_LIB= system.file(\"proj\", package = \"PROJ\"))\r\nlibrary(PROJ)\r\nproj_trans_generic(cbind(147, -42), \"+proj=laea\", source = \"epsg:4326\")\r\n```\r\n\r\nThe PROJ FAQ describes how the file `proj.db` is found: https://github.com/OSGeo/PROJ/blob/e151e92371772c5bad5001f94f79618ca192eb5d/docs/source/faq.rst#why-am-i-getting-the-error-cannot-find-projdb\r\n\r\nAny ideas?  @jeroen "},"comment":{"url":"https://api.github.com/repos/hypertidy/PROJ/issues/comments/562579170","html_url":"https://github.com/hypertidy/PROJ/issues/7#issuecomment-562579170","issue_url":"https://api.github.com/repos/hypertidy/PROJ/issues/7","id":562579170,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MjU3OTE3MA==","user":{"login":"jeroen","id":216319,"node_id":"MDQ6VXNlcjIxNjMxOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/216319?v=4","gravatar_id":"","url":"https://api.github.com/users/jeroen","html_url":"https://github.com/jeroen","followers_url":"https://api.github.com/users/jeroen/followers","following_url":"https://api.github.com/users/jeroen/following{/other_user}","gists_url":"https://api.github.com/users/jeroen/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroen/subscriptions","organizations_url":"https://api.github.com/users/jeroen/orgs","repos_url":"https://api.github.com/users/jeroen/repos","events_url":"https://api.github.com/users/jeroen/events{/privacy}","received_events_url":"https://api.github.com/users/jeroen/received_events","type":"User","site_admin":false},"created_at":"2019-12-06T13:51:41Z","updated_at":"2019-12-06T13:51:41Z","author_association":"CONTRIBUTOR","body":"I think you should NOT use PROJ_LIB variable with proj6 because other packages will use this for proj4 data. See here: https://github.com/r-spatial/sf/issues/1074"}}
{"actor":{"display_login":"jeroen"}}