MiguelRodo / DevContainerFeatures

MIT License
0 stars 0 forks source link

Ensure that installed `R` packages actually prevent vscode-r errors and pak errors #30

Open MiguelRodo opened 7 months ago

MiguelRodo commented 7 months ago

So, after creating the codespace, it seems that config-r does not update the remote settings josn, but does so correctly when you run it manually.

Here's the output during codespace creation:

Host information
----------------
OS: Ubuntu 22.04.4 LTS (stable release)
Image details: https://github.com/github/codespaces-host-images/blob/main/README.md
----------------
Configuration starting...
Cloning...
$ df /var/lib/docker
Filesystem     1K-blocks     Used Available Use% Mounted on
df process exited with exit code 0
/dev/loop3      32847680 21432532   9721048  69% /var/lib/docker
$ git -C "/var/lib/docker/codespacemount/workspace" clone --branch "main" --depth 1 https://github.com/SATVILab/DataTidy24TBVaccSexDiff "/var/lib/docker/codespacemount/workspace/DataTidy24TBVaccSexDiff"
Cloning into '/var/lib/docker/codespacemount/workspace/DataTidy24TBVaccSexDiff'...
git process exited with exit code 0
$ git -C "/var/lib/docker/codespacemount/workspace/DataTidy24TBVaccSexDiff" config --local remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
git process exited with exit code 0
Creating container...
$ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/DataTidy24TBVaccSexDiff --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --config "/var/lib/docker/codespacemount/workspace/DataTidy24TBVaccSexDiff/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
[204 ms] @devcontainers/cli 0.56.1. Node.js v18.20.2. linux 6.5.0-1018-azure x64.
[1391 ms] Resolving Feature dependencies for 'ghcr.io/********/DevContainerFeatures/config-r:1'...
[2166 ms] Start: Run: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.56.1-1714719477220 --build-arg _DEV_CONTAINERS_BASE_IMAGE=ghcr.io/rocker-org/devcontainer/geospatial:4 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -t vsc-datatidy24tbvaccsexdiff-77f648c9a39b2fceb63d3fb42f6bf025d5e5a36269eac8186a771d0553e86c8f-features -f /tmp/devcontainercli-root/container-features/0.56.1-1714719477220/Dockerfile.extended /var/lib/docker/codespacemount/.persistedshare/empty-folder
#0 building with "default" instance using docker driver

#1 [internal] load .dockerignore
#1 transferring context:
#1 transferring context: 2B done
#1 DONE 0.4s

#2 [internal] load build definition from Dockerfile.extended
#2 transferring dockerfile: 3.00kB done
#2 DONE 0.4s

#3 resolve image config for docker.io/docker/dockerfile:1.4
#3 ...

#4 [auth] docker/dockerfile:pull token for registry-1.docker.io
#4 DONE 0.0s

#3 resolve image config for docker.io/docker/dockerfile:1.4
#3 DONE 1.5s

#5 docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc
#5 resolve docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 0.1s done
#5 sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 2.00kB / 2.00kB done
#5 sha256:ad87fb03593d1b71f9a1cfc1406c4aafcb253b1dabebf569768d6e6166836f34 528B / 528B done
#5 sha256:1e8a16826fd1c80a63fa6817a9c7284c94e40cded14a9b0d0d3722356efa47bd 2.37kB / 2.37kB done
#5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 0B / 9.94MB 0.0s
#5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 5.24MB / 9.94MB 0.2s
#5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 9.94MB / 9.94MB 0.4s done
#5 extracting sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 0.1s done
#5 DONE 1.0s

#6 [internal] load metadata for ghcr.io/rocker-org/devcontainer/geospatial:4
#6 ...

#7 [auth] rocker-org/devcontainer/geospatial:pull token for ghcr.io
#7 DONE 0.0s

#8 [context dev_containers_feature_content_source] load .dockerignore
#8 transferring dev_containers_feature_content_source: 2B done
#8 DONE 0.2s

#6 [internal] load metadata for ghcr.io/rocker-org/devcontainer/geospatial:4
#6 DONE 1.4s

#9 [dev_containers_feature_content_normalize 1/3] FROM ghcr.io/rocker-org/devcontainer/geospatial:4@sha256:2350211dd85e574bae2599017033b34e5ec3ca17d5b2d53d4f41bb21b064ab6f
#9 resolve ghcr.io/rocker-org/devcontainer/geospatial:4@sha256:2350211dd85e574bae2599017033b34e5ec3ca17d5b2d53d4f41bb21b064ab6f
#9 ...

#10 [context dev_containers_feature_content_source] load from client
#10 transferring dev_containers_feature_content_source: 30.16kB done
#10 DONE 0.3s

#9 [dev_containers_feature_content_normalize 1/3] FROM ghcr.io/rocker-org/devcontainer/geospatial:4@sha256:2350211dd85e574bae2599017033b34e5ec3ca17d5b2d53d4f41bb21b064ab6f
#9 resolve ghcr.io/rocker-org/devcontainer/geospatial:4@sha256:2350211dd85e574bae2599017033b34e5ec3ca17d5b2d53d4f41bb21b064ab6f 0.2s done
#9 sha256:2350211dd85e574bae2599017033b34e5ec3ca17d5b2d53d4f41bb21b064ab6f 856B / 856B done
#9 sha256:cb95e1b873c9b40a0539b6fd81a985895da341a2424cd76d05c3e48f5a620539 3.73kB / 3.73kB done
#9 sha256:a5fcb76abaf26616f9b8a076b93cd79b3c6e730eb7fe0b1c5b42170b9b437a6a 16.72kB / 16.72kB done
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 0B / 29.53MB 0.1s
#9 sha256:32cfcd3d4ccc5bd2d0b33e3e96669d195578b5f1efab7acd73e3518bad88c3a7 0B / 1.86kB 0.1s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 0B / 278.75MB 0.2s
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 4.19MB / 29.53MB 0.3s
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 14.68MB / 29.53MB 0.5s
#9 sha256:32cfcd3d4ccc5bd2d0b33e3e96669d195578b5f1efab7acd73e3518bad88c3a7 1.86kB / 1.86kB 0.3s done
#9 sha256:1197903f4d57627a8eb33b27fac8ac3c2df496d420cc91dca57ce4b6883f27ba 0B / 23.61kB 0.5s
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 25.17MB / 29.53MB 0.7s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 16.78MB / 278.75MB 0.7s
#9 sha256:1197903f4d57627a8eb33b27fac8ac3c2df496d420cc91dca57ce4b6883f27ba 23.61kB / 23.61kB 0.7s done
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 0B / 27.56MB 0.7s
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 29.53MB / 29.53MB 0.8s
#9 sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 29.53MB / 29.53MB 1.0s done
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 38.80MB / 278.75MB 1.1s
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 12.58MB / 27.56MB 1.1s
#9 extracting sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 0B / 322.25MB 1.1s
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 16.78MB / 27.56MB 1.2s
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 20.97MB / 27.56MB 1.3s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 56.62MB / 278.75MB 1.4s
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 27.56MB / 27.56MB 1.4s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 16.78MB / 322.25MB 1.5s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 73.40MB / 278.75MB 1.7s
#9 sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 27.56MB / 27.56MB 1.6s done
#9 sha256:b1f9718cc59900589b2f716ce85cf4997846c8b95406dd8328153208cca4d11d 0B / 28.02kB 1.7s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 33.55MB / 322.25MB 1.8s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 89.13MB / 278.75MB 2.0s
#9 sha256:b1f9718cc59900589b2f716ce85cf4997846c8b95406dd8328153208cca4d11d 28.02kB / 28.02kB 1.9s done
#9 sha256:273224c978cd81300c22eabab055dc55459b1ae017622c8a8c5a0c02bd488616 0B / 57.71kB 2.0s
#9 extracting sha256:3c645031de2917ade93ec54b118d5d3e45de72ef580b8f419a8cdc41e01d042c 1.1s done
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 50.33MB / 322.25MB 2.1s
#9 extracting sha256:32cfcd3d4ccc5bd2d0b33e3e96669d195578b5f1efab7acd73e3518bad88c3a7
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 113.25MB / 278.75MB 2.4s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 67.11MB / 322.25MB 2.4s
#9 sha256:273224c978cd81300c22eabab055dc55459b1ae017622c8a8c5a0c02bd488616 57.71kB / 57.71kB 2.2s done
#9 extracting sha256:32cfcd3d4ccc5bd2d0b33e3e96669d195578b5f1efab7acd73e3518bad88c3a7 done
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 0B / 176.77MB 2.4s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 138.41MB / 278.75MB 2.9s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 92.27MB / 322.25MB 2.9s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 15.73MB / 176.77MB 2.9s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 155.19MB / 278.75MB 3.2s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 109.05MB / 322.25MB 3.2s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 32.51MB / 176.77MB 3.2s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 171.97MB / 278.75MB 3.5s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 125.83MB / 322.25MB 3.5s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 49.28MB / 176.77MB 3.5s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 60.82MB / 176.77MB 3.7s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 195.04MB / 278.75MB 3.9s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 147.04MB / 322.25MB 3.9s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 72.35MB / 176.77MB 3.9s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 82.84MB / 176.77MB 4.1s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 211.81MB / 278.75MB 4.2s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 164.63MB / 322.25MB 4.2s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 99.61MB / 176.77MB 4.4s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 227.54MB / 278.75MB 4.5s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 188.74MB / 322.25MB 4.6s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 112.20MB / 176.77MB 4.6s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 244.32MB / 278.75MB 4.8s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 122.68MB / 176.77MB 4.8s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 205.52MB / 322.25MB 4.9s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 261.10MB / 278.75MB 5.1s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 138.41MB / 176.77MB 5.1s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 277.87MB / 278.75MB 5.4s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 230.69MB / 322.25MB 5.4s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 155.19MB / 176.77MB 5.4s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 165.68MB / 176.77MB 5.6s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 253.76MB / 322.25MB 5.8s
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 176.77MB / 176.77MB 5.8s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 276.82MB / 322.25MB 6.2s
#9 sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 278.75MB / 278.75MB 6.3s done
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 296.75MB / 322.25MB 6.6s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 313.52MB / 322.25MB 6.9s
#9 extracting sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226
#9 sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 176.77MB / 176.77MB 7.0s done
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 0B / 339.83MB 7.1s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 22.02MB / 339.83MB 7.7s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 45.09MB / 339.83MB 8.1s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 66.06MB / 339.83MB 8.5s
#9 sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 322.25MB / 322.25MB 8.6s done
#9 sha256:4adfb4ed3f595e272478cba2f084ab29cac99db0a2acd682a1b9ebb6cbc233e3 0B / 341B 8.7s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 0B / 466.76MB 8.8s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 87.03MB / 339.83MB 8.9s
#9 sha256:4adfb4ed3f595e272478cba2f084ab29cac99db0a2acd682a1b9ebb6cbc233e3 341B / 341B 9.0s done
#9 sha256:22dde90bd9568f7c9807d6455b3e2cdd20590d8a4423c8d4240e963b665999ad 0B / 392B 9.0s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 109.05MB / 339.83MB 9.3s
#9 sha256:22dde90bd9568f7c9807d6455b3e2cdd20590d8a4423c8d4240e963b665999ad 392B / 392B 9.3s done
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 24.12MB / 466.76MB 9.4s
#9 sha256:8a9c245c738f5887d87671cd45b8ae0cf2e0dcc03f2d12101ee4eb28759f3b86 0B / 135B 9.4s
#9 sha256:8a9c245c738f5887d87671cd45b8ae0cf2e0dcc03f2d12101ee4eb28759f3b86 135B / 135B 9.6s done
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 131.07MB / 339.83MB 9.7s
#9 sha256:6cf233f2fc516d51d92adc9f88f50229b257ef97387fea53dfa8bc68b7f8c5a8 0B / 224B 9.7s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 50.33MB / 466.76MB 9.9s
#9 sha256:6cf233f2fc516d51d92adc9f88f50229b257ef97387fea53dfa8bc68b7f8c5a8 224B / 224B 9.9s done
#9 sha256:d4e2f6491a82909072ada55b414883cef3c3e1034e29d40baa8daba25e8650c6 0B / 239B 10.0s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 155.19MB / 339.83MB 10.1s
#9 sha256:d4e2f6491a82909072ada55b414883cef3c3e1034e29d40baa8daba25e8650c6 239B / 239B 10.2s done
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 0B / 30.46MB 10.2s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 79.69MB / 466.76MB 10.4s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 176.16MB / 339.83MB 10.5s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 5.24MB / 30.46MB 10.6s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 14.93MB / 30.46MB 10.8s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 198.18MB / 339.83MB 10.9s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 105.91MB / 466.76MB 10.9s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 22.02MB / 30.46MB 10.9s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 27.26MB / 30.46MB 11.0s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 30.46MB / 30.46MB 11.1s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 220.20MB / 339.83MB 11.3s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 130.02MB / 466.76MB 11.3s
#9 sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 30.46MB / 30.46MB 11.3s done
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 0B / 78.14MB 11.4s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 243.27MB / 339.83MB 11.7s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 155.75MB / 466.76MB 11.8s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 8.39MB / 78.14MB 11.8s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 12.58MB / 78.14MB 11.9s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 16.78MB / 78.14MB 12.0s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 270.53MB / 339.83MB 12.2s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 180.36MB / 466.76MB 12.2s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 29.36MB / 78.14MB 12.2s
#9 extracting sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 5.3s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 33.55MB / 78.14MB 12.3s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 288.36MB / 339.83MB 12.5s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 46.14MB / 78.14MB 12.5s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 51.38MB / 78.14MB 12.6s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 206.57MB / 466.76MB 12.7s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 58.72MB / 78.14MB 12.7s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 63.96MB / 78.14MB 12.8s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 310.38MB / 339.83MB 12.9s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 68.16MB / 78.14MB 12.9s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 78.14MB / 78.14MB 13.1s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 328.19MB / 339.83MB 13.2s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 235.93MB / 466.76MB 13.2s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 262.21MB / 466.76MB 13.7s
#9 sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 78.14MB / 78.14MB 13.7s done
#9 extracting sha256:2f698b7218141da6b789217fd5cfe9f303b9f25fe075e0e06db2d943a15b8226 6.7s done
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 286.26MB / 466.76MB 14.1s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 313.52MB / 466.76MB 14.6s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 340.79MB / 466.76MB 15.1s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 375.39MB / 466.76MB 15.7s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 403.70MB / 466.76MB 16.2s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 429.92MB / 466.76MB 16.7s
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 459.28MB / 466.76MB 17.2s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 339.83MB / 339.83MB 18.3s
#9 sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 339.83MB / 339.83MB 20.4s done
#9 sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 466.76MB / 466.76MB 20.6s done
#9 extracting sha256:1197903f4d57627a8eb33b27fac8ac3c2df496d420cc91dca57ce4b6883f27ba done
#9 extracting sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571
#9 extracting sha256:f6435b5147c0f2a85585b0bfe0a555c4b660a006577785383684ff6af4615571 0.5s done
#9 extracting sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913
#9 extracting sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 5.1s
#9 extracting sha256:2ccbbcc59a2e5a76e3d4fe97f31415adc8547afcda3233e34bf3a4d0fcc83913 9.1s done
#9 extracting sha256:b1f9718cc59900589b2f716ce85cf4997846c8b95406dd8328153208cca4d11d
#9 extracting sha256:b1f9718cc59900589b2f716ce85cf4997846c8b95406dd8328153208cca4d11d done
#9 extracting sha256:273224c978cd81300c22eabab055dc55459b1ae017622c8a8c5a0c02bd488616
#9 extracting sha256:273224c978cd81300c22eabab055dc55459b1ae017622c8a8c5a0c02bd488616 done
#9 extracting sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb
#9 extracting sha256:5d6f0791f57a743ebf174e98b84a3717d94d10eb0f76b1e612fcf3203555cdcb 4.2s done
#9 extracting sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1
#9 extracting sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 5.1s
#9 extracting sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 10.3s
#9 extracting sha256:f80a00b85da51a9dde25c875911f10cd082705793ff2458a083e37c930f0c5c1 11.7s done
#9 extracting sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890
#9 extracting sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 5.0s
#9 extracting sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 10.2s
#9 extracting sha256:3240d8ce1937268e66c391bdce88ed23d65532f2ed636e9ba57cc6c449bd4890 14.5s done
#9 extracting sha256:4adfb4ed3f595e272478cba2f084ab29cac99db0a2acd682a1b9ebb6cbc233e3
#9 extracting sha256:4adfb4ed3f595e272478cba2f084ab29cac99db0a2acd682a1b9ebb6cbc233e3 done
#9 extracting sha256:22dde90bd9568f7c9807d6455b3e2cdd20590d8a4423c8d4240e963b665999ad
#9 extracting sha256:22dde90bd9568f7c9807d6455b3e2cdd20590d8a4423c8d4240e963b665999ad done
#9 extracting sha256:8a9c245c738f5887d87671cd45b8ae0cf2e0dcc03f2d12101ee4eb28759f3b86
#9 extracting sha256:8a9c245c738f5887d87671cd45b8ae0cf2e0dcc03f2d12101ee4eb28759f3b86 done
#9 extracting sha256:6cf233f2fc516d51d92adc9f88f50229b257ef97387fea53dfa8bc68b7f8c5a8
#9 extracting sha256:6cf233f2fc516d51d92adc9f88f50229b257ef97387fea53dfa8bc68b7f8c5a8 done
#9 extracting sha256:d4e2f6491a82909072ada55b414883cef3c3e1034e29d40baa8daba25e8650c6
#9 extracting sha256:d4e2f6491a82909072ada55b414883cef3c3e1034e29d40baa8daba25e8650c6 done
#9 extracting sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29
#9 extracting sha256:5526dcb055382f9a66b2b2f77ba72a1a25fed7e964ac90ef2bf328cff9960a29 1.5s done
#9 extracting sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84
#9 extracting sha256:a1cbfa95083b13fc161b47045827932b1630bedd5fc29e277d0fd2c2bf2d6d84 2.5s done
#9 DONE 90.4s

#11 [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-features
#11 ...

#12 [dev_containers_feature_content_normalize 2/3] COPY --from=dev_containers_feature_content_source devcontainer-features.builtin.env /tmp/build-features/
#12 DONE 0.3s

#13 [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp/build-features/
#13 ...

#11 [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-features
#11 DONE 1.0s

#13 [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp/build-features/
#13 DONE 0.8s

#14 [dev_containers_target_stage 3/5] COPY --from=dev_containers_feature_content_normalize /tmp/build-features/ /tmp/dev-container-features
#14 DONE 0.3s

#15 [dev_containers_target_stage 4/5] RUN echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'rstudio' || grep -E '^rstudio|^[^:]*:[^:]*:rstudio:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env
#15 DONE 0.6s

#16 [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=config-r_0,target=/tmp/build-features-src/config-r_0     cp -ar /tmp/build-features-src/config-r_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/config-r_0  && cd /tmp/dev-container-features/config-r_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/config-r_0
#16 0.532 ===========================================================================
#16 0.532 Feature       : Configure R
#16 0.532 Description   : Configure R
#16 0.532 Id            : ghcr.io/********/DevContainerFeatures/config-r
#16 0.532 Version       : 1.3.12
#16 0.532 Documentation : 
#16 0.532 Options       :
#16 0.532     SET_LIB_PATHS="********"
#16 0.532     CONFIG_RADIAN="********"
#16 0.532 ===========================================================================
#16 0.637 config-r-env-lib exists
#16 0.639 /var/tmp/r-packages /tmp/dev-container-features/config-r_0
#16 0.639 Updating R packages
#16 2.203                     R_LIBS 
#16 2.203 "/workspaces/.local/lib/R" 
#16 2.203                RENV_PATHS_CACHE 
#16 2.203 "/workspaces/.local/R/lib/renv" 
#16 2.203            RENV_PATHS_LIBRARY_ROOT 
#16 2.203 "/workspaces/.local/.cache/R/renv" 
#16 2.203                 RENV_PATHS_LIBRARY 
#16 2.203 "/workspaces/.local/.cache/R/renv" 
#16 2.203 RENV_PREFIX_AUTO 
#16 2.203           "TRUE" 
#16 2.203 RENV_CONFIG_PAK_ENABLED 
#16 2.203                  "TRUE" 
#16 2.204 USER 
#16 2.204   "" 
#16 2.204                    wd 
#16 2.204 "/var/tmp/r-packages" 
#16 2.204                      .libPaths1                      .libPaths2 
#16 2.204      "/workspaces/.local/lib/R" "/usr/local/lib/R/site-library" 
#16 2.204                      .libPaths3 
#16 2.204      "/usr/local/lib/R/library" 
#16 2.402 Installing packages into ‘/workspaces/.local/lib/R’
#16 2.402 (as ‘lib’ is unspecified)
#16 4.173 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/jsonlite_1.8.8.tar.gz'
#16 4.903 Content type 'binary/octet-stream' length 1088955 bytes (1.0 MB)
#16 4.904 ==================================================
#16 4.915 downloaded 1.0 MB
#16 4.915 
#16 4.918 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/languageserver_0.3.16.tar.gz'
#16 6.575 Content type 'binary/octet-stream' length 802318 bytes (783 KB)
#16 6.575 ==================================================
#16 6.883 downloaded 783 KB
#16 6.883 
#16 6.887 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/pak_0.7.2.tar.gz'
#16 8.373 Content type 'binary/octet-stream' length 5813690 bytes (5.5 MB)
#16 8.526 ==================================================
#16 8.982 downloaded 5.5 MB
#16 8.982 
#16 8.985 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/renv_1.0.7.tar.gz'
#16 9.733 Content type 'binary/octet-stream' length 2119732 bytes (2.0 MB)
#16 9.736 ==================================================
#16 9.753 downloaded 2.0 MB
#16 9.753 
#16 9.756 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/BiocManager_1.30.22.tar.gz'
#16 10.76 Content type 'binary/octet-stream' length 500821 bytes (489 KB)
#16 10.76 ==================================================
#16 10.77 downloaded 489 KB
#16 10.77 
#16 10.77 trying URL 'https://p3m.dev/cran/__linux__/jammy/latest/src/contrib/yaml_2.3.8.tar.gz'
#16 11.50 Content type 'binary/octet-stream' length 115109 bytes (112 KB)
#16 11.50 ==================================================
#16 11.51 downloaded 112 KB
#16 11.51 
#16 11.80 * installing *binary* package ‘jsonlite’ ...
#16 11.81 * DONE (jsonlite)
#16 12.46 * installing *binary* package ‘pak’ ...
#16 12.51 * DONE (pak)
#16 12.85 * installing *binary* package ‘renv’ ...
#16 12.87 * DONE (renv)
#16 13.12 * installing *binary* package ‘BiocManager’ ...
#16 13.13 * DONE (BiocManager)
#16 13.37 * installing *binary* package ‘yaml’ ...
#16 13.37 * DONE (yaml)
#16 13.62 * installing *binary* package ‘languageserver’ ...
#16 13.63 * DONE (languageserver)
#16 13.64 
#16 13.64 The downloaded source packages are in
#16 13.64       ‘/tmp/RtmpBxxBNL/downloaded_packages’
#16 13.65 /tmp/dev-container-features/config-r_0
#16 13.65 Completed updating R packages
#16 13.65 Installing pak and BiocManager into renv cache
#16 13.65 Installing pak and BiocManager into renv cache
#16 13.65 /var/tmp/renv /tmp/dev-container-features/config-r_0
#16 13.84                      .libPaths1                      .libPaths2 
#16 13.84      "/workspaces/.local/lib/R" "/usr/local/lib/R/site-library" 
#16 13.84                      .libPaths3 
#16 13.84      "/usr/local/lib/R/library" 
#16 16.85 - Using Bioconductor version '3.19'.
#16 16.90 The following package(s) will be updated in the lockfile:
#16 16.90 
#16 16.90 # RSPM -----------------------------------------------------------------------
#16 16.90 - renv   [* -> 1.0.7]
#16 16.90 
#16 16.90 The version of R recorded in the lockfile will be updated:
#16 16.90 - R      [* -> 4.4.0]
#16 16.90 
#16 16.90 - Lockfile written to "/var/tmp/renv/renv.lock".
#16 20.59 # Downloading packages -------------------------------------------------------
#16 20.60 - Downloading pak from CRAN ...                 OK [5.5 Mb in 0.76s]
#16 21.48 Successfully downloaded 1 package in 3 seconds.
#16 21.48 
#16 21.48 The following package(s) will be installed:
#16 21.48 - pak [0.7.2]
#16 21.48 These packages will be installed into "/workspaces/.local/.cache/R/renv/linux-ubuntu-jammy/R-4.4/x86_64-pc-linux-gnu".
#16 21.48 
#16 21.48 # Installing packages --------------------------------------------------------
#16 21.54 - Installing pak ...                            OK [installed binary and cached in 0.73s]
#16 22.28 Successfully installed 1 package in 0.81 seconds.
#16 22.40 The following package(s) will be installed:
#16 22.40 - BiocManager [1.30.22]
#16 22.40 These packages will be installed into "/workspaces/.local/.cache/R/renv/linux-ubuntu-jammy/R-4.4/x86_64-pc-linux-gnu".
#16 22.40 
#16 22.40 # Installing packages --------------------------------------------------------
#16 22.41 - Installing BiocManager ...                    OK [linked from cache]
#16 22.41 Successfully installed 1 package in 8.3 milliseconds.
#16 25.72 
#16 26.88 ✔ Updated metadata database: 3.70 MB in 9 files.
#16 26.88 
#16 26.88 ℹ Updating metadata database
#16 30.34 ✔ Updating metadata database ... done
#16 30.35 
#16 30.55  
#16 30.55 → Will install 1 package.
#16 30.57 → Will download 1 package with unknown size.
#16 30.57 + tinytest   1.4.1 [dl]
#16 30.57   
#16 30.77 ℹ Getting 1 pkg with unknown size
#16 33.20 ✔ Got tinytest 1.4.1 (x86_64-pc-linux-gnu-ubuntu-22.04) (695.69 kB)
#16 33.33 ✔ Installed tinytest 1.4.1  (35ms)
#16 33.36 ✔ 1 pkg: added 1, dld 1 (695.69 kB) [9.1s]
#16 36.47 ℹ Loading metadata database
#16 37.53 ✔ Loading metadata database ... done
#16 37.53 
#16 37.73  
#16 37.74   
#16 37.97 ℹ No downloads are needed
#16 38.02 ✔ 1 pkg: kept 1 [2.8s]
#16 38.07 /tmp/dev-container-features/config-r_0
#16 38.07 Completed installing pak and BiocManager into renv cache
#16 DONE 38.5s

#17 exporting to image
#17 exporting layers
MiguelRodo commented 7 months ago

Here's the message when booting up R for the first time, and initialising the renv lockfile with pak enabled:

# Bootstrapping renv 1.0.5 ---------------------------------------------------
- Downloading renv ... OK
- Installing renv  ... OK

ℹ Using R 4.4.0 (lockfile was generated with R 4.3.3)
# Downloading packages -------------------------------------------------------
- Downloading pak from r-lib ...                OK [file is up to date]
Successfully downloaded 1 package in 1 second.

The following package(s) will be installed:
- pak [0.7.2]
These packages will be installed into "/workspaces/.local/.cache/R/renv/R-4.4/x86_64-pc-linux-gnu".

Do you want to proceed? [Y/n]: Y

# Installing packages --------------------------------------------------------
- Installing pak ...                            OK [installed binary and cached in 1.6s]
Successfully installed 1 package in 1.8 seconds.
Error in remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...),  : 
  Subprocess is busy or cannot start
Traceback (most recent calls last):
21: source("renv/activate.R")
20: withVisible(eval(ei, envir))
19: eval(ei, envir)
18: eval(ei, envir)
17: local(...) at activate.R#2
16: eval.parent(substitute(eval(quote(expr), envir)))
15: eval(expr, p)
14: eval(expr, p)
13: eval(quote(...), new.env())
12: eval(quote(...), new.env())
11: renv_bootstrap_exec(project, libpath, version) at activate.R#1197
10: if (!renv_bootstrap_load(project, libpath, version))
      renv_bootstrap_run(version, libpath) at activate.R#1030
 9: return(renv::load(project = getwd())) at activate.R#1045
 8: renv_load_bioconductor(project, lockfile$Bioconductor)
 7: renv_bioconductor_init()
 6: renv_bioconductor_init_biocmanager(library)
 5: install("BiocManager", library = library, prompt = FALSE)
 4: renv_pak_install(packages, libpaths, project)
 3: pak$pkg_install(pkg = packages, lib = lib, upgrade = TRUE)
 2: remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), 
        list(pkg = pkg, lib = lib, upgrade = upgrade, ask = ask, 
            start = start, dependencies = dependencies, loaded = loaded_packages(lib)))
 1: stop("Subprocess is busy or cannot start")
R version 4.4.0 (2024-04-24) -- "Puppy Cup"
Platform: x86_64-pc-linux-gnu (64-bit)
MiguelRodo commented 7 months ago

Looking at the renv source code, in the bioconductor.R file, we have:

renv_bioconductor_init_biocmanager <- function(library = NULL) {

  library <- library %||% renv_libpaths_active()
  if (renv_package_installed("BiocManager", lib.loc = library))
    return(TRUE)

  ensure_directory(library)
  install("BiocManager", library = library, prompt = FALSE)
  TRUE

Within the install function, we the have

  # if users have requested the use of pak, delegate there
  if (config$pak.enabled() && !recursing()) {
    renv_pak_init()
    return(renv_pak_install(packages, libpaths, project))
  }

So, even though pak installs fine (renv_pak_init), once we've got it, it bugs out first time it needs to install something.

MiguelRodo commented 7 months ago

I don't understand why we don't get this error after installing BiocManager, though, because it happens repeatedly here (I think)

MiguelRodo commented 1 week ago

Can't we just direct them to wherever r-rig installs these packages to?